Log in

View Full Version : Power Word; Shield Macro?



crowdx
04-07-2010, 10:15 AM
Hi all,
I am wondering if this is possible, i am thinking that it would be good use of a spam button to put Power Word: Shield on it, i.e. a macro that would target each member of my team and then cast shield on them? I have tried this in just a simple target and then cast macro, did not work, then tried a castsequence, still not luck, all it seems to be doing is casting on the first toon in the macro but not doing the rest of the team.
Anyone get this to work with a Disc priest?
Thanks

Svpernova09
04-07-2010, 10:30 AM
AFAIK, macros can't cast a spell, change targets, and cast another spell.

There are 2 ways to do this.

First way: Using click macros to click individual macros that do a simple /tar party1 /cast power word: shield /targetlasttarget.

Second way: Create a keymap in ISBoxer that has 5 steps (one for each group member) that has the macro above.

Here is the mapped key (copy & paste into an ISBoxer KeyMap)

You can spam this key as fast as you want, and even though you'll blow right paste the GCD everyone will get bubbled. it will just require you spam the button for 5 GCDs to get everyone.


<?xml version="1.0" encoding="utf-8"?>
<Box xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<ObjectType>ISBoxer_Toolkit.Configs.KeyMaps.MappedKey</ObjectType>
<SerializedObject>&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;MappedKey xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt;
&lt;Name&gt;BubbleSpam&lt;/Name&gt;
&lt;Combo&gt;
&lt;Combo&gt;Shift+F1&lt;/Combo&gt;
&lt;Modifiers&gt;Shift&lt;/Modifiers&gt;
&lt;Key&gt;
&lt;Key&gt;F1&lt;/Key&gt;
&lt;Code&gt;59&lt;/Code&gt;
&lt;/Key&gt;
&lt;/Combo&gt;
&lt;SendNextClickBlockLocal&gt;false&lt;/SendNextClickBlockLocal&gt;
&lt;ManualLoad&gt;false&lt;/ManualLoad&gt;
&lt;ResetTimer&gt;0.1&lt;/ResetTimer&gt;
&lt;ResetType&gt;Never&lt;/ResetType&gt;
&lt;Mode&gt;OnRelease&lt;/Mode&gt;
&lt;Steps&gt;
&lt;Step&gt;
&lt;Stick&gt;0&lt;/Stick&gt;
&lt;Actions&gt;
&lt;MappedKeyAction xsi:type="WoWMacroAction"&gt;
&lt;ShortName /&gt;
&lt;Target&gt;Satinworship-Kil'Jaeden&lt;/Target&gt;
&lt;Combo&gt;
&lt;Combo&gt;Shift+F1&lt;/Combo&gt;
&lt;Modifiers&gt;Shift&lt;/Modifiers&gt;
&lt;Key&gt;
&lt;Key&gt;F1&lt;/Key&gt;
&lt;Code&gt;59&lt;/Code&gt;
&lt;/Key&gt;
&lt;/Combo&gt;
&lt;WoWMacro&gt;
&lt;PreCommand&gt;None&lt;/PreCommand&gt;
&lt;MacroCommands&gt;/run SetCVar("Sound_EnableSFX","0")
/tar satinworship
/cast Power Word: Shield
/targetlasttarget
/run SetCVar("Sound_EnableSFX","1")&lt;/MacroCommands&gt;
&lt;TargetLastTarget&gt;false&lt;/TargetLastTarget&gt;
&lt;/WoWMacro&gt;
&lt;/MappedKeyAction&gt;
&lt;/Actions&gt;
&lt;/Step&gt;
&lt;Step&gt;
&lt;Stick&gt;0&lt;/Stick&gt;
&lt;Actions&gt;
&lt;MappedKeyAction xsi:type="WoWMacroAction"&gt;
&lt;ShortName /&gt;
&lt;Target&gt;Satinworship-Kil'Jaeden&lt;/Target&gt;
&lt;Combo&gt;
&lt;Combo&gt;Shift+F2&lt;/Combo&gt;
&lt;Modifiers&gt;Shift&lt;/Modifiers&gt;
&lt;Key&gt;
&lt;Key&gt;F2&lt;/Key&gt;
&lt;Code&gt;60&lt;/Code&gt;
&lt;/Key&gt;
&lt;/Combo&gt;
&lt;WoWMacro&gt;
&lt;PreCommand&gt;None&lt;/PreCommand&gt;
&lt;MacroCommands&gt;/run SetCVar("Sound_EnableSFX","0")
/tar party1
/cast Power Word: Shield
/targetlasttarget
/run SetCVar("Sound_EnableSFX","1")&lt;/MacroCommands&gt;
&lt;TargetLastTarget&gt;false&lt;/TargetLastTarget&gt;
&lt;/WoWMacro&gt;
&lt;/MappedKeyAction&gt;
&lt;/Actions&gt;
&lt;/Step&gt;
&lt;Step&gt;
&lt;Stick&gt;0&lt;/Stick&gt;
&lt;Actions&gt;
&lt;MappedKeyAction xsi:type="WoWMacroAction"&gt;
&lt;ShortName /&gt;
&lt;Target&gt;Satinworship-Kil'Jaeden&lt;/Target&gt;
&lt;Combo&gt;
&lt;Combo&gt;Shift+F3&lt;/Combo&gt;
&lt;Modifiers&gt;Shift&lt;/Modifiers&gt;
&lt;Key&gt;
&lt;Key&gt;F3&lt;/Key&gt;
&lt;Code&gt;61&lt;/Code&gt;
&lt;/Key&gt;
&lt;/Combo&gt;
&lt;WoWMacro&gt;
&lt;PreCommand&gt;None&lt;/PreCommand&gt;
&lt;MacroCommands&gt;/run SetCVar("Sound_EnableSFX","0")
/tar party2
/cast Power Word: Shield
/targetlasttarget
/run SetCVar("Sound_EnableSFX","1")&lt;/MacroCommands&gt;
&lt;TargetLastTarget&gt;false&lt;/TargetLastTarget&gt;
&lt;/WoWMacro&gt;
&lt;/MappedKeyAction&gt;
&lt;/Actions&gt;
&lt;/Step&gt;
&lt;Step&gt;
&lt;Stick&gt;0&lt;/Stick&gt;
&lt;Actions&gt;
&lt;MappedKeyAction xsi:type="WoWMacroAction"&gt;
&lt;ShortName /&gt;
&lt;Target&gt;Satinworship-Kil'Jaeden&lt;/Target&gt;
&lt;Combo&gt;
&lt;Combo&gt;Shift+F4&lt;/Combo&gt;
&lt;Modifiers&gt;Shift&lt;/Modifiers&gt;
&lt;Key&gt;
&lt;Key&gt;F4&lt;/Key&gt;
&lt;Code&gt;62&lt;/Code&gt;
&lt;/Key&gt;
&lt;/Combo&gt;
&lt;WoWMacro&gt;
&lt;PreCommand&gt;None&lt;/PreCommand&gt;
&lt;MacroCommands&gt;/run SetCVar("Sound_EnableSFX","0")
/tar party3
/cast Power Word: Shield
/targetlasttarget
/run SetCVar("Sound_EnableSFX","1")&lt;/MacroCommands&gt;
&lt;TargetLastTarget&gt;false&lt;/TargetLastTarget&gt;
&lt;/WoWMacro&gt;
&lt;/MappedKeyAction&gt;
&lt;/Actions&gt;
&lt;/Step&gt;
&lt;Step&gt;
&lt;Stick&gt;0&lt;/Stick&gt;
&lt;Actions&gt;
&lt;MappedKeyAction xsi:type="WoWMacroAction"&gt;
&lt;ShortName /&gt;
&lt;Target&gt;Satinworship-Kil'Jaeden&lt;/Target&gt;
&lt;Combo&gt;
&lt;Combo&gt;Shift+F5&lt;/Combo&gt;
&lt;Modifiers&gt;Shift&lt;/Modifiers&gt;
&lt;Key&gt;
&lt;Key&gt;F5&lt;/Key&gt;
&lt;Code&gt;63&lt;/Code&gt;
&lt;/Key&gt;
&lt;/Combo&gt;
&lt;WoWMacro&gt;
&lt;PreCommand&gt;None&lt;/PreCommand&gt;
&lt;MacroCommands&gt;/run SetCVar("Sound_EnableSFX","0")
/tar party4
/cast Power Word: Shield
/targetlasttarget
/run SetCVar("Sound_EnableSFX","1")&lt;/MacroCommands&gt;
&lt;TargetLastTarget&gt;false&lt;/TargetLastTarget&gt;
&lt;/WoWMacro&gt;
&lt;/MappedKeyAction&gt;
&lt;/Actions&gt;
&lt;/Step&gt;
&lt;/Steps&gt;
&lt;/MappedKey&gt;</SerializedObject>
</Box>

