Use these macros at your own peril! I'm tired of troubleshooting these when I don't play WoW (isn't that funny?). This post was originally just an "fyi" thread, and has turned into something far more sinister. I clean my hands of it!
Mage 2.0 Macros - brought to you by Myrafae of Destromath!
The following changes and macros are by no means comprehensive (yet?).
Important changes:
1. Functions used in /script that cast spells, target, or use items are no longer usable in addons/macros. They are protected and can only be used in Secure Templates.
TO REITERATE!! Before we used functions that did CastSpellByName() or UseInventoryItem() that executed after we did logic; DOING THIS IS NO LONGER POSSIBLE!! We can't check anymore if your nose is bleeding or if iceblock is on cooldown before casting or using items.
2. Spells like Iceblock when cast will trigger a cooldown of 1.5 seconds before you can cancel them, you can circumvent this (safety) measure by clicking off the buff manually or using /cancelaura Ice block
3. If the Rank of Arcane Intellect that you cast on your target is too high for their level, the appropriate highest rank is used.
4. If the first attempted cast in a macro fails, then the all subsequent casts in the macro fail as though the global cooldown were activated. e.g. you cannot have:
Q u o t e:
/cast Ice block
/cast Coldsnap
In the macro, if Iceblock fails, then coldsnap will not be cast.
5. You can no longer automate the selling of items (macro that sells all your gray trash)
6. # and – are comment prefixes for macros.
Q u o t e:
# show <Spell Name/Item Name>
Turns feedback on for that spell.
Q u o t e:
# show none
Turns feedback off.
7. The Question Mark Icon for macros displays the current spell to cast. If you are using
Q u o t e:
/castsequence
this is especially useful.
Most macros in the stickied thread do not work. Most addons will also not work unless updated by the author for 2.0.
Some of these macros need tested; I am unable to do it myself at the moment.
Index:
1. Arcane Missiles Spam
Prevents casting Arcane Missile twice on accident (wasting the first cast).
2. Dismount and Polymorph
Dismount and polymorph only hostile targets.
3. Hybrid Assist
4. TOEP/ZHC + AP + POM + Pyroblast
/use 13 (for top trinket) /use 14 (for bottom trinket)
5. Blink and flip camera
6. Decurse
Decurse yourself and retarget your old target.
7. Iceblock
8. Self Bandaging
9. Sheep Macros
10. Stop Casting and Cast Counterspell
11. Eat/Drink Macro
12. Open Mail
13. Quick Quest Accept
14. Cast Arcane Intellect on Player or Friendly Target
15. Cast Water Elemental and set it to Aggressive and Attack your current Target
16. Cast Water Elemental’s Frost Nova!!
17. Conjure and Use Mana Gems
Macros:
1.
Q u o t e:
/cast [nochanneling:Arcane Missiles] Arcane Missiles
2.
Q u o t e:
/cancelaura [Mount Item Name Here] #e.g. /cancelaura Black War Steed Bridle
/cast [harm,nomounted] Polymorph(Rank 4) #You may need to click twice due to lag
3.
Q u o t e:
/cleartarget
/assist [player name]
4.
Q u o t e:
/stopmacro [help]
/cast Presence of Mind
/stopcasting
/cast Arcane Power
/stopcasting
/use Zandalarian Hero Charm #/use 13 or /use 14 may work as well)
/stopcasting
/cast Pyroblast
This can be used on the run (but the macro needs to hit 4 times):
Q u o t e:
/stopmacro [help]
/castsequence Presence of Mind, Arcane Power, 13, Pyroblast
5.
Q u o t e:
/stopcasting
/cast Blink
/script FlipCameraYaw(180);
6.
Q u o t e:
/cast [target=player] Remove Lesser Curse
Decurse without losing your target (glowey hand)
Q u o t e:
/cast [target=none] Remove Lesser Curse
7.
Cast:
Q u o t e:
/stopcasting
/cast Ice block
Remove:
Q u o t e:
/cancelaura Ice block
Cast and Remove Second Hit
Q u o t e:
/cancelaura Ice Block
/stopcasting
/cast Ice Block
Cast 1st hit, remove second hit AND cast Cold Snap(without Ice Flows)
Q u o t e:
/cancelaura Ice Block
/stopcasting
/castsequence reset=300 Ice Block, Cold Snap
Cast 1st hit, remove second hit AND cast Cold Snap(with Ice Flows)
Q u o t e:
/cancelaura Ice Block
/stopcasting
/castsequence reset=240 Ice Block, Cold Snap
8.
Q u o t e:
/use [target=player] Heavy Runecloth Bandage
9.
All the time:
Q u o t e:
/script if UnitSex("target")==1 then g="female " else g="male " end;s="Sheeping "..g..UnitLevel("target").." %T";c="say";if GetNumRaidMembers()>0 then c="raid" elseif GetNumPartyMembers()>0 then c="party" end;SendChatMessage(s,c)
/cast Polymorph
In a party or raid:
Q u o t e:
/script if UnitSex("target")==1 then g=" Female" else g=" Male" end;s="is sheeping level "..UnitLevel("target")..g.." %T";a=0;if GetPartyMember(1) then a=1;end;if a>0 then SendChatMessage(s,"EMOTE") end;
/cast Polymorph
Whisper people in your party targeting your target:
Q u o t e:
/script u=UnitIsUnit;c="Party";t="Target";for i=0,40 do if not u(c..i,"player") then if u(c..i..t,t) then n,r=UnitName(c..i) SendChatMessage("I'm shepherding your target!","WHISPER",this.language,n) end end end
/cast Polymorph
Whisper people in your raid targeting your target:
Q u o t e:
/script u=UnitIsUnit;c="Raid";t="Target";for i=0,40 do if not u(c..i,"player") then if u(c..i..t,t) then n,r=UnitName(c..i) SendChatMessage("I'm shepherding your target!","WHISPER",this.language,n) end end end
/cast Polymorph
Sheep random:
Q u o t e:
/castrandom Polymorph, Polymorph: Pig, Polymorph: Turtle
Sheep with focus (You can resheep your “focus” without changing targets):
Q u o t e:
/focus [modifier:alt/ctrl/shift,harm] target; [target=focus,harm,exists,nodead] focus; [harm] target #Hold <alt> OR <ctrl> OR <shift> to change your focus if your old focus is still alive (or Pick one!)
/cast [target=focus,exists,nodead,harm] Polymorph(Rank 4); Polymorph(Rank 4)
10.
Q u o t e:
/stopcasting
/cast Counterspell
11.
Q u o t e:
/use Conjured Crystal Water
/use Conjured Cinnamon Roll
12.
Opens first item in your inbox.
Q u o t e:
/script GetInboxText(1); TakeInboxItem(1); TakeInboxMoney(1); DeleteInboxItem(1);
13.
Q u o t e:
/script AcceptQuest();
14.
Q u o t e:
/target [harm] player; [target=none] player
/cast Arcane Intellect
15.
Q u o t e:
/cast Summon Water Elemental
/stopmacro [nopet]#due to lag, you may need to click this twice
/petaggressive
/petattack [harm]
16.
Q u o t e:
/click PetActionButton5
17. Casts a Mana gem, or if you hold control, makes mana gems.
Q u o t e:
/castsequence [nomodifier:ctrl] reset=ctrl Mana Ruby, Mana Citrine, Mana Jade, Mana Agate
/castsequence [modifier:ctrl] reset=30 Conjure Mana Ruby, Conjure Mana Citrine, Conjure Mana Jade, Conjure Mana Agate
Continued in my next post.