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
