Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API GetDamageBonusStat

Last wiki revision 2020-01-08

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;

  • none
  • index value of stat.
  • 1 for Strength
  • 2 for Agility

/script SendChatMessage(GetDamageBonusStat);

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

Source

https://warcraft.wiki.gg/wiki/API_GetDamageBonusStat · retrieved 2023-11-13 · CC BY-SA 4.0

Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.

This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.