WoW API: GetSpellBonusDamage

From AddOn Studio
Jump to navigation Jump to search

WoW API < GetSpellBonusDamage

Returns the raw spell damage bonus of the player for a given spell tree.

spellDmg = GetSpellBonusDamage(spellTreeID);

Parameters[edit]

Arguments[edit]

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

Returns[edit]

spellDmg
Integer - The raw spell damage bonus of the player for that spell tree