Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Warrior stance macro question
#1
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
Reply
#2
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.
Reply
#3
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!
Reply
#4
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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)