Skip to content
Snippets Groups Projects
Commit 0b0fc917 authored by DarkGod's avatar DarkGod
Browse files

animus restinf fixed

parent 27e8c4b2
No related branches found
No related tags found
No related merge requests found
......@@ -854,7 +854,7 @@ function _M:restCheck()
if self:getParadox() > 0 and self:getParadox() > self.min_paradox and self:isTalentActive(self.T_SPACETIME_TUNING) then return true end
if self.life < self.max_life and self.life_regen> 0 then return true end
for act, def in pairs(game.party.members) do if game.level:hasEntity(act) and not act.dead then
if act.life < act.max_life and act.life_regen> 0 then return true end
if act.life < act.max_life and act.life_regen > 0 and not act:attr("no_life_regen") then return true end
end end
if ammo and ammo.combat.shots_left < ammo.combat.capacity and ((self:hasEffect(self.EFF_RELOADING)) or (ammo.combat.ammo_every and ammo.combat.ammo_every > 0)) then return true end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment