Useful macros for paladins

Updated for Cataclysm (Patch 4.01)

General Use Macros


Add macros here that can be used regardless of spec

Marking Skull Macro
In Cataclysm, AoE with a target marked skull is a common tactic in mob fights. By both tank and dps focusing on the skull, dps are less likely to get the aggro. In this way the group needs to frequently marking skulls. This macro can help you mark skulls easily. When you press it, it automatically marks your current target as skull:

/script SetRaidTarget("target",8)

Hand of Protection Macro
This macro automatically cast Hand of Protection on your target's target when your target is not your friend. If your target is your friend, it will cast HoP on your target. However, if you press alt with this macro, it will cast HoP on you.

/cast [mod:alt,@player][help][@targettarget,help][] Hand of Protection
 * 1) showtooltip

The same mechanism can be applies on any helpful spell, such as Lay on Hands or Divine Light.

Mouseover Hammer of Justice Macro
If your mouseover is your enemy, the macro will cast Hammer of Justice on it. Otherwise if your current target is enemy, it will cast HoJ on your current target. Otherwise it will display "Invalid Target" on your screen. However, if you press alt with this macro, it will cast HoJ on your focus.

/stopcasting /cast [mod:alt,@focus,exists,harm][@mouseover,exists,harm][] Hammer of Justice
 * 1) showtooltip

The same mechanism can be applies on any ranged harmful spell, such as Repentance.

Self cast Word of Glory without losing a previous target
This macro comes in handy when you don't have time (or that many fingers) to click both Word of Glory spell bind and Self-Cast key (by default it's Alt). This way you will have just one bind. Very useful for Retribution and Protection Paladins while soloing. /cast [@player] Word of Glory
 * 1) showtooltip

Holy Macros
Macros for use with the Holy Paladin Build

Target of Target healing
This will cast Flash of Light on yourself if holding down alt, otherwise if your current target is a friendly target, or if your target's target is a friendly target then cast Flash of Light on them. Flash of Light can be replaced with any other heal (such as Holy Light, Divine Light, Lay on Hands or Word of Glory).

/cast [mod:alt,@player][help,nodead][help,nodead,nomod:alt,@targettarget][] Flash of Light

Focus Healing
Allows the player to heal whatever focus targets (Ex: put focus on a boss and heal boss target). First step: select the non friendly target (boss, miniboss, trash etc, whatever) and use first macro to focus it: /focus [target] Second step: spam this macro to heal whatever the boss, miniboss etc is targeting (mainly should be the tank but if tank loose aggro (aggro lose, fear or other strategy) you auto heal whoever boss is targeting /cast [@focustarget, modifier:alt]Holy Light;[@focustarget] Flash of Light

Aura Mastery Announcer/Timer
/run C1,C2=GetSpellCooldown(31821);C3=GetTime;C4=120-ceil(C3-C1);AM={"Dev","Ret","Conc","Res","LOL"};AM[0]="NO";if(C2==0)then SendChatMessage(AM[GetShapeshiftForm].." Aura Mastery 6s",YELL)else print("AM in "..C4)end; /use Aura Mastery
 * If Aura Mastery is on COOLDOWN ... prints a message to your screen saying "AM in XYZs" (where XYZ is between 1 and 120 for the number of seconds until it is available)
 * If Aura Mastery is AVAILABLE ... Activate AM for you AND (in 1 push for both) /yell to vicinity that "ABC Aura Mastery 6s" where ABC is:
 * "Dev" [Devotion]
 * "Ret" [Retribution]
 * "Conc" [Concentration]
 * "Res" [Resistance]
 * "LOL" [Crusader]
 * "NO" [no aura active])

Notes:
 * Change YELL in the macro to SAY if you want to not shout it, or change the function from SendChatMessage to print (and remove the 2nd argument) to only say it to yourself.
 * As-is the macro is 255 characters, which is why the messages are so terse.

Protection Macros


Macros for use with the Protection Paladin Build

Faceroll Tanking Macro Setup
This tanking macro setup is made to make your tanking as a paladin easier. Like all facerolling macros, this macro setup helps you decide which spell to use, so you can focus on tanking itself. This design is based on the 939 rotation proposed by Theck.

The setup is effective under 4.0.6 and all earlier versions of Cataclysm.

To tank with these macros, simply spam the Main Castsequence macro while paying attention to its cooldown. When a longer (>2 sec) cooldown appears, switch to Branch Castsequence 1 and use it three times before going back to the Main Castsequence macro. The Branch Castsequence 2 is for the rare occasions when both Main Castsequence and Branch Castsequence 1 are cooling down, and it also demands being used three times before going back to the main one.

Main Castsequence (939 Rotation, AoE) : /startattack /castsequence reset=4/combat Hammer of the Righteous, Judgement, Hammer of the Righteous, Avenger's Shield, Hammer of the Righteous, Shield of the Righteous
 * 1) showtooltip

Branch Castsequence 1 : /startattack /castsequence reset=6/combat Consecration, Hammer of the Righteous, Shield of the Righteous
 * 1) showtooltip

Branch Castsequence 2 : /startattack /castsequence reset=6/combat Holy Wrath, Hammer of the Righteous, Shield of the Righteous
 * 1) showtooltip

Advance Use: ISH9 Rotation and WoG Build


You can use ISH9 rotation for single target tanking to maximize the threat. According to Theck, it can increase approximately 1~2% of the threat over 939 rotation. The following variation of main castsequence is ISH9 based. You can use it instead of the 939 Main Castsequence for single target tanking. To save slots, keep using the 939 branch castsequences as fillers:

Main Castsequence (ISH9, single target variation) : /startattack /castsequence reset=4/combat Crusader Strike,Judgement,Crusader Strike,Avenger's Shield,Crusader Strike,Inquisition,Crusader Strike,Judgement,Crusader Strike,Avenger's Shield,Crusader Strike,Shield of the Righteous
 * 1) showtooltip

Furthermore, you can use WoG build for 939 rotation to provide some self healing. To do so, use the following castsequence to replace the 939's main castsequence. This is designed for single target use, because the macro casts Crusader Strike for Holy Power:

/startattack /castsequence reset=4/combat Crusader Strike,Judgement,Crusader Strike,Avenger's Shield,Crusader Strike,Word of Glory
 * 1) showtooltip

Since occasionally casting Hammer of the Righteous instead of Crusader Strike reduces insignificant threat, it does not worth the two slots for Crusader Strike build branch castsequences as fillers. And since players can cast Word of Glory separately on the third pressing of the filler, these branch castsequences can also fit WoG builds. An example of action bar using these macros is shown on the picture, where button ` is Branch Castsequence 2, 1 is Hammer of Wrath, 2 is Main Castsequence (939 Rotation, AoE), 3 is Branch Castsequence 1, 4 is Main Castsequence (ISH9, single target variation). WoG build is not shown here.

Block Cap Calculator (edited for 3.0)
Untested for 4.01. This also includes diminishing returns on miss rating (DR on other values is retrieved directly). /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))

AoE taunt/single tar taunt
This is a simple macro, yet a useful one to reduce hotbar clutter. It combines Righteous Defense and Hand of Reckoning. Just target an enemy target to use Hand of Reckoning and target a friendly player that is under attack for Righteous Defense. /use Hand of Reckoning /use Righteous Defense
 * 1) showtooltip

Retribution Macros
Macros for use with the Retribution Paladin Build

Templar's Verdict
/startattack /cast Rebuke /cast Templar's Verdict
 * 1) showtooltip Templar's Verdict

Crusader Strike
/startattack /cast Rebuke /cast Crusader Strike /cast Judgement /cast Zealotry
 * 1) showtooltip Crusader Strike

Avenging Wrath
/startattack /cast Rebuke /cast Avenging Wrath /cast Hammer of Wrath /cast Judgement /cast Crusader Strike
 * 1) showtooltip Avenging Wrath

Repentance
A useful Macro for CC. /focus [@focus,noexists] [@focus,dead] /stopcasting /cast [@focus] Repentance
 * Tested in 4.2
 * 1) showtooltip Repentance