This site makes extensive use of JavaScript.
Please enable JavaScript in your browser.
Classic Theme
Thottbot Theme
Cancelaura ONE of the Tricks of the Trade buffs
Post Reply
Return to board index
Post by
225064
This post was from a user who has deleted their account.
Post by
Wanderingfox
Just answered this in your thread on the Rogue forums. To answer your edit, it does indeed show up on the UI. Go tricks someone, hit something, and look at their buffs.
/run i=1,40 do local n,_,_,_,_,_,_,c=UnitAura("player",i) if n=="Tricks of the Trade" and c=="player" then CancelUnitBuff("player",i) break end end
Will only cancel the buff named "Tricks of the Trade" that has been applied by the unitid "player" so it should never cancel the damage portion, and only ever cancel the threat portion of your tricks (and the initial buff you get prior to hitting anything).
Post by
225064
This post was from a user who has deleted their account.
Post by
Wanderingfox
Again, that's untested, so something may be wrong with it. If you have problems just come back and myself or one of the other regulars here will fix whatever the hell is wrong XD
Post by
550132
This post was from a user who has deleted their account.
Post by
Wanderingfox
wowwiki lists it as optional:
name, rank, icon, count, debuffType, duration, expirationTime, unitCaster, isStealable, shouldConsolidate, spellId = UnitAura("unit", index or "name"])
http://www.wowwiki.com/API_UnitAura
Post by
550132
This post was from a user who has deleted their account.
Post Reply
You are not logged in. Please
log in
to post a reply or
register
if you don't already have an account.