Elitist Jerks
Register
Blogs
Forums


Go Back   Elitist Jerks » Public Discussion » User Interface and AddOns

Reply
 
LinkBack Thread Tools
Old 06/20/11, 9:40 PM   #61
Lugg
Glass Joe
 
Night Elf Warrior
 
Scilla
Hi all, back after 2 years. I have come across a bunch of macros that start with <action+=stance> etc, but as far as I can see, that's not valid macro syntax. Any one know whats up with that?

Thanks

Offline
Reply With Quote
Old 06/21/11, 12:20 AM   #62
Larwood
Glass Joe
 
Human Mage
 
Frostmourne
Originally Posted by Lugg View Post
Hi all, back after 2 years. I have come across a bunch of macros that start with <action+=stance> etc, but as far as I can see, that's not valid macro syntax. Any one know whats up with that?

Thanks
Not sure what you mean, do you have an example of one of these macros?

ps. all valid macro syntax can be found here: Making a macro - Wowpedia

Australia Offline
Reply With Quote
Old 06/21/11, 12:26 PM   #63
Fetzie
Glass Joe
 
Blood Elf Paladin
 
Anub'arak (EU)
Originally Posted by Lugg View Post
Hi all, back after 2 years. I have come across a bunch of macros that start with <action+=stance> etc, but as far as I can see, that's not valid macro syntax. Any one know whats up with that?

Thanks

It is fairly simple. You specify which stances should enable the macro, then add the ability afterwards.

The following macro will put you into Defensive Stance if you are in either Berserker or Battle Stance, and equip a one hand weapon in the main-hand slot and a shield in the off-hand slot (you will need to specify the names of the items).

/cast [stance:1/3] Defensive Stance
/equipslot 16 Name of one hander
/equipslot 17 Name of shield

Did that help?

Germany Offline
Reply With Quote
Old 06/21/11, 10:09 PM   #64
Lugg
Glass Joe
 
Night Elf Warrior
 
Scilla
Thanks for the replies - my question really isn't about the function of the macro, I just want to know if there is a new macro syntax, or if this might be script from an add-on or something that supports macros. If I just copy paste the following into a macro, it pukes - so I'm thinking this must be something else

Here is an example:


actions+=/stance,choose=berserker,if=cooldown.recklessness.remains=0&rage<=50&((target.health_p ct>20&target.time_to_die>320)|target.health_pct<=20)
actions+=/stance,choose=battle,if=(cooldown.recklessness.remains>0&rage<=50)

Apologies - this is likely well known but I can't find anything on the google machine that explains what it is. Appreciate the help!

Offline
Reply With Quote
Old 06/22/11, 12:48 AM   #65
Jaybird
Von Kaiser
 
Night Elf Priest
 
Bronzebeard (EU)
Originally Posted by Lugg View Post
Thanks for the replies - my question really isn't about the function of the macro, I just want to know if there is a new macro syntax, or if this might be script from an add-on or something that supports macros. If I just copy paste the following into a macro, it pukes - so I'm thinking this must be something else

Here is an example:


actions+=/stance,choose=berserker,if=cooldown.recklessness.remains=0&rage<=50&((target.health_p ct>20&target.time_to_die>320)|target.health_pct<=20)
actions+=/stance,choose=battle,if=(cooldown.recklessness.remains>0&rage<=50)

Apologies - this is likely well known but I can't find anything on the google machine that explains what it is. Appreciate the help!
That looks like SimCraft code to me .. not Macro code.

Offline
Reply With Quote
Old 07/19/11, 7:56 PM   #66
daenarshin
Glass Joe
 
Night Elf Druid
 
Sargeras (EU)
hi,

I have some trouble with a macro, basically I'm using vuhdo addon for my raid displaying, as a resto druid you can use some combination like shift+right click to cast a spell or a macro on the target your are mousing over.
thus i try to creat a macro to swiftmend the target I mouse over then target the Mt target and cast an insect swarm on this foe.
This is the best scenario, as I could only use "focus" to make it easier, because except with directly writing "/assist MT's name" in the macro i don't know how to manage this ( furthermore I need to add "target lasttarget" at the end witch makes the macro a little odd when swiftmend is not up ..)

I tryed this:

/castsequence swiftmend

/cast [target=focustarget] insect swarm


this one only works from time to time ... Can anyone help me ?


Ps : I recently acquired the trinket •[Necromantic Focus], witch requires DoT ticking to stack the mastery buff .. ^^
PSS : excuse the poor english, it's not my native language

Offline
Reply With Quote
Old 01/23/12, 2:10 PM   #67
wilehunter
Glass Joe
 
wilehunter's Avatar
 
Troll Hunter
 
Blade's Edge (EU)
Change target macro

I'm working on a macro that will assist a hunter in the madness fight. The macro should reduce damage but will allow the hunter to continue the DPS. The objective is to reduce the damage using raptor strike while still shooting the Mutated Corruptions. The way I do it without the macro is standing near the wing/arm and shoot at the Mutated Corruptions, once I would like to reduce the damage I'm taking, I am targeting the arm/wing, click raptor strike, than targeting the Mutated Corruptions and continue with my pew pew routine.
All this target switching takes too much time, so I am looking for a macro that will do it all. I know that raptor strike consume the GCD, so I thought it cannot be done, but it seems that some activates in a macro can happen after GCD. I've started with the following macro
#showtooltip Raptor Strike
/targetenemy [nodead, harm]
/cast Raptor Strike
/targetlasttarget
/cleartarget
So the macro target the nearest enemy (wing/arm), cast raptor strike, and cancel the target. I assume I can hard coded "/target Mutated Corruptions" as the last line, but I prefer something more generic. Is there an option that the last line will target me back to the target I was aiming at before I clicked this macro?

Offline
Reply With Quote
Old 01/29/12, 10:44 PM   #68
Lokrick
Piston Honda
 
Orc Hunter
 
Steamwheedle Cartel
Originally Posted by wilehunter View Post
I'm working on a macro that will assist a hunter in the madness fight. ...
#showtooltip Raptor Strike
/targetenemy [nodead, harm]
/cast Raptor Strike
/targetlasttarget
/cleartarget
So the macro target the nearest enemy (wing/arm), cast raptor strike, and cancel the target. I assume I can hard coded "/target Mutated Corruptions" as the last line, but I prefer something more generic. Is there an option that the last line will target me back to the target I was aiming at before I clicked this macro?
The enemy chosen by "/targetenemy" can be complicated. For example, it will primarily target an enemy in a cone in front of you. However if your camera is coming from behind the arm, for example, it may target the arm even if your toon is not facing it. In any case, the macro should almost work. The "/targetlasttarget" retargets to the corruption (assuming it was your last target), but then you clear the target. Just delete that last "/cleartarget" line. Other techniques might be more reliable though: make the arm/wing your focus as you land on the platform and then just using "/cast [@focus]Raptor Strike"; keep your pet on the arm/wing and use "/cast [@pet-target]Raptor Strike"; or replace "/targetenemy" with explicitly targeting the arm, etc.
/cleartarget
/tar arm tentacle
/tar [noexists]wing tentacle
/use [exists]Raptor Strike
/targetlasttarget
The above clears the target so that the macro can detect whether it successfully targeted your desired target (using no/exists). It then tries to target the arm; if that doesn't work it tries to target the wing. Only if it managed to target one of the two, it casts raptor strike. Finally, it sets the target back to your original target (since we targeted at most one other creature, lasttarget is what you had before cleartarget).

United States Offline
Reply With Quote
Old 10/03/12, 1:10 PM   #69
Masq
Piston Honda
 
Undead Rogue
 
Lightning's Blade
Can anyone help me with this macro? I can't get the shift modifier to work.



/cast [@target] Holy Prism; [mod:shift, @targettarget] Holy Prism


Offline
Reply With Quote
Old 10/04/12, 3:09 PM   #70
Shuror
Von Kaiser
 
Gausel
Pandaren Priest
 
No WoW Account (EU)
Originally Posted by Masq View Post
Can anyone help me with this macro? I can't get the shift modifier to work.



/cast [@target] Holy Prism; [mod:shift, @targettarget] Holy Prism
The first case is unconditional so it always happens. You want to exchange the order of the cases.
/cast [mod:shift, @targettarget] Holy Prism; [@target] Holy Prism

One can trim the macro down in length like this:

/cast [mod:shift, @targettarget][@target] Holy Prism

Offline
Reply With Quote
Old 11/25/12, 8:03 PM   #71
Kwayver
Von Kaiser
 
Human Paladin
 
Barthilas
im trying to make a macro that casts trinket/human racial when i am stunned, feared, etc.
i know its possible to modify macros with stances for things like stealth and stance number 1,2,3,etc (/cast [stealth] ravage) but is there a mod option for when you are stunned or feared and such?

Australia Offline
Reply With Quote
Old 11/25/12, 11:59 PM   #72
Larwood
Glass Joe
 
Human Mage
 
Frostmourne
Originally Posted by Kwayver View Post
is there a mod option for when you are stunned or feared and such?
No. Rule of thumb is you can't have macros make decisions for you, and why would you want to?

Australia Offline
Reply With Quote
Old 11/27/12, 11:51 PM   #73
Kwayver
Von Kaiser
 
Human Paladin
 
Barthilas
well what i was trying to achieve was a macro that uses Emancipate when i am slowed or snared, and when i am in a state that wont allow me to use emancipate to use my human racial. reason being is im running out of easy-to-reach keys to assign it.
is there a condition or modifier for when a spell fails to cast?

Australia Offline
Reply With Quote
Old 11/28/12, 9:13 PM   #74
Larwood
Glass Joe
 
Human Mage
 
Frostmourne
Originally Posted by Kwayver View Post
well what i was trying to achieve was a macro that uses Emancipate when i am slowed or snared, and when i am in a state that wont allow me to use emancipate to use my human racial. reason being is im running out of easy-to-reach keys to assign it.
is there a condition or modifier for when a spell fails to cast?
No. Rule of thumb is you can't have macros make decisions for you, and why would you want to?

Australia Offline
Reply With Quote
Old 12/21/12, 3:14 PM   #75
Durl
Glass Joe
 
Pandaren Monk
 
Proudmoore
Is there a way to get a macro to recognize buff stacks? Example, if I have 9 stacks of tigereye brew, don't cast. If I have 10 stacks, cast.

United States Offline
Reply With Quote
Reply

Go Back   Elitist Jerks » Public Discussion » User Interface and AddOns

Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Looking for a Magtheridon mod/macro Biggdogg User Interface and AddOns 24 06/22/07 5:35 AM
Huhu Macro Darksaber Public Discussion 24 06/09/06 5:26 AM
Macro Fun KGBAgent185 Public Discussion 16 11/05/05 1:24 PM