Skip to content

creature_onkill_reputation

Structure ​

FieldTypeAttributesKeyNullDefaultExtraComment
creature_idintunsignedPRINO0Creature Identifier
RewOnKillRepFaction1smallintsignedNO0
RewOnKillRepFaction2smallintsignedNO0
MaxStanding1tinyintsignedNO0
IsTeamAward1tinyintsignedNO0
RewOnKillRepValue1intsignedNO0
MaxStanding2tinyintsignedNO0
IsTeamAward2tinyintsignedNO0
RewOnKillRepValue2intsignedNO0
TeamDependenttinyintunsignedNO0
 

Description of fields ​

creature_id ​

The template ID of the creature. See creature_template.entry  

RewOnKillRepFaction1 ​

RewOnKillRepFaction2 ​

The faction ID of the faction that the player will gain or lose points in. See Faction.db2  

MaxStanding1 ​

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.

IDRank
0Hated
1Hostile
2Unfriendly
3Neutral
4Friendly
5Honored
6Revered
7Exalted
 

IsTeamAward1 ​

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

The reputation value that the player gains for the team (if the field is 1) is half of the value specified in RewOnKillRepValue

RewOnKillRepValue1 ​

The reputation value that the player gains (or loses if it's negative) by killing the creature.  

MaxStanding2 ​

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.

IDRank
0Hated
1Hostile
2Unfriendly
3Neutral
4Friendly
5Honored
6Revered
7Exalted
 

IsTeamAward2 ​

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

The reputation value that the player gains for the team (if the field is 1) is half of the value specified in RewOnKillRepValue

RewOnKillRepValue2 ​

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