Wikia

WoWWiki

API GetDamageBonusStat

Talk0
98,461pages on
this wiki

Contents

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.
Advertisement | Your ad here

Photos

Add a Photo
61,977photos on this wiki
See all photos >

Recent Wiki Activity

See more >

Around Wikia's network

Random Wiki