@@ -745,7 +745,6 @@ local function doActorMisc(env, actor)
745745 modDB :NewMod (" LifeRegenPercent" , " BASE" , 5 * effect , " Consecrated Ground" )
746746 modDB :NewMod (" CurseEffectOnSelf" , " INC" , - 50 * effect , " Consecrated Ground" )
747747 modDB :NewMod (" Accuracy" , " INC" , m_floor (modDB :Sum (" INC" , nil , " ConsecratedGroundAlsoAccuracy" ) * effect ), " Consecrated Ground" )
748- enemyDB :NewMod (" DamageTaken" , " INC" , m_floor (enemyDB :Sum (" INC" , nil , " DamageTakenConsecratedGround" ) * effect ), " Consecrated Ground" )
749748 end
750749 if modDB :Flag (nil , " Condition:PhantasmalMight" ) then
751750 modDB .multipliers [" BuffOnSelf" ] = (modDB .multipliers [" BuffOnSelf" ] or 0 ) + (output .ActivePhantasmLimit or 1 ) - 1 -- slight hack to not double count the initial buff
@@ -3397,6 +3396,12 @@ function calcs.perform(env, skipEHP)
33973396 end
33983397 end
33993398
3399+ -- Handle consecrated ground effects on enemies
3400+ if enemyDB :Flag (nil , " Condition:OnConsecratedGround" ) then
3401+ local effect = 1 + modDB :Sum (" INC" , nil , " ConsecratedGroundEffect" ) / 100
3402+ enemyDB :NewMod (" DamageTaken" , " INC" , m_floor (enemyDB :Sum (" INC" , nil , " DamageTakenConsecratedGround" ) * effect ), " Consecrated Ground" )
3403+ end
3404+
34003405 -- Defence/offence calculations
34013406 calcs .defence (env , env .player )
34023407 if not skipEHP then
0 commit comments