Block Cap macro, anybody care to test it?
Moderators: Fridmarr, Worldie, Aergis, _Chloe
25 posts
• Page 1 of 2 • 1, 2
Block Cap macro, anybody care to test it?
/script DEFAULT_CHAT_FRAME:AddMessage("Need 102.4 combined avoidance. Currently at:",0.8,0.8,1)
/script DEFAULT_CHAT_FRAME:AddMessage(GetDodgeChance()+GetBlockChance()+GetParryChance()+5+(GetCombatRating(CR_DEFENSE_SKILL)*0.20333)*0.04,1,0.5,0)
So this is my amended uncrushable macro with the aim to check how close I am to the block cap. I removed the + 20 Defense from Anticipation. Then converted the old 150/355 (1/2.365 = 0.42283) skill:rating ratio at level 70 to the 1/4.918 (0.20333) ratio at 80.
Anyone doing raids want to give this a try and see if it matches their results?
/script DEFAULT_CHAT_FRAME:AddMessage(GetDodgeChance()+GetBlockChance()+GetParryChance()+5+(GetCombatRating(CR_DEFENSE_SKILL)*0.20333)*0.04,1,0.5,0)
So this is my amended uncrushable macro with the aim to check how close I am to the block cap. I removed the + 20 Defense from Anticipation. Then converted the old 150/355 (1/2.365 = 0.42283) skill:rating ratio at level 70 to the 1/4.918 (0.20333) ratio at 80.
Anyone doing raids want to give this a try and see if it matches their results?
- crabcrouton
- Posts: 341
- Joined: Tue Mar 25, 2008 3:10 am
-

Dork - Posts: 32
- Joined: Thu Nov 06, 2008 1:14 pm
Re: Block Cap macro, anybody care to test it?
crabcrouton wrote:/script DEFAULT_CHAT_FRAME:AddMessage("Need 102.4 combined avoidance. Currently at:",0.8,0.8,1)
/script DEFAULT_CHAT_FRAME:AddMessage(GetDodgeChance()+GetBlockChance()+GetParryChance()+5+(GetCombatRating(CR_DEFENSE_SKILL)*0.20333)*0.04,1,0.5,0)
So this is my amended uncrushable macro with the aim to check how close I am to the block cap. I removed the + 20 Defense from Anticipation. Then converted the old 150/355 (1/2.365 = 0.42283) skill:rating ratio at level 70 to the 1/4.918 (0.20333) ratio at 80.
Anyone doing raids want to give this a try and see if it matches their results?
You might want to replace:
GetCombatRating(CR_DEFENSE_SKILL)*0.20333
with
GetCombatRatingBonus(CR_DEFENSE_SKILL)
This eliminates dealing with ratings, which is good because WoW uses your integer defense skill to calculate the avoidance/block chance it gives, not floating point number you'd get converting your defense rating to skill through multiplication. Answers should be close though.
Edit: What Majiben said. Go 1% to 2% over to account for miss DR.
- Janduin
- Posts: 746
- Joined: Sat Apr 26, 2008 8:57 am
- Location: Geneva
I've been using a macro for this for a long time now, and haven't changed it since 3.0, but I noticed that it's slightly different to the one in this thread, so now I'm not sure if it is right or not. The one I have is:
/script DEFAULT_CHAT_FRAME:AddMessage(string.format("Need 102.4 avoidance. Currently: %s",floor((GetDodgeChance()+GetBlockChance()+GetParryChance()+5+(GetCombatRatingBonus(CR_DEFENSE_SKILL)+UnitDefense("Player")-5*UnitLevel("Player"))*0.04)*100)/100))
- KysenMurrin
- Posts: 6048
- Joined: Thu Jun 26, 2008 6:37 am
- Location: UK
KysenMurrin wrote:I've been using a macro for this for a long time now, and haven't changed it since 3.0, but I noticed that it's slightly different to the one in this thread, so now I'm not sure if it is right or not. The one I have is:/script DEFAULT_CHAT_FRAME:AddMessage(string.format("Need 102.4 avoidance. Currently: %s",floor((GetDodgeChance()+GetBlockChance()+GetParryChance()+5+(GetCombatRatingBonus(CR_DEFENSE_SKILL)+UnitDefense("Player")-5*UnitLevel("Player"))*0.04)*100)/100))
Looks right. The macro I wrote down assumes your base defense skill is maxed out. Yours doesn't, but if you are level 80 and have base defense skill 400, you will notice that:
UnitDefense("Player")-5*UnitLevel("Player") = 400-5*80 = 400-400 = 0
So yours is identical. Note that the 100s at the end of it cancel out and do nothing.
- Janduin
- Posts: 746
- Joined: Sat Apr 26, 2008 8:57 am
- Location: Geneva
Yeah, I was wondering about those 100s... I'd not looked closely at it before, just cut-and-pasted from somewhere (I think a thread on this site, but not sure, might have been wowwiki).
So, the differences just make it work whatever your base defense is at? Good to know.
So, the differences just make it work whatever your base defense is at? Good to know.
- KysenMurrin
- Posts: 6048
- Joined: Thu Jun 26, 2008 6:37 am
- Location: UK
Makes sense. I'll be running Naxx soon so that'll give me a chance to gear up and see just how accurate the modified macro is (if it is 1-2% or wildly 4-5% for example). Thanks everyone.
- crabcrouton
- Posts: 341
- Joined: Tue Mar 25, 2008 3:10 am
Janduin, I modified the macro like you suggested:
/script DEFAULT_CHAT_FRAME:AddMessage("Need 102.4 combined avoidance. Currently at:",0.8,0.8,1)
/script DEFAULT_CHAT_FRAME:AddMessage(GetDodgeChance()+GetBlockChance()+GetParryChance()+5+(GetCombatRatingBonus(CR_DEFENSE_SKILL)*0.04,1,0.5,0)
It seems to not give an output for %. Could you take a look and see what's missing?
/script DEFAULT_CHAT_FRAME:AddMessage("Need 102.4 combined avoidance. Currently at:",0.8,0.8,1)
/script DEFAULT_CHAT_FRAME:AddMessage(GetDodgeChance()+GetBlockChance()+GetParryChance()+5+(GetCombatRatingBonus(CR_DEFENSE_SKILL)*0.04,1,0.5,0)
It seems to not give an output for %. Could you take a look and see what's missing?
- crabcrouton
- Posts: 341
- Joined: Tue Mar 25, 2008 3:10 am
I've been reading more and more of these macros threads looking for one that includes miss% and works with DR. I've come to understand that DR doesn't get counted yet due to macro/addon limitations, and I understand that. What I'm trying to figure out is, is the base miss% included in these macros in the section dealing with defense? And it would also be impacted by DR? (I understand our defense values really suffer DR in miss% just from getting to 54))
Thanks!
Thanks!
-

majorwoo - Posts: 478
- Joined: Tue May 20, 2008 7:24 am
- Location: Atlanta, GA, USA
Macros don't handle non linear equations well. Let me give you some points of reference.
At 810 defense rating you will have 6.59% miss from defense before DR and 4.59% post DR. A 2% lose.
At 690 defense rating you will have 5.61% miss from defense before DR and 4.11% post DR. A 1.5% lose.
Using those numbers you could create a macro that approximates the DR with a linear for people with defense rating between 690 and 810.
At 810 defense rating you will have 6.59% miss from defense before DR and 4.59% post DR. A 2% lose.
At 690 defense rating you will have 5.61% miss from defense before DR and 4.11% post DR. A 1.5% lose.
Using those numbers you could create a macro that approximates the DR with a linear for people with defense rating between 690 and 810.
Amirya wrote:some bizarre lovechild of Hawking, Einstein, and Theck
-

majiben - Moderator
- Posts: 6999
- Joined: Fri Aug 22, 2008 4:37 pm
- Location: Retired
OH GOD i am SOOOO freaking depressed right now, WTF arrgh,
i used a macro from a different post, got to 102.5, was all happy,, i tried adding it up with a pencil didnt add up right, looked for a new macro and now i see yours
and NOOOO im like barely 96%ish, /wrists,
wtf do i do now
i used a macro from a different post, got to 102.5, was all happy,, i tried adding it up with a pencil didnt add up right, looked for a new macro and now i see yours
and NOOOO im like barely 96%ish, /wrists,
wtf do i do now
- steadypal
- Posts: 1206
- Joined: Sat Mar 15, 2008 12:28 pm
steadypal wrote:OH GOD i am SOOOO freaking depressed right now, WTF arrgh,
i used a macro from a different post, got to 102.5, was all happy,, i tried adding it up with a pencil didnt add up right, looked for a new macro and now i see yours
and NOOOO im like barely 96%ish, /wrists,
wtf do i do now
okay re adjusted, and QQ, i lost a bit of avoidance and alot of stam to get over 102.4, i've read to go 1-2% over, so im roughly a tad over 104%,,,
gave up 1340 HP
and about 1.3% dodge
is it worth that much to get over the unhit cap?
- steadypal
- Posts: 1206
- Joined: Sat Mar 15, 2008 12:28 pm
25 posts
• Page 1 of 2 • 1, 2
Return to Add-ons, UI, and Macros
Who is online
Users browsing this forum: Google [Bot] and 2 guests


