Wikia

WoWWiki

Changes: API GetSpellBonusDamage

Edit

Back to page

(Replaced unknown spellTreeID 1)
 
Line 6: Line 6:
 
===Arguments===
 
===Arguments===
 
:; spellTreeID : Integer - the spell tree:
 
:; spellTreeID : Integer - the spell tree:
::* 1 for Unknown (Returns 0)
+
::* 1 for Physical
 
::* 2 for Holy
 
::* 2 for Holy
 
::* 3 for Fire
 
::* 3 for Fire
Line 13: Line 13:
 
::* 6 for Shadow
 
::* 6 for Shadow
 
::* 7 for Arcane
 
::* 7 for Arcane
  +
 
===Returns===
 
===Returns===
 
:; spellDmg : Integer - The raw spell damage bonus of the player for that spell tree
 
:; spellDmg : Integer - The raw spell damage bonus of the player for that spell tree

Latest revision as of 04:36, August 14, 2007

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

Around Wikia's network

Random Wiki