Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion src/Modules/CalcPerform.lua
Original file line number Diff line number Diff line change
Expand Up @@ -770,7 +770,7 @@ local function doActorMisc(env, actor)
if modDB:Flag(nil, "Condition:OnConsecratedGround") then
local effect = 1 + modDB:Sum("INC", nil, "ConsecratedGroundEffect") / 100
modDB:NewMod("LifeRegenPercent", "BASE", 5 * effect, "Consecrated Ground")
modDB:NewMod("CurseEffectOnSelf", "INC", -50 * effect, "Consecrated Ground")
--modDB:NewMod("CurseEffectOnSelf", "INC", -50 * effect, "Consecrated Ground") -- Moved to L3087
modDB:NewMod("Accuracy", "INC", m_floor(modDB:Sum("INC", nil, "ConsecratedGroundAlsoAccuracy") * effect), "Consecrated Ground")
end
if modDB:Flag(nil, "Condition:PhantasmalMight") then
Expand Down Expand Up @@ -3084,6 +3084,13 @@ function calcs.perform(env, skipEHP)
end
end

-- Consecrated Ground grants 50% reduced Effect of Curses on you
-- Moved curse reduction here so it properly affects curse effect on player
if env.mode_combat and modDB:Flag(nil, "Condition:OnConsecratedGround") then
local effect = 1 + modDB:Sum("INC", nil, "ConsecratedGroundEffect") / 100
modDB:NewMod("CurseEffectOnSelf", "INC", -50 * effect, "Consecrated Ground")
end

-- Check for extra curses
for dest, modDB in pairs({[curses] = modDB, [minionCurses] = env.minion and env.minion.modDB}) do
for _, value in ipairs(modDB:List(nil, "ExtraCurse")) do
Expand Down
Loading