Jump to content
Toggle menu
  • 17.3K articles
  • 8.2K files
  • 5 users
  • 280.7K edits
WoW Classic Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

API GetDamageBonusStat

From WoW Classic Wiki
GetDamageBonusStat - Documentation by Eleazaros

Synopsis

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

none

Returns

index value of stat.
1 for Strength
2 for Agility

Example

/script SendChatMessage(GetDamageBonusStat());

Result

The player will say 1 or 2.

Details

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

Template:WoW API