View Full Version : Tricks Macro
Lolipokicake
09-23-2009, 04:37 PM
Here is the tricks macro that I use
/cast [target=Playername] Tricks of the Trade
/run c="Playername"do n,_,_,_,_,_,x,_,_=UnitAura("player","Tricks of the Trade")if((x-GetTime())>4)then SendChatMessage(n.. " is on "..c, "WHISPER",nil,c)end end
You do have to change the player name in both sections of the macro, however it's slightly less chat spam since it will only send the tell if you a tricks buff on you and that buff has more than 4 seconds remaining.
I would recommend the mod Clique. I've been using it for Misdirection recently, and it allows you to get rid of all of your macros (I hated having macros for every single tank and mage). It won't whisper your target, but I've also set up power auras for when I have the tricks buff which is equal or better than a whisper.
Almehym
09-23-2009, 06:11 PM
I really like the addition of a whisper. It's helpful both for timing CDs that may be off cooldown and for reminding the next rogue in the chain to hit it if we're distracted with silly things like malady or black/white orbs or something.
Edit: So Pokey was helping me modify his macro for my purposes, and this is what we came out with:
/cast [target=focus] Tricks of the Trade
/in 1 /run c=UnitName("focus") do n,_,_,_,_,p,x,_,_=UnitAura("player","Tricks of the Trade")if((x-GetTime())>5) and (p==6)then SendChatMessage(n.." is on "..c,"WHISPER",nil,UnitName("focus"))end end
What this does is makes it cast ToTT on your focus instead of a set player, which is helpful if you aren't always casting it on the same rogue for dps. It also only sends the whisper once the 6 sec buff procs as opposed to the 30s buff that goes off before the melee attack. In combat they would generally funciton the same, but this will prevent tells if you were off target and hit the macro. I would like to modify it further, if I could, though. In the 1 sec before the tell sends, if you are spamming the hotkey, it is possible to send more than one tell. I can't figure out any way to stop that from happening, but the modifications here will cut down on general spamminess.
Ellyee
10-01-2009, 06:08 PM
My buddy Marco on Earthen Ring helped hack this out for me today. Since I prefer to have a single button to press for Tricks, I wanted a Tricks macro that checked to see if I was Tricksing a tank and only sent a "Tricks on you!" message if a non-tank was my Tricks target:
/cast [target=focus] Tricks of the Trade
/run local n = UnitName("focus"); if n ~= "Tank1" and n ~= "Tank2" and n ~= "Tank3" then SendChatMessage("**Tricks of the Trade on you!**", "WHISPER", nil, n) end
(where Tank1, Tank2 and Tank3 are replaced with the names of the tanks).
XnaRouge
10-23-2009, 03:57 PM
I actually go about it a little differently. I like to be able to tricks people without changing my target, so i undoubtedly use a focus macro. I also use the AddOn Clique (http://www.wowinterface.com/downloads/info5108-Clique.html), but I use it to swap my focus (Shift-rightclick on the unitframe to swap).
I also make use of another AddOn called AfterCast (http://www.wowinterface.com/downloads/info4167-AfterCast.html). It allows you to run another command (excluding /cast) only upon successful spellcast.
Here's what my macro looks like:
/aftercast /script SendChatMessage("=== TRICKS ACTIVE ===","WHISPER",COMMON,UnitName("Focus"));
/cast [target=focus] Tricks of the Trade
You can mash this macro as much as you'd like, and it will only message your focus when you've actually successfully cast Tricks, and not again until the next time you've successfully cast it.
Grayson Carlyle
10-23-2009, 09:10 PM
Did you spell your name incorrectly on purpose?
XnaRouge
10-24-2009, 04:25 AM
...yes.
Also, I've found another way to do what I explained above without use of an external AddOn.
/run local s="Tricks of the Trade" if GetSpellCooldown(s)==0 and IsUsableSpell(s) and IsSpellInRange(s, "focus")==1 then SendChatMessage ("=== TRICKS ACTIVE ===","WHISPER",nil,UnitName("focus")); end
/cast [target=focus] Tricks of the Trade
Enjoi.
Almehym
10-24-2009, 01:27 PM
Does this apply for after tricks has been put up or for after it actually goes off on your target? As far as I know it's two different spellIDs, and I imagine that could muck it up. I know ours sends the tell based on time left on the buff, so it will only send the message when the spell hits our target, though it will still spam to some extent.
XnaRouge
10-24-2009, 03:04 PM
It only shows it when the initial 30 second spell is cast... but as far as I'm concerned if you're in the middle of an encounter, the time between when -that- spell is cast and when the person is actually getting the damage bonus is typically so marginal it's negligible.
If it's being cast on a tank either going in to an encounter or picking up a mob (spawned add or aggro reset), they don't really need to worry about exactly when it's happening... they just need to know that they're about to get a chunk of threat on that target once melee starts hitting it.
Also... there's an addon out there called TrickOrTreat (http://www.wowace.com/addons/trickortreat/). I've never actually toyed with it myself, but some of you might find it handy.
vBulletin® v3.6.7, Copyright ©2000-2012, Jelsoft Enterprises Ltd.