Hi, I would use different spell depending on the stance.
I try to check the stance with "GetShapeshiftForms();" but this API always return 3 independently of my stance.
How can i get the number of the current stance ?
/script local a=GetShapeshiftForm(true);if a==1 then CastSpellByName('Thunder Clap');elseif a==3 then CastSpellByName('Whirlwind');end
whissper wrote:Try to use that function with parameter -- GetShapeshiftForm(true)
simple example (that should work):
- Code: Select all
/script local a=GetShapeshiftForm(true);if a==1 then CastSpellByName('Thunder Clap');elseif a==3 then CastSpellByName('Whirlwind');end
whissper wrote:Try to use that function with parameter -- GetShapeshiftForm(true)
simple example (that should work):
- Code: Select all
/script local a=GetShapeshiftForm(true);if a==1 then CastSpellByName('Thunder Clap');elseif a==3 then CastSpellByName('Whirlwind');end