diff --git a/src/Modules/CalcPerform.lua b/src/Modules/CalcPerform.lua index 5f27cef2..e6c092b9 100644 --- a/src/Modules/CalcPerform.lua +++ b/src/Modules/CalcPerform.lua @@ -613,6 +613,7 @@ local function doActorMisc(env, actor) local minStacks = m_min(modDB:Sum("BASE", nil, "MinimumFortification"), maxStacks) local stacks = modDB:Override(nil, "FortificationStacks") or (alliedFortify > 0 and alliedFortify) or (minStacks > 0 and minStacks) or maxStacks output.FortificationStacks = stacks + output.FortificationStacksOver20 = m_min(m_max(0, stacks - 20), maxStacks - 20) if not modDB:Flag(nil,"Condition:NoFortificationMitigation") then local effectScale = 1 + modDB:Sum("INC", nil, "BuffEffectOnSelf") / 100 local effect = m_floor(effectScale * stacks) diff --git a/src/Modules/ModParser.lua b/src/Modules/ModParser.lua index ef2e7365..d2efdc57 100644 --- a/src/Modules/ModParser.lua +++ b/src/Modules/ModParser.lua @@ -1389,6 +1389,7 @@ local modTagList = { ["per (%d+)%% missing cold resistance, up to a maximum of (%d+)%%"] = function(num, _, limit) return { tag = { type = "PerStat", stat = "MissingColdResist", div = num, globalLimit = tonumber(limit), globalLimitKey = "ReplicaNebulisCold" } } end, ["per endurance, frenzy or power charge"] = { tag = { type = "PerStat", stat = "TotalCharges" } }, ["per fortification"] = { tag = { type = "PerStat", stat = "FortificationStacks" } }, + ["per fortification above 20"] = { tag = { type = "PerStat", stat = "FortificationStacksOver20" } }, ["per totem"] = { tag = { type = "PerStat", stat = "TotemsSummoned" } }, ["per summoned totem"] = { tag = { type = "PerStat", stat = "TotemsSummoned" } }, ["for each summoned totem"] = { tag = { type = "PerStat", stat = "TotemsSummoned" } },