View Single Post
Old 07-16-12, 06:54 PM   #9
Shabaella
A Kobold Labourer
Join Date: Jul 2012
Posts: 1
Anyone figured out a way to work arround this yet?

I'm working on a Shaman add-on and the Earthbind Totem and Earthgrab Totem have the same problem.

It get's worse since I have to create a button with it, the IsSpellInRange only works with Earthbind Totem id, even if I have Earthgrab, but the GetSpellCooldown only works with the Earthgrab Totem id, and since I use LibActionButton, I couldn't make this work yet.

Also the flyout info for this totem is kind of broken, here is a what I'm getting for it's return. Look that it now has a new object returning as the second variable(it's only spellId and isKnown on live).

Code:
-- With Earthgrab Totem
spellId, somethingNew, isKnown = GetFlyoutSlotInfo(79, 1)
-- spellId is 2484 - Earthbind Totem id
-- somethingNew is 51485 - Earthgrab Totem id
-- isKnown is true

spellId, somethingNew, isKnown = GetFlyoutSlotInfo(79, 2)
-- spellId is 51485 - Earthgrab Totem id
-- somethingNew is 51485 - Earthgrab Totem id
-- isKnown is false

-- Without Earthgrab Totem
spellId, somethingNew, isKnown = GetFlyoutSlotInfo(79, 1)
-- spellId is 2484 - Earthbind Totem id
-- somethingNew is 2484 - Earthbind Totem id
-- isKnown is true

spellId, somethingNew, isKnown = GetFlyoutSlotInfo(79, 2)
-- spellId is 51485 - Earthgrab Totem id
-- somethingNew is 51485 - Earthgrab Totem id
-- isKnown is false
Shabaella is offline