====== creature_onkill_reputation 表 ====== ---- [[数据库:world数据库:首页|<-返回:World 数据库]] This table controls the reputation given by creatures when killed by other players. **表结构** ^Field^Type^Attributes^Key^Null^Default^Extra^Comment^ |[[#creature_id|creature_id]]|MEDIUMINT|UNSIGNED|PRI|NO|0| |Creature Identifier| |[[#RewOnKillRepFaction1|RewOnKillRepFaction1]]|SMALLINT|SIGNED| |NO|0| | | |[[#RewOnKillRepFaction2|RewOnKillRepFaction2]]|SMALLINT|SIGNED| |NO|0| | | |[[#MaxStanding1|MaxStanding1]]|TINYINT|SIGNED| |NO|0| | | |[[#IsTeamAward1|IsTeamAward1]]|TINYINT|SIGNED| |NO|0| | | |[[#RewOnKillRepValue1|RewOnKillRepValue1]]|MEDIUMINT|SIGNED| |NO|0| | | |[[#MaxStanding2|MaxStanding2]]|TINYINT|SIGNED| |NO|0| | | |[[#IsTeamAward2|IsTeamAward2]]|TINYINT|SIGNED| |NO|0| | | |[[#RewOnKillRepValue2|RewOnKillRepValue2]]|MEDIUMINT|SIGNED| |NO|0| | | |[[#TeamDependent|TeamDependent]]|TINYINT|UNSIGNED| |NO|0| | | ===== 字段说明 ===== ---- ==== creature_id ==== The template ID of the creature. See creature_template.entry ==== RewOnKillRepFaction ==== The faction ID of the faction that the player will gain or lose points in. See Faction.dbc ==== MaxStanding ==== The maximum standing that the creature will award reputation until. If the player achieves this standing or any other standing higher than this, the creature will not award any reputation. ^ID^Rank^ |0|仇恨| |1|敌对| |2|冷淡| |3|中立| |4|友好| |5|尊敬| |6|崇敬| |7|崇拜| ==== IsTeamAward ==== Boolean 0 or 1 that controls if the player receives the reputation not only to the faction but also the faction team. 0: Player receives reputation only for the faction 1: Player receives reputation both for the faction and the faction's team NOTE: The reputation value that the player gains for the team (if the field is 1) is half of the value specified in RewOnKillRepValue ==== RewOnKillRepValue ==== The reputation value that the player gains (or loses if it's negative) by killing the creature. ==== TeamDependent ==== Boolean 0 or 1. * 0: The creature will give reputation to the any player from both fields (RewOnKillRepFaction1 and RewOnKillRepFaction2) if both fields are non-zero. * 1: The creature will award alliance players the reputation from RewOnKillRepFaction1 and will award horde players the reputation from RewOnKillRepFaction2