Hello.
I need a macro that casts Mana Burn (no shift/alt/ctrl):
1. On Focus Target
2. On Enemy Target (If Focus Target doesn't exist)
3. On ToT if Target is friendly.
That's what i came up with. (Macro doesn't work if Target and ToT are hostile)
Code:#showtooltip Mana Burn /equipset haste /cast [target=player] Power Infusion /use The Skull of Gul'dan /cast [target=focus,exists,harm]Mana Burn; /cast [target=targettarget,exists,harm]Mana Burn;Mana Burn
Last edited by Scooby Dooby Doo; 2012-03-14 at 01:44 PM.
i tested it myself and it worked...
try using only the tabard names in the macro
---------- Post added 2012-03-14 at 09:33 AM ----------
use:
3 thingsCode:#showtooltip Mana Burn /equipset haste /use [@player] Power Infusion /use The Skull of Gul'dan /use [@focus, harm] Mana Burn;[@target, harm] Mana Burn; [@targettarget,harm]Mana Burn
1. if you add another /cast its wasting code space
2. it will always check conditionals left to right you had ToT before Target so it was checking ToT first and casting on that
3. if you want to use a trinket in the lowest slot "/use 14" in the highest slot (first trinket) "/use 13" saves typing out the trinket or changing the macro every time you upgrade your trinket.
EDIT: also I realizedshould work tooCode:#showtooltip Mana Burn /equipset haste /use [@player] Power Infusion /use The Skull of Gul'dan /use [@focus, harm][@target, harm][@targettarget,harm]Mana Burn
Last edited by McSpriest; 2012-03-14 at 02:54 PM.
Last edited by Scooby Dooby Doo; 2012-03-14 at 02:42 PM.
It should just go down the ladder and take the first [] that returns true; so if target and tot are hostile, it should cast on your target. If you need to save characters, you can leave out the [@target, ...] as well, leaving this one only [harm].
---------- Post added 2012-03-14 at 03:45 PM ----------
Oh and basically also this:
I also have a macro question for those of you out there
how does it identify bag spot vs. inventory spot
like for example:
/use 1 4
uses the fourth item in my first bag (non-backpack) or equips it if its equitable
versus
/use 1
which activates my helm if it has a use (like headless horseman's hat)
and obviously
/use 14 activates your second trinket
is it that space in there that identifies if its bag or inventory?
just curious that's all
Thanks for the Mana Burn macro. Works awesome.
Also i'm looking for a Circle of Healing macro. (Apparently I can't cast Circle of Healing on myself if Target is hostile and out of range!?)
Last edited by Scooby Dooby Doo; 2012-03-14 at 04:37 PM.
No the problem is Coh's healing mechanic.
If my target is hostile and in range, Coh heals me and my group <- works as intended
If my target is hostile and out of range, Coh can't be used. <- my problem
Ergo i can't (circle of) heal myself in pvp if my target is hostile and outofrange
Basically i'm looking for a macro that:
1. heals me if target is hostile
2. heals target if target is friendly
Last edited by Scooby Dooby Doo; 2012-03-14 at 04:59 PM.
it should work... it automatically has built in the check for harm vs help if your target is an enemy it should automatically cast on you.*
now if you want more control on CoH use this macro:
it will allow you to use CoH at a mouseover target or if your mouse is not pointed at a friendly target (person or nameplate) then it will cast on your target or you (depending if you target is friendly or not)Code:#showtooltip /use [@mouseover,help][] Circle of healing
*you need to have auto-self cast enabled in the game options
Last edited by McSpriest; 2012-03-14 at 05:12 PM.
Last edited by Scooby Dooby Doo; 2012-03-14 at 06:09 PM.
odd mine has always worked... maybe its due to an add-on effect
for the record i'm an atonement disc/holy healer so i usually have an enemy as my target i've encountered no problems, but then again all my spells are macros with @mouseover commands so i'm rarely casting on my target or myself
Thanks for you're help!
The macro works fine but If i remove the mouseover line, the macro stops working (Invalid Target/out of Range Message) http://imageshack.us/photo/my-images...412193230.jpg/
Code:/cast [help][harm,@player][] Circle of Healing
Last edited by Scooby Dooby Doo; 2012-03-14 at 11:52 PM.
Hi guys, tryin to help a guild member out with a macro but couldnt get it to work. I don't play a DK so sorry for not knowing the names, but he wants a macro to summon his demon thing and then sacrifice it for the heal(or something like that). Any help? Thanks
Keep in mind that [] check will default to your target and then to YOU only if in interface options you have checked the auto-self cast option. Otherwise [] will only default to your target.The macro works fine but If i remove the mouseover line, the macro stops working (Invalid Target/out of Range Message) http://imageshack.us/photo/my-images...412193230.jpg/
So...either turn this option on or specify in your macro for the spell to default to you:
#showtooltip
/cast [@mouseover,help,nodead][help,nodead][@player] Circle of Healing
Note that [] is not needed here as you've already covered its possible two options ie. cast on friendly target [help,nodead] or cast on self [@player] (or in your case since you don't have auto self cast checked, just cast on friendly target [help,nodead])
Also, this spell casts only on a friendly player as it's a heal. As such, [harm] conditional on it will fail. It can't cast on a hostile target but you're telling it to.
Last edited by Sedivy; 2012-03-15 at 10:28 PM.
He's not telling the macro to cast CoH on a hostile target.
[harm] only checks the current target. So yeah, [harm] alone is kind of pointless, but don't forget you can specify another target!
The request was "if my target is hostile, I want the macro to cast CoH on me". That's why I suggested [harm,@player], that's what that does.
No, for spellcasts, you cannot check for the condition of the target you're currently targetting and then specify a different unit to cast the spell on. The conditions will all apply to the unit you specified in the condition.
Saying [harm,@player] means if I am hostile, cast CoH on me. Since you can never be hostile to yourself, this condition fails.
For help on these issues, it's always good to check against www.macroexplain.com which will tell you step by step what the condition does if you paste in the macro.