Jump to content
Toggle menu
  • 17.3K articles
  • 8.2K files
  • 5 users
  • 280.7K edits
WoW Classic Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Talk:API CancelPlayerBuff

Discussion page of API CancelPlayerBuff

So Does anyoneknow how I can find a specific buff to remove from myself. I'm trying to write a macro that will remove Catform from myself so I can /script SpellStopCasting(); /script CastSpellByName("Nature's Swiftness"); /script SpellStopCasting(); /script TargetUnit("player"); /script CastSpellByName("Healing Touch(Rank 10)"); /script TargetUnit("playertarget");

now using /script CastSpellByName("Cat Form"); and then /script SpellStopCasting(); (because shiftingout of a stance has no global cooldown) but when I do it with Cat Form I guess there's some lag because I get the "Can't do that in Shapeshift Form" error --JLandrum


i think u may try this: /script local T; /script for i=0,15,1 do T=GetPlayerBuffTexture(i); if (T and string.find(T,"cat")) then CancelPlayerBuff(i);break;end end /cast xxxx;

Start a discussion about API CancelPlayerBuff

Start a discussion