deleteddeleted
deleteddeleted
Last edited by mastaflex2002; 08-13-2010 at 01:20 PM.
Reflect:
Pummel:Code:/run i,s=UnitCastingInfo,{"Polymorph"=1,"Cyclone"=1}if s[i"target"]or s[i"focus"]or s[i"arena1"]or s[i"arena2"]or s[i"arena3"]or s[i"arena4"]or s[i"arena5"]then CastSpellByName"Spell Reflection"end
YawnCode:/run i,s=UnitCastingInfo,{"Polymorph"=1,"Cyclone"=1}if s[i"target"]or s[i"focus"]then CastSpellByName"Pummel"end
+ rep to nightcracker.
Last edited by mastaflex2002; 08-10-2010 at 03:47 PM.
Good idea from the op (+Rep for that), and really nice work from nightcracker so +Rep to him also.
How can I make it so it equips a 1h and shield also which is needed to spell reflect. Also if you are in beserker stance have it switch you to battle stance and equip the 1h and shield and spell reflect.
For the pummel macro how can you make it so it switches you to beserker stance which is needed for pummel.
Thank you.
Try this:
/run i,s=UnitCastingInfo,{"Polymorph"=1,"Cyclone"=1}if s[i"target"]or s[i"focus"]or s[i"arena1"]or s[i"arena2"]or s[i"arena3"]or s[i"arena4"]or s[i"arena5"]then EquipItemByName"Shield"; EquipItemByName"1h Weapon" CastSpellByName"Spell Reflection"end
But I think this wouldn't be useful unless it can detect the target is casting on you. If they are casting on someone else you'd be wasting Spell Reflect obviously. You'll have to wait for nightcracker to see what he can do 'cause that's beyond me.
As for the stance switching, you could simply add /cast Battle Stance or /cast Berserker Stance to the top of the macros.
Last edited by Ultraviolence; 11-10-2010 at 11:06 AM.
For the pummel one the macro is going to be spammed so I only want it to put me in berserker stance if one of those spells are cast and it is going to pummel. So if I added the /cast beserker stance it would keep me there always. Thank you for the input!
Just keybind Battle Stance, it's super easy to switch back from Zerker Stance. If you are looking for one do-everything macro, it doesn't make sense to have both the Pummel and Spell Reflection scripts in it (why would you try to Reflect and Pummel at the same time).
Last edited by Ultraviolence; 08-11-2010 at 03:05 AM.
For instance how could I add this after the "then" /cast [equipped:Shields, stance:1/2] Shield Bash; [noequipped:Shields, stance:1/2] Berserker Stance; [stance: 3] Pummel
so that it switches to berserker stance and pummels if no shield is equipped.
/run i,s=UnitCastingInfo,{"Polymorph"=1,"Cyclone"=1}if s[i"target"]or s[i"focus"]then CastSpellByName"Pummel"end
---------- Post added at 03:08 AM ---------- Previous post was at 03:00 AM ----------
maybe this would work
/run i,s=UnitCastingInfo,{"Polymorph"=1,"Cyclone"=1}if s[i"target"]or s[i"focus"]then cast [equipped:Shields, stance:1/2] Shield Bash; [noequipped:Shields, stance:1/2] Berserker Stance; [stance: 3] Pummel end
I would also like to make a request on this. I want to use Shield Bash if my target is casting and in range, and Spell Reflection if it's not. Tried this myself but it seems a bit tricky (or I'm just a nab, idk).
"You must spread some Reputation around before giving it to nightcracker again."
I already gave you rep for your guild inviter.![]()
Thank you. Like ultraviolence said is it possible to detect when a player is targeting you with a spell even if they are using the arena1, arena2 ect for casting spells on you. If it is possible then this would prevent spell reflect being wasted when you are not the target. Also what is the proper way to equip the 1h and shield and then spell reflect. My current spell reflect macro is below which equips 1 hand and shield and spell reflect in battle or defensive stance but if you are in beserker stance it will switch you to battle stance to reflect. How can this be implemented into the spell reflect macro after the "then" /run i,s=UnitCastingInfo,{"Polymorph"=1,"Cyclone"=1}if s[i"target"]or s[i"focus"]or s[i"arena1"]or s[i"arena2"]or s[i"arena3"]or s[i"arena4"]or s[i"arena5"]then CastSpellByName"Spell Reflection"end
current macro:
#showtooltip Spell Reflection
/cast [stance:1/2,equipped:Shields] Spell Reflection; [stance:3] Battle Stance
/stopmacro [equipped: Shields]
/stopcasting
/equipslot 16 1hand
/equipslot 17 shield
thank you