用户工具

站点工具


数据库:world数据库:creature_onkill_reputation

creature_onkill_reputation 表


<-返回:World 数据库

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

表结构

FieldTypeAttributesKeyNullDefaultExtraComment
creature_idMEDIUMINTUNSIGNEDPRINO0 Creature Identifier
RewOnKillRepFaction1SMALLINTSIGNED NO0
RewOnKillRepFaction2SMALLINTSIGNED NO0
MaxStanding1TINYINTSIGNED NO0
IsTeamAward1TINYINTSIGNED NO0
RewOnKillRepValue1MEDIUMINTSIGNED NO0
MaxStanding2TINYINTSIGNED NO0
IsTeamAward2TINYINTSIGNED NO0
RewOnKillRepValue2MEDIUMINTSIGNED NO0
TeamDependentTINYINTUNSIGNED NO0

字段说明


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.

IDRank
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
数据库/world数据库/creature_onkill_reputation.txt · 最后更改: 2023/09/24 16:20 由 admin

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki