+ Reply to Thread
Results 1 to 3 of 3

Thread: Avoidance Macro

  1. #1
    Join Date
    Dec 2009
    Location
    Flint, Michigan
    Posts
    971

    Avoidance Macro

    Looking for some guidance on making a macro to display my avoidance as a DK (after DR) currently I'm using

    Code:
    /run print("Your Current avoidance is: ", GetDodgeChance() + GetParryChance() + 2)
    Is this right, the +2 is because I'm NE. Is it that simple after the removal of defense or am I missing something?
    Last edited by leethaxor; 06-24-2011 at 09:57 PM.
    [Today 06:48 PM] Ion:swimming in a natural body of water ISN'T acceptable...it's momentarily tolerable

  2. #2
    Join Date
    Nov 2009
    Location
    WI, USA
    Posts
    2,614
    You forgot base chance to be missed which is 5%. The Night Elf bonus is 2% to be missed.


    For a Night Elf Death Knight your avoidance against a raid boss (level+3):

    GetDodgeChance() + GetParryChance() + 7 - 1.8

    Or you can use a variant of my automatic level scaling macro for unhitable for just the avoidance portion.

    Night Elf, Death Knight
    Code:
    /run u,t=UnitLevel("player"),UnitLevel("target") if t==-1 then t=u+3 end ld,d,p,m=0.2*(u-t),GetDodgeChance(),GetParryChance(),7 DEFAULT_CHAT_FRAME:AddMessage(format("Lvl: "..t.."  Avoid: %.2f%%",d+p+m+ld*3))
    Target something and this will tell you your total avoidance against a non-player. For example if you target a raid boss target dummy it will automatically do the 1.8% reduction for the 3 level difference. If you target a level 87 trash mob while you are level 85, it will automatically do the 1.2% reduction in avoidance to return your actual result. If you were to target yourself it will calculate your avoidance against an equal level target and have no reduction for level difference. I've already set the miss portion of the function to 7 to account for the Night Elf racial.
    "In anything, if you want to go from just a beginner to a pro, you need a montage." /w TankSpot WTB Montage for Raiders.

  3. #3
    Join Date
    Dec 2009
    Location
    Flint, Michigan
    Posts
    971
    thanks
    [Today 06:48 PM] Ion:swimming in a natural body of water ISN'T acceptable...it's momentarily tolerable

+ Reply to Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts