Warrior stance macro question
Hello everyone. I'm looking for a macro that changes single spells depending on what stance i am.
For example i have hamstring on the key "6" on my bottomleft actionbar. I want the spell to be hamstring on battle stance, but i want it to change to disarm when i switch to defensive stance. using the same key. here's a video showing how i want it to be on tbc classic client. same macro doesn't work in 1.12 client so if anyone have a solution it'd be much appreciated. Thanks!
https://www.youtube.com/watch?v=lZ4YVA0JlTQ
https://forum.elysium-project.org/topic/...or-macros/
Take one of the codes there and just change the ability like this:
/run local texture,name,isActive,isCastable = GetShapeshiftFormInfo(2); if isActive then CastSpellByName("Disarm()"); else CastSpellByName("Defensive Stance()"); end;
-> becomes ->
/run local texture,name,isActive,isCastable = GetShapeshiftFormInfo(2); if isActive then CastSpellByName("Disarm()"); else CastSpellByName("Hamstring()"); end;

Enjoy.
Hello, thanks for the reply. This works, but i have 2 problems. 1: if i make getshapshiftforminfo -> 2, zerk stance and battle stance have the same spell, when i want to put a different spell for each stance it doesn't work.
2: The icon doesn't change. It shows as disarm on actionbar, but acts like hamstring when i press it, so i can't see the cooldown. Let me know if you have a solution for this. Thanks!
The ability that shows is always the first spell/ability in the code, you can't alter between different abilities showing without altering the code. I am unsure if this explains enough though ^^
As for the first question, it can be done but I don't feel like doing the work for free, if you pay me 5k gold in game I may, and we would have to talk on discord. (Should take about 20min)
Discord: Durzi#2027
oof this is quite the project
Shaman Tank Livestream: twitch.tv/caperfin
[Image: 46131.jpg?1636578693]




Users browsing this thread: 1 Guest(s)