crowdx
04-07-2010, 10:46 AM
LOL, thanks so much for this Svpernova09, funny thing is we talked about this on ISBoxer's IRC chat at the weekend when I was having issues with the click buttons :) . I did get the buttons to work but it just "feels" like there is lag and not as efficient when I use click buttons to apply the shield and it seems about half the time that the click button does not get shield up on the target, kinda weird.
But I think the code listed should work :)
Cool :cool:

Bloodcloud
04-07-2010, 11:32 AM
Would do this the trick ?



/castsequence reset=15 [@party1] Power Word: Shield,NULL
/castsequence reset=15 [@party2] Power Word: Shield,NULL
/castsequence reset=15 [@party3] Power Word: Shield,NULL
/castsequence reset=15 [@party4] Power Word: Shield,NULL
/castsequence reset=15 [@player] Power Word: Shield,NULL
@ work so I can't test it.

and then spam the key until everyone has a shield. then stop and after 15 sec you can start spamming again.

If this works I will do the same for Hots :)

crowdx
04-07-2010, 11:36 AM
At work also, so cannot test :)

Svpernova09
04-07-2010, 11:46 AM
Would do this the trick ?



/castsequence reset=15 [@party1] Power Word: Shield,NULL
/castsequence reset=15 [@party2] Power Word: Shield,NULL
/castsequence reset=15 [@party3] Power Word: Shield,NULL
/castsequence reset=15 [@party4] Power Word: Shield,NULL
/castsequence reset=15 [@player] Power Word: Shield,NULL
@ work so I can't test it.

and then spam the key until everyone has a shield. then stop and after 15 sec you can start spamming again.

If this works I will do the same for Hots :)


Too long, it gets cut off :


/castsequence reset=15 [@party1] Power Word: Shield,NULL
/castsequence reset=15 [@party2] Power Word: Shield,NULL
/castsequence reset=15 [@party3] Power Word: Shield,NULL
/castsequence reset=15 [@party4] Power Word: Shield,NULL
/castsequence reset=15 [@pl

Edit:

I changed it to

/castsequence reset=15 [@party1] Power Word: Shield,NULL
/castsequence reset=15 [@player] Power Word: Shield,NULL


And bubbled party1, but not my toon, so looks like it won't change targets and recast.

Maxion
04-07-2010, 05:15 PM
Pretty sure we figured this out in another thread about putting hots on people.

Note to svpernova though, if you have problems with macros getting too long you should get macaroon or superdupermacro to let you have longer macros.

Also, the reset condition needs to be after the target conditions. (i'm pretty sure of it anyway)

Ualaa
04-07-2010, 07:09 PM
You can use:
/targetparty
/cast Power Word: Shield

Which will cycle through your party one after the other (starting with the nearest); however, /targetparty will never target your own toon.

You could change it to:
/targetparty
/cast [nomod:alt] Power Word: Shield
/cast [mod:alt,Target=Player] Power Word: Shield

Possibly consider an addon like Smart Buff, where you can assign it to buff anyone who is missing a buff, by spamming the key. Not sure that you can use that in combat or not, especially to change targets.




*Edit*
The Rejuvenation on the whole team, via a click macro... was something like:

/castsequence [target=Party1] ,,,,Power Word: Shield
/castsequence [target=Party2] ,,,Power Word: Shield
/castsequence [target=Party3] ,,Power Word: Shield
/castsequence [target=Party4] ,Power Word: Shield
/castsequence [target=Player] Power Word: Shield

Bloodcloud
04-08-2010, 07:22 AM
You can use:
/targetparty
/cast Power Word: Shield


drawback, you can;t spam the button. If GCD is in effect you will skip toons.



The Rejuvenation on the whole team, via a click macro... was something like:

/castsequence [target=Party1] ,,,,Power Word: Shield
/castsequence [target=Party2] ,,,Power Word: Shield
/castsequence [target=Party3] ,,Power Word: Shield
/castsequence [target=Party4] ,Power Word: Shield
/castsequence [target=Player] Power Word: Shield

Problems with this is that it NEEDS the /click functionality. It can't be collapsed, because you can't target different targets in a single macro. so it needs to be different macros.

see previous post of Svpernova9

Ualaa
04-08-2010, 07:59 AM
http://www.dual-boxing.com/showthread.php?t=28281&highlight=Rejuvenation

See Posts 22 & 30.

Svpernova09
04-08-2010, 08:53 AM
I tried the macro in a raid last night, and it just wouldn't work, but the key to it working may be adding more commas as previously stated.

Bloodcloud
04-08-2010, 10:00 AM
hmm,

in http://www.dual-boxing.com/showpost.php?p=263574&postcount=30


/castsequence [target=party4]reset=5 ,,,,Rejuve,nil
/castsequence [target=party3]reset=5 ,,,Rejuve,nil
/castsequence [target=party3]reset=5 ,,Rejuve,nil
/castsequence [target=player]reset=5 ,Rejuve,nil
/castsequence [target=party1] Rejuve


I only see "will be" working and "should".

Tonight i "will be" testing it and post the results :)

crowdx
04-08-2010, 10:15 AM
I tried the above first thing this morning without the nil value and it works once I adjusted the commas with the one issue of it is not casting on the last toon, so I get 4 toons all with shield but it is not casting on the 5th, not sure why, but did not have enough time to really troubleshoot it.
I looked at the original thread which Ualaa listed and used the code at the end of it which is pretty much the code above without nil value.
I think I am close to getting it to work ,but not 100% there, btw this was working using click macro setup with the above issue.

lightstriker
04-08-2010, 04:24 PM
/castsequence [@party4]reset=9 ,,,,,,,,Rejuvenation
/castsequence [@party3]reset=9 ,,,,,,Rejuvenation,nil
/castsequence [@party1]reset=9 ,,,,Rejuvenation,nil
/castsequence [@player]reset=9 ,,Rejuvenation,nil
/castsequence [@party2]reset=9 Rejuvenation,nil

this is the macro i currently have. I spent hours getting this to work. Rejuv is almost too long, PWS could be too long for 255 limit. Using Target= is too long. The PROBLEM was that it takes TWO PRESS to pass the sequence to the next toon. Thats why there are more commas than the theorycraft suggest it should. If yo dont have the exact number of commas or dont wait for Global Cooldow, the order will be mess up and skips a toon. It seems to acts like /click where the sequence starts from the top again before moving to the next toon.

Your best bet is a /click macro if you just keep spamming the button. If you need more bars use ExtraBar. It wont mess up your current set up like Bartender.

P.S. You cant abbriviate spell names right? i.e. PW:Shield?


Blizzard has posted class reviews. The cataclysm change will give Priest Power Word: Barrier that sheilds the whole party.

crowdx
04-08-2010, 05:02 PM
So with the above macro it works for Rejuv, would it work for Power Shield by changing spell name? Or will the commas differ?
I am using click macros with each line of the code in a seperate click.
At work so will need to check this our later

Ualaa
04-08-2010, 06:11 PM
The commas are purely a function of your spam speed.
The spell names are only important with regards to the length of the entire macro.

A Nill/Null effect with a reset is an option.
As is enough commas to allow for continual spam.

If you're willing to build a click macro, that will get around the space issues.
But click is not functionally any different from one super huge macro, with every castsequence in it.

Bloodcloud
04-08-2010, 08:16 PM
Just tested:


#show Power Word: Shield
/castsequence [@party4] reset=5 ,,,,,,,,,,,,Power Word: Shield
/castsequence [@party3] reset=5 ,,,,,,,,,Power Word: Shield
/castsequence [@party2] reset=5 ,,,,,,Power Word: Shield
/castsequence [@player] reset=5 ,,,Power Word: Shield
/castsequence [@party1] reset=5 Power Word: Shield
This is spam-able I spam with a 2 per 1 sec spam rate. (and a haste rating of 8,85%)

This means that after ~ 6 sec all are shielded.

just for fun an laughs I did the following:



/castsequence [@party4] reset=5 ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,Renew
/castsequence [@party3] reset=5 ,,,,,,,,,,,,,,,,,,,,,,,,,,,Renew
/castsequence [@party2] reset=5 ,,,,,,,,,,,,,,,,,,,,,,,,Renew
/castsequence [@player] reset=5 ,,,,,,,,,,,,,,,,,,,,,Renew
/castsequence [@party1] reset=5 ,,,,,,,,,,,,,,,,,,Renew
/castsequence [@party4] reset=5 ,,,,,,,,,,,,,,,Power Word: Shield
/castsequence [@party3] reset=5 ,,,,,,,,,,,,Power Word: Shield
/castsequence [@party2] reset=5 ,,,,,,,,,Power Word: Shield
/castsequence [@player] reset=5 ,,,,,,Power Word: Shield
/castsequence [@party1] reset=5 ,,,Power Word: Shield
/castsequence [@party1] reset=5 Prayer of Mending
So after ~ 15 sec all are ready :)
I removed the NIL at the end so it stays spam-able for the renew and does the PoM as well. PW:S fails if the shield is still up.

With a couple of commas more this could be a really nice macro for a disc priest, to keep everyone up
(with empowered Renew [deep Holy], a sequence of PoM, Tank shield, and a renew sequence might be nice as well)

I tested the macros, so it is no longer theory craft :)

Note: I use macaroon, so I can have macros >255 chars :)

crowdx
04-09-2010, 10:05 AM
A note on the last post by Bloodcloud, it seems to work perfect, I used it last night and it did a nice job at shielding everyone at the start of fights and also during a fight worked really well.
Nice job :)