We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3955bd2 commit daa8bb8Copy full SHA for daa8bb8
src/Modules/CalcDefence.lua
@@ -3303,7 +3303,7 @@ function calcs.buildDefenceEstimations(env, actor)
3303
}
3304
end
3305
3306
- local enemyCritAilmentEffect = 1 + output.EnemyCritChance / 100 * 0.5 * (1 - output.CritExtraDamageReduction / 100)
+ local enemyCritAilmentEffect = 1 + (output.EnemyCritChance or 0) / 100 * 0.5 * (1 - output.CritExtraDamageReduction / 100)
3307
-- this is just used so that ailments don't always showup if the enemy has no other way of applying the ailment and they have a low crit chance
3308
local enemyCritThreshold = 10.1
3309
local enemyBleedChance = 0
0 commit comments