Otari98 / BetterCharacterStats

More useful character statistics AddOn for World of Warcraft 1.12
3 stars 0 forks source link

Avoidance formula #2

Closed Szwedowski closed 1 month ago

Szwedowski commented 1 month ago

Hello. I saw that you added new field into Defenses table - Avoidance. From code it calculated as text:SetText(format("%.2f%%", (GetBlockChance() + GetParryChance() + GetDodgeChance()))) But this not correctly, also miss chance should added. I don't know the exact formula of miss chance, but this is it : base miss chance + 0,04 * (Defence - 300).

I added some screenshots of gear planner Wowhead and Sixtyupgrades (Classic versions for 60 lvl character) for Paladin in the same gear. image image image

Szwedowski commented 1 month ago

I also found this info about miss change https://github.com/magey/classic-warrior/wiki/Attack-table#miss

Otari98 commented 1 month ago

I will look into it, thank you

Otari98 commented 1 month ago

Fixed in the latest commit adeacc0530f1c92f0dd1594b91b56f69b0b1005f Thank you for your report

Szwedowski commented 1 month ago

One small comment: the avoidance cap is 102.4%

    local total = missChance + (GetBlockChance() + GetParryChance() + GetDodgeChance())
    if total > 100 then total = 100 end
Otari98 commented 1 month ago

How can you avoid more than 100% of something?

Szwedowski commented 1 month ago

100% avoidance is cap, when you are attacked by mob of the same lvl as you. The extra 2.4% is come from fighting with boss who has 63 lvl. So you need to reach 102,4% avoidance to be uncritable by raid boss, bigger numbers don't make sense since there are no mobs higher than 63 lvl. Why exacly 2,4% -> 3 lvl diffrence = 15 AttackerSkill -> 0,04 15 = 0,6% reduction for miss chance/block/dodge/parry -> 0,6 4 =2,4% in total

Otari98 commented 1 month ago

All stats in this addon calculated assuming you are fighting target of your level