Skip to content

Commit 587808f

Browse files
LocalIdentityLocalIdentity
andauthored
Fix Resistance Shrine not granting max Chaos Resistance (#9661)
Forgot to add this to both the Shrine mods Co-authored-by: LocalIdentity <localidentity2@gmail.com>
1 parent b68a567 commit 587808f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/Modules/CalcPerform.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,7 @@ local function doActorAttribsConditions(env, actor)
330330
if modDB:Flag(nil, "ResistanceShrine") then
331331
modDB:NewMod("ElementalResist", "BASE", m_floor(50 * shrineEffectMod), "Resistance Shrine")
332332
modDB:NewMod("ElementalResistMax", "BASE", m_floor(10 * shrineEffectMod), "Resistance Shrine")
333+
modDB:NewMod("ChaosResistMax", "BASE", m_floor(10 * shrineEffectMod), "Resistance Shrine")
333334
end
334335
if modDB:Flag(nil, "ResonatingShrine") then
335336
modDB:NewMod("PowerChargesMax", "BASE", m_floor(1 * shrineEffectMod), "Resonating Shrine")
@@ -361,6 +362,7 @@ local function doActorAttribsConditions(env, actor)
361362
if modDB:Flag(nil, "LesserResistanceShrine") then
362363
modDB:NewMod("ElementalResist", "BASE", m_floor(25 * shrineEffectMod), "Lesser Resistance Shrine")
363364
modDB:NewMod("ElementalResistMax", "BASE", m_floor(2 * shrineEffectMod), "Lesser Resistance Shrine")
365+
modDB:NewMod("ChaosResistMax", "BASE", m_floor(2 * shrineEffectMod), "Lesser Resistance Shrine")
364366
end
365367
end
366368
if env.mode_effective then

0 commit comments

Comments
 (0)