diff --git a/game/modules/tome/class/Player.lua b/game/modules/tome/class/Player.lua index 1fa21d4fb835ee67a0b91b483b85a8a0a1940f04..f6fa2c8bc52cf0a72435801ed7db302564d05f0d 100644 --- a/game/modules/tome/class/Player.lua +++ b/game/modules/tome/class/Player.lua @@ -975,6 +975,14 @@ function _M:restCheck() end end if ammo and ammo.combat.shots_left < ammo.combat.capacity then return true end + -- Check for detrimental effects + for id, _ in pairs(self.tmp) do + local def = self.tempeffect_def[id] + if def.status == "detrimental" and (def.decrease or 1) > 0 then + return true + end + end + if self:fireTalentCheck("callbackOnRest", "check") then return true end else return true