Any macro you are using today if it was correct before for calculating avoidance will still be correct in 4.2.
Here is my automatic scaling version which translates down to a 100% scale. Target a raid boss target dummy and it will it will do the 2.4% reduction to unhittable and 1.8% reduction to avoidance. Target a level 85 and it will have no reduction. It automatically scales based on your level and your target's level.
If you want to hardcode the target level, you can replace the UnitLevel("target") with the desired level, i.e. 88 for a Cataclysm Raid Boss.
Shield Tank (Non-Night Elf)
Code:
/run u,t=UnitLevel("player"),UnitLevel("target") if t==-1 then t=u+3 end ld,d,p,b,m=0.2*(u-t),GetDodgeChance(),GetParryChance(),GetBlockChance(),5 DEFAULT_CHAT_FRAME:AddMessage(format("Lvl: "..t.." Unhit: %.2f%% Avoid: %.2f%%",d+p+b+m+ld*4,d+p+m+ld*3))
Shield Tank (Night Elf)
Code:
/run u,t=UnitLevel("player"),UnitLevel("target") if t==-1 then t=u+3 end ld,d,p,b,m=0.2*(u-t),GetDodgeChance(),GetParryChance(),GetBlockChance(),7 DEFAULT_CHAT_FRAME:AddMessage(format("Lvl: "..t.." Unhit: %.2f%% Avoid: %.2f%%",d+p+b+m+ld*4,d+p+m+ld*3))
Death Knight (Any Race)
Code:
/run x="player" u,t=UnitLevel(x),UnitLevel("target") if t==-1 then t=u+3 end ld,d,p,m=0.2*(u-t),GetDodgeChance(),GetParryChance(),5 if UnitRace(x)=="Night Elf" then m=m+2 end DEFAULT_CHAT_FRAME:AddMessage(format("Lvl: "..t.." Avoid: %.2f%%",d+p+m+ld*3))
Druid (Any Race)
Code:
/run x="player" u,t=UnitLevel(x),UnitLevel("target") if t==-1 then t=u+3 end ld,d,m=0.2*(u-t),GetDodgeChance(),5 if UnitRace(x)=="Night Elf" then m=m+2 end DEFAULT_CHAT_FRAME:AddMessage(format("Lvl: "..t.." Avoid: %.2f%%",d+m+ld*2))
Bookmarks