diff --git a/src/Modules/CalcDefence.lua b/src/Modules/CalcDefence.lua index b37f9cde34..921184f475 100644 --- a/src/Modules/CalcDefence.lua +++ b/src/Modules/CalcDefence.lua @@ -1288,6 +1288,7 @@ function calcs.defence(env, actor) output.AvoidAllDamageFromHitsChance = m_min(modDB:Sum("BASE", nil, "AvoidAllDamageFromHitsChance"), data.misc.AvoidChanceCap) -- other avoidances etc output.BlindAvoidChance = m_min(modDB:Sum("BASE", nil, "AvoidBlind"), 100) + output.ImpaleAvoidChance = m_min(modDB:Sum("BASE", nil, "AvoidImpale"), 100) if modDB:Flag(nil, "SpellSuppressionAppliesToAilmentAvoidance") then local spellSuppressionToAilmentPercent = (modDB:Sum("BASE", nil, "SpellSuppressionAppliesToAilmentAvoidancePercent") or 0) / 100 diff --git a/src/Modules/CalcSections.lua b/src/Modules/CalcSections.lua index ed6efe4828..cae68aca70 100644 --- a/src/Modules/CalcSections.lua +++ b/src/Modules/CalcSections.lua @@ -1698,6 +1698,7 @@ return { { label = "Scorch Avoid Ch.", haveOutput = "ScorchAvoidChance", { format = "{0:output:ScorchAvoidChance}%", { modName = { "AvoidScorch", "AvoidElementalAilments", "AvoidAilments", "AvoidShockAppliesToElementalAilments", "ScorchImmune", "ElementalAilmentImmune" } }, }, }, { label = "Bleed Avoid Ch.", haveOutput = "BleedAvoidChance", { format = "{0:output:BleedAvoidChance}%", { modName = { "AvoidBleed", "AvoidAilments", "BleedImmune" } }, }, }, { label = "Poison Avoid Ch.", haveOutput = "PoisonAvoidChance", { format = "{0:output:PoisonAvoidChance}%", { modName = { "AvoidPoison", "AvoidAilments", "PoisonImmune" } }, }, }, + { label = "Impale Avoid Ch.", haveOutput = "ImpaleAvoidChance", { format = "{0:output:ImpaleAvoidChance}%", { modName = "AvoidImpale" }, }, }, { label = "Curse Avoid Ch.", haveOutput = "CurseAvoidChance", { format = "{0:output:CurseAvoidChance}%", { modName = { "AvoidCurse", "CurseImmune" } }, }, }, { label = "Crit Reduction", haveOutput = "CritExtraDamageReduction", { format = "{0:output:CritExtraDamageReduction}%", { modName = "ReduceCritExtraDamage" }, }, }, { label = "Blind Duration", haveOutput = "SelfBlindDuration", { format = "{0:output:SelfBlindDuration}%", { modName = "SelfBlindDuration" }, }, }, diff --git a/src/Modules/ModParser.lua b/src/Modules/ModParser.lua index f5260b9b5e..c4ba3d8db2 100644 --- a/src/Modules/ModParser.lua +++ b/src/Modules/ModParser.lua @@ -356,6 +356,7 @@ local modNameList = { ["to avoid status ailments"] = "AvoidAilments", ["to avoid bleeding"] = "AvoidBleed", ["to avoid being poisoned"] = "AvoidPoison", + ["to avoid being impaled"] = "AvoidImpale", ["damage is taken from mana before life"] = "DamageTakenFromManaBeforeLife", ["lightning damage is taken from mana before life"] = "LightningDamageTakenFromManaBeforeLife", ["damage taken from mana before life"] = "DamageTakenFromManaBeforeLife",