API GetDamageBonusStat

104,642pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

WoW API < GetDamageBonusStat

Synopsis Edit

Returns the index value for the primary damage bonus statistic for the character executing the command.

1 = Strength (currently, everyone except Rogues and Hunters)
2 = Agility (currently, Rogues and Hunters only)
bonusStat = GetDamageBonusStat();

Arguments Edit


Returns Edit

index value of stat.
1 for Strength
2 for Agility

Example Edit

/script SendChatMessage(GetDamageBonusStat());

Result Edit

The player will say 1 or 2.

Details Edit

None really. It's a simple straight forward function call that returns back a 1 or 2 depending on primary damage stat.

Also on Fandom

Random Wiki