====== spell_bonus_data 表 ====== ---- [[数据库:world数据库:首页|<-返回:World 数据库]] Table used for storing custom damage/healing bonus coefficients. **表结构** ^Field^Type^Attributes^Key^Null^Default^Extra^Comment^ |[[#entry|entry]]|MEDIUMINT|UNSIGNED|PRI|NO|0| | | |[[#direct_bonus|direct_bonus]]|FLOAT|SIGNED| |NO|0| | | |[[#dot_bonus|dot_bonus]]|FLOAT|SIGNED| |NO|0| | | |[[#ap_bonus|ap_bonus]]|FLOAT|SIGNED| |NO|0| | | |[[#ap_dot_bonus|ap_dot_bonus]]|FLOAT|SIGNED| |NO|0| | | |[[#comments|comments]]|VARCHAR(255)|SIGNED| |YES|NULL| | | ===== 字段说明 ===== ---- ==== entry ==== Spell ID. See Spell.dbc. Only the first rank of the spell needs data if spell exists in Spell_ranks and coefficients are same for each rank. ==== direct_bonus ==== Direct spell power damage. * If < 0 Calculate default spell power coefficient. * If = 0 Don't apply any spell power coefficient. (Don't scale damage with spellpower) * If > 0 Use this as new spell power coefficient. ==== dot_bonus ==== Spell damage over time. * If < 0 Calculate default spell power coefficient. * If = 0 Don't apply any spell power coefficient. (Don't scale damage with spellpower) * If > 0 Use this as new spell power coefficient. ==== ap_bonus ==== Direct Melee/Ranged damage. * If < 0 Calculate default attack power coefficient. * If = 0 Don't apply any attack power coefficient. (Don't scale damage with attack power) * If > 0 Use this as new attack power coefficient. ==== ap_dot_bonus ==== Melee/Ranged damage over time. * If < 0 Calculate default attack power coefficient. * If = 0 Don't apply any attack power coefficient. (Don't scale damage with attack power) * If > 0 Use this as new attack power coefficient. ==== comments ==== Comment as why it has such values and name of the spell.