AzerothCore
Pages :

pvpstats_players

<-返回至:Characters

`pvpstats_players` 表

此表保存关于战场(BattleGround)得分的数据。要启用此类信息的存储,请在 worldserver.config.dist 文件中设置 Battleground.StoreStatistics.Enable = 1

表结构

Field Type Attributes Key Null Default Extra Comment
battleground_id BIGINT UNSIGNED PRI NO
character_guid INT UNSIGNED PRI NO
winner BIT SIGNED NO
score_killing_blows MEDIUMINT UNSIGNED NO
score_deaths MEDIUMINT UNSIGNED NO
score_honorable_kills MEDIUMINT UNSIGNED NO
score_bonus_honor MEDIUMINT UNSIGNED NO
score_damage_done MEDIUMINT UNSIGNED NO
score_healing_done MEDIUMINT UNSIGNED NO
attr_1 MEDIUMINT UNSIGNED NO 0
attr_2 MEDIUMINT UNSIGNED NO 0
attr_3 MEDIUMINT UNSIGNED NO 0
attr_4 MEDIUMINT UNSIGNED NO 0
attr_5 MEDIUMINT UNSIGNED NO 0

字段说明

battleground_id

指向 pvpstats_battlegrounds.id

character_guid

指向 characters.guid

winner

玩家赢得该战场(BG)时为 1,否则为 0。

score_*

所有战场(BattleGround)之间通用的得分。

attr_*

所有战场(BattleGround)之间不通用的得分。这些字段的含义会根据 pvpstats_battlegrounds.type 而改变。