View Full Version : Ugh, Harm/Help revisited..
Zzyzxx71
04-13-2008, 11:08 PM
ok I'm wrackin my brain here... this SHOULD be SOOO simple...
If my target is [help], I want to cast X spell on my targets target... if [harm], just cast the spell.
Feelin stupid here...
The closest I've come that syntaxically looks correct is..
/cast [harm] Lightning Bolt; [help][target=taragettarget] Lightning Bolt
Anyone?
Zzyzxx71
04-13-2008, 11:34 PM
Damnit I did it again - the solution was...
/cast [harm] [target=targettarget, harm][] Lightning Bolt
thinus
04-14-2008, 12:37 AM
Damnit I did it again - the solution was...
/cast [harm] [target=targettarget, harm][] Lightning Bolt
I don't think you need the []
/cast [harm][target=targettarget, harm] Lightning Bolt
should work.
The [] is just an empty condition and you can't cast lightning bolt on friendly targets anyway. So using [harm] and [] is superfluous.
Djarid
04-14-2008, 02:59 AM
the empty condition returns the cast to its default behaviour so in this case it isn't really necessary.
are you sure that problem wasn't due to the typo in the initially posted macro? (the additional 'a')
Zzyzxx71
04-14-2008, 10:15 AM
The extra [] is due to the fact that I highjacked that macro from a priest heal macro post on the wow forums - I'll give it a shot without the [] tonight.
Gallo
04-14-2008, 10:36 AM
Call me a noob, but what the hell is the advantage of using all those conditionals? It always confuses me. Tell me what the difference is in a combat situation between his macro and mine:
/cast [target=focustarget] Lightning Bolt
Djarid
04-14-2008, 10:36 AM
don't get me wrong [] is very useful but not if you have already tested for the conditions that would cause the spell to fire with []
Zzyzxx71
04-14-2008, 11:16 AM
Call me a noob, but what the hell is the advantage of using all those conditionals? It always confuses me. Tell me what the difference is in a combat situation between his macro and mine:
/cast [target=focustarget] Lightning Bolt
I don't use focus. the conditionals are for my failover. My main guy dies, I go to window #2, mash my follow, which does a "nodead" check. Failsover to Shammy #2, now since my MAIN is dead, the second is the brain, the second isn't following anyone. Therefore, he can't use targettarget. Hence the harm check, while still using the help check for the remaining shammies.
Gallo
04-14-2008, 12:54 PM
Out of curiosity, why don't you use follow? Do you have a mage that needs sheeping focus?
ya im a big practitioner of /focus..
but then again im a simple minded fello
like you could setup 5 buttons button 1 (spread out on the 5 layouts of course)
/focus Brain
Button 2
/focus clone2
etc etc
making the button for its respective clone be a /clearfocus button
then when brain dies.. you want to take control of clone 3 press (button clone3) and clones 2 4 5 all start following 3's target 3 clears its focus .. and with
/cast [target=focustarget,exists] spell; spell
your new brain (with no focus) fires its spell normally and the clones do what they always do.
Zzyzxx71
04-14-2008, 01:31 PM
With my current setup I don't need the 5 buttons (4 in my case) for failover - it's automatic.
/target [target=Shaboôm, nodead]; [target=Shabôom, nodead]; [target=Shabôôm, nodead]; [target=Shàboom, nodead];
/follow
that's my failover AND follow macro. Add in the attack macros that a: just cast if it's an enemy or b: target the targets target if the current target is helpful, and it's a 1 button mash failover.
thinus
04-14-2008, 07:57 PM
Call me a noob, but what the hell is the advantage of using all those conditionals? It always confuses me. Tell me what the difference is in a combat situation between his macro and mine:
/cast [target=focustarget] Lightning Bolt
Let's say you want to heal and lightning bolt in the same macro then you can do the following:
/cast [target=focustarget, harm] Lightning Bolt; [target=focustarget, help] Healing Wave; [target=player] Healing Wave
Now you have a single macro that will either cast Lightning Bolt if an enemy is targeted, Healing Wave on a friendly target or otherwise it will cast Healing Wave on yourself.
Not tested and I don't play shaman so I have no idea if that is a valid example. It is just for demonstrative purposes to show that conditionals allow you to do multiple things in the same macro.
vBulletin® v4.2.2, Copyright ©2000-2025, Jelsoft Enterprises Ltd.