Macro Sticky
Moderators: Fridmarr, Worldie, Aergis, _Chloe
Macro Sticky
Please post your Macros here if you like. This should be the centralized thread asking for help and/or posting your own macros. Please do not spam/troll this sticky just like the others. This is a work in progress.
Last Updated: March 31, 2009
AVOIDANCE MACROS
1) Unhittable (paladins, warriors). This is the same one as above, slightly reworked - includes dodge + parry + miss + block. Should spit out the same numbers as the one above.
Tauren:
4) Just miss. This gives you your diminished miss chance by itself.
If you're a night elf, add on another 2% from your racial Quickness (base chance to be missed of 7% instead of 5%). There isn't enough room in a macro do make that determination, so you'll have to do it yourself.
If you're a druid or deathknight using macros that include block and parry chance, those will return as zero for you - the reported chances will be correct.
Sources:
http://elitistjerks.com/1053037-post335.html
http://www.tankspot.com/forums/f63/4000 ... dance.html
http://www.tankspot.com/forums/f120/446 ... acros.html
Last Updated: March 31, 2009
AVOIDANCE MACROS
1) Unhittable (paladins, warriors). This is the same one as above, slightly reworked - includes dodge + parry + miss + block. Should spit out the same numbers as the one above.
- Code: Select all
/run ChatFrame1:AddMessage(format("Unhittable at 102.4%% - you have %.2f%%", GetDodgeChance() + GetBlockChance() + GetParryChance() + 5 + 1/(0.0625 + 0.956/(GetCombatRating(CR_DEFENSE_SKILL)/4.91850*0.04))))
- Code: Select all
/run ChatFrame1:AddMessage(format("Total avoidance: %.2f%%", GetDodgeChance() + GetParryChance() + 5 + 1/(0.0625 + 0.956/(GetCombatRating(CR_DEFENSE_SKILL)/4.91850*0.04))))
Tauren:
- Code: Select all
/run ChatFrame1:AddMessage(format("Total avoidance: %.2f%%", GetDodgeChance() + 5 + 1/(0.0625 + 0.956/(GetCombatRating(CR_DEFENSE_SKILL)/4.91850*0.04))))
- Code: Select all
/run ChatFrame1:AddMessage(format("Total avoidance: %.2f%%", GetDodgeChance() + 7 + 1/(0.0625 + 0.956/(GetCombatRating(CR_DEFENSE_SKILL)/4.91850*0.04))))
4) Just miss. This gives you your diminished miss chance by itself.
- Code: Select all
/run ChatFrame1:AddMessage(format("Chance to be missed: %.2f%%", 5 + 1/(0.0625 + 0.956/(GetCombatRating(CR_DEFENSE_SKILL)/4.91850*0.04))))
- Code: Select all
/run local b,d,p,r,a=GetBlockChance(),GetDodgeChance(),GetParryChance(),GetCombatRating(CR_DEFENSE_SKILL) a=1/(.0625+.956/(r/122.9625)) ChatFrame1:AddMessage(format("Unhittable: %.2f%% Avoidance: %.2f%% Defense %+.0f rating",b+d+p+5+a,d+p+5+a,r-689))
- Code: Select all
/run ChatFrame1:AddMessage(format("Avoidance with Stoneskin Gargoyle: %.2f%%", GetDodgeChance() + GetParryChance() + 6 + 1/(0.0625 + 0.956/(floor(GetCombatRatingBonus(CR_DEFENSE_SKILL))*0.04))))
If you're a night elf, add on another 2% from your racial Quickness (base chance to be missed of 7% instead of 5%). There isn't enough room in a macro do make that determination, so you'll have to do it yourself.
If you're a druid or deathknight using macros that include block and parry chance, those will return as zero for you - the reported chances will be correct.
Sources:
http://elitistjerks.com/1053037-post335.html
http://www.tankspot.com/forums/f63/4000 ... dance.html
http://www.tankspot.com/forums/f120/446 ... acros.html
Last edited by _Chloe on Mon Mar 16, 2009 1:19 pm, edited 3 times in total.
-

_Chloe - Moderator
- Posts: 945
- Joined: Fri Dec 07, 2007 6:36 pm
Rotations
696 Macros:
3)Faceroll
4)????????
5)Profit
Raid Markings
Note: There are several mod that do this but they can also be easily key bound within the game's key bindings menu.
Max Camera Zoom
696 Macros:
- Code: Select all
Macro 1 for 6 second Cooldowns:
/castsequence reset=6 Hammer of the Righteous, Shield of Righteousness
Macro 2 for 9 second Cooldowns:
/castsequence reset=9 Holy Shield, Judgement of Wisdom, Consecration
3)Faceroll
4)????????
5)Profit
Raid Markings
- Code: Select all
/script SetRaidTargetIcon("target", NUMBER );
Where NUMBER equals the following:
> 0 = no icon
> 1 = Yellow 4-point Star
> 2 = Orange Circle
> 3 = Purple Diamond
> 4 = Green Triangle
> 5 = White Crescent Moon
> 6 = Blue Square
> 7 = Red "X" Cross
> 8 = White Skull
Note: There are several mod that do this but they can also be easily key bound within the game's key bindings menu.
- Code: Select all
Escape > Key Bindings > Raid Markings.
Max Camera Zoom
- Code: Select all
/run SetCVar("cameraDistanceMax",50)
Last edited by _Chloe on Thu Mar 19, 2009 1:10 pm, edited 3 times in total.
-

_Chloe - Moderator
- Posts: 945
- Joined: Fri Dec 07, 2007 6:36 pm
Hand Spells
Hand of Protection Style Taunt:
Hand of Salvation Taunt (Last Resort):
Note: These macros make it so you cannot cast it on yourself by accident
Hand of Protection Style Taunt:
- Code: Select all
/stopmacro [help]
/targettarget
/targetplayer
/targetlasttarget
/stopmacro [harm]
/cast [help] Hand of Protection
/targetlastenemy
Hand of Salvation Taunt (Last Resort):
- Code: Select all
/stopmacro [help]
/targettarget
/targetplayer
/targetlasttarget
/stopmacro [harm]
/cast [help] Hand of Salvation
/targetlastenemy
Note: These macros make it so you cannot cast it on yourself by accident
Last edited by _Chloe on Mon Mar 16, 2009 1:18 pm, edited 1 time in total.
-

_Chloe - Moderator
- Posts: 945
- Joined: Fri Dec 07, 2007 6:36 pm
Time to Wintergrasp
- Code: Select all
/run local t,h,m,s; t=GetWintergraspWaitTime(); h=floor(t/60/60); m=floor((t-h*60*60)/60); s=floor(t-h*60*60-m*60);DEFAULT_CHAT_FRAME:AddMessage(h..":"..m..":"..s);
-

_Chloe - Moderator
- Posts: 945
- Joined: Fri Dec 07, 2007 6:36 pm
I think this macro is extremely useful and should be added to the list:
This effectively allows you to taunt your target's target with your 3 man taunt which is only castable on friendly targets. Saves you from changing target.
On that note, i am hopelessly bad at macros, and would like a little advice on creating one. Not sure if i should ask here or make a post, so i shall do bost, pretending that the REAL reason i made this post was to post a helpful macro
The macros i want to make are effectively the same as the one i have posted above, except that they cast Hand of Salvation or Protection instead of taunting. However, i am reluctant to simply replace "Righteous Defense" with "Hand of Protection" because if i am a split second out, and the boss decides it wants to pummel me rather then the cloth mage after all, i will cast BoP on myself. NOT GOOD! I was just wondering if there was a clause you could enter that could perhaps prevent the spell from being ast on yourself. I have some vague idea that i could do something like: "Get targettarget, if self=true, end macro" or somesuch, but i have no idea how i would word it properly.
So: Thank you in advance and kudos for a great topic!
- Code: Select all
#showtooltip
/cast [help] Righteous Defense; [target=targettarget,help] Righteous Defense
This effectively allows you to taunt your target's target with your 3 man taunt which is only castable on friendly targets. Saves you from changing target.
On that note, i am hopelessly bad at macros, and would like a little advice on creating one. Not sure if i should ask here or make a post, so i shall do bost, pretending that the REAL reason i made this post was to post a helpful macro
The macros i want to make are effectively the same as the one i have posted above, except that they cast Hand of Salvation or Protection instead of taunting. However, i am reluctant to simply replace "Righteous Defense" with "Hand of Protection" because if i am a split second out, and the boss decides it wants to pummel me rather then the cloth mage after all, i will cast BoP on myself. NOT GOOD! I was just wondering if there was a clause you could enter that could perhaps prevent the spell from being ast on yourself. I have some vague idea that i could do something like: "Get targettarget, if self=true, end macro" or somesuch, but i have no idea how i would word it properly.
So: Thank you in advance and kudos for a great topic!
- Inaam
- Posts: 7
- Joined: Tue Jul 22, 2008 2:22 pm
Majiben wrote:Is there a way to tell an activity to occur only if there was no modifier?
Also could you briefly go over scroll over macros?
- Code: Select all
/cast [nomodifier] spellname(rank X)
First off, the parameter used to make a macro target the mouseover target is [mouseover]. The form is (for a spell):
- Code: Select all
/cast [mouseover] spellname(rank X)
Now, there are actually several ways to get a mouseover target. As far as I am aware, you can use mouse over any unit frame in the game to acquire a mouseover target. In addition, you can mouse over character models in the game itself and it will function equally well. I personally tend to use frames for friendly spells, like SS and heals, and then mouse over actual models for hostile spells, like taunts, AS, etc...
You can use mouseover macros to add flexibility to most any spells that require a target. I currently use mouseovers for all heals, beacon, cleanse, SS, taunts, and hand spells. Branching out from my paladin I use a macro that either shield bashes or pummels my mouseover target (if nothing is moused over, then just my target), pending the stance on my warrior. I also have a charge/intervene macro set up with mouseover parameters as well.
Here are just a few of the macros I use personally:
- Code: Select all
#showtooltip
/cast [button:2,target=player] [target=mouseover,exists] [] Holy Shock
- Code: Select all
#showtooltip
/cast [target=mouseover,exists,help,nodead] [help,nodead,exists] Righteous Defense; Hand of Reckoning
- Code: Select all
#showtooltip
/cast [button:2,target=player] [target=mouseover,exists] [help,exists] [target=targettarget,help,exists] [] Sacred Shield
- Kethion
- Posts: 228
- Joined: Wed Jan 23, 2008 6:14 am
Combining modifiers and mouseover is very efficient. Here's my Add Pickup macro for Sarth3D :
- Code: Select all
#showtooltip
/use [modifier=shift,target=mouseover,harm] Avenger's Shield; [modifier:ctrl,target=mouseover,harm] Hand of Reckoning; [modifier:alt,target=mouseover,help] Hand of Protection; [target=mouseover] Righteous Defense
-

culhag - Maintankadonor
- Posts: 1662
- Joined: Wed Aug 06, 2008 7:50 am
- Location: France
I'm having a somewhat difficult time getting my 9 second cooldown macro to work.
My 6 second cooldown macro is working fine, but for some odd reason the macro for 9's locks down after Holy Shield and I can't figure out why. I've tried just going with the basic castsequence and removing my reset options, but to no avail. Any help would be appreciated. Maybe I'm missing an option enabled in my interface?
- Code: Select all
/castsequence reset=combat/shift Holy shield, Judgement of Light, Consecrate
My 6 second cooldown macro is working fine, but for some odd reason the macro for 9's locks down after Holy Shield and I can't figure out why. I've tried just going with the basic castsequence and removing my reset options, but to no avail. Any help would be appreciated. Maybe I'm missing an option enabled in my interface?
Secta - 0/53/18 - US Mug'thol <Relic>
- Garsu
- Posts: 2
- Joined: Thu Mar 19, 2009 10:37 am
Return to Add-ons, UI, and Macros
Who is online
Users browsing this forum: No registered users and 3 guests

