WoW API: GetSpellBonusDamage

From AddOn Studio
Revision as of 04:46, 15 August 2023 by Move page script (talk | contribs) (Move page script moved page API GetSpellBonusDamage to API GetSpellBonusDamage without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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

Arguments

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

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