Log in

View Full Version : What am I missing?



Marsharo
01-03-2009, 01:26 AM
I am trying to write a macro that will A. Shield and then renew who ever has agro (hopefully my focus) OR B. will shield and renew my focus as they charge/run in. I am trying to make the macro spammable so renews stay fresh and thats the part that broke, the code below DOES shield and renew as advertised, but it keeps breaking while Power Word: Shield is on CD even with the second line AND the "," in place of the spell on the first line. I am sure I am missing something, just can't figure out what it is.

/castsequence [target=focus-target-target, exists] Power Word: Shield, Renew; [target=focus] Power Word: Shield, Renew
/castsequence [target=focus-target-target, exists] , Renew; [target=focus] , Renew

Tynk
01-03-2009, 11:55 AM
[target=focustargettarget]

remove your "-"

Marsharo
01-03-2009, 12:30 PM
ok, changed the code to:

/castsequence [target=focustargettarget,exists] Power Word: Shield, Renew; [target=focus, exists] Power Word: Shield, Renew
/castsequence [target=focustargettarget,exists] , Renew; [target=focus, exists] , Renew
It is still hanging up on the Power Word: shield

I tried placing a /stopmacro in there and it didn't change anything. :cursing:

Ghallo
01-03-2009, 11:37 PM
Sorry to say this, but /castsequence only works with a single target assignment.



/castsequence [target=focustargettarget,exists] Power Word: Shield, Renew
/castsequence [target=focus, exists] Power Word: Shield, Renew
/castsequence [target=focustargettarget,exists] , Renew
/castsequence [target=focus, exists] , Renew



Might work. I'm currently waiting in an hour long queue so I can't test it. As long as each conditional is specific enough that only 1 spell can evaluate and fire then the macro should work.

Jafula
01-04-2009, 02:09 AM
Not tested this one, something to try if the others don't work (you'll need to spam it until the shield and renew are up - you might get several renews before a shield so not so great on the mana saving front).



/castrandom [target=focustargettarget,exists] [target=focus,exists] Power Word: Shield, Renew

Ualaa
01-04-2009, 03:14 AM
I know with PW:Shield, the target needs to be in your party or raid. The spell fails when cast on someone who isn't in your party/raid. If the rest of the macro is working, that is probably the culprit.

heffner
01-05-2009, 01:13 AM
I am pretty sure /castsequence will not progress if a spell is on a cooldown timer until the timer expires. Someone can correct me on this if I am wrong, but this was one of the reasons I switched to /castrandom. Also, I don't know what happens when the focus target changes mid spell cast. Does it check the target for each spell in the sequence?? [edit: nvm, I don't think you can have multiple targets in a /castsequence as Ghallo indicated]

edit: Sorry, I just realized that you were trying to overcome this. What Ghallo pointed out is probably correct. The macro he suggested would probably work, but I don't think it will function any different than what Jafula suggested.