Back-to:World
The `spell_bonus_data` table |
Table used for storing custom damage/healing bonus coefficients.
Structure |
Field |
Type |
Attributes |
Key |
Null |
Default |
Extra |
Comment |
mediumint(8) |
unsigned |
PRI |
NO |
0 |
|
|
|
float |
signed |
|
NO |
0 |
|
|
|
float |
signed |
|
NO |
0 |
|
|
|
float |
signed |
|
NO |
0 |
|
|
|
float |
signed |
|
NO |
0 |
|
|
|
varchar(255) |
signed |
|
YES |
NULL |
|
|
Description of the fields |
Spell ID. See Spell.dbc.
Only the first rank of the spell needs data if spell exists in Spell_rank and coefficients are same for each rank.
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.
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.
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.
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.
Comment as why it has such values and name of the spell.