Skip to content

creature_onkill_reputation

This table controls the reputation given by creatures when killed by players.

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 that the player will gain or lose points in.  

MaxStanding1 ​

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

 

IsTeamAward1 ​

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

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

 

RewOnKillRepValue1 ​

RewOnKillRepValue2 ​

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

TeamDependent ​

Boolean 0 or 1.