WoW API: GetSpellBonusDamage
← WoW API < GetSpellBonusDamage
Returns the raw spell damage bonus of the player for a given spell tree.
spellDmg = GetSpellBonusDamage(spellTreeID);
ParametersEdit
ArgumentsEdit
- spellTreeID
- Integer - the spell tree:
- 1 for Physical
- 2 for Holy
- 3 for Fire
- 4 for Nature
- 5 for Frost
- 6 for Shadow
- 7 for Arcane
ReturnsEdit
- spellDmg
- Integer - The raw spell damage bonus of the player for that spell tree