Skip to content
Snippets Groups Projects
Commit 2ae54751 authored by DarkGod's avatar DarkGod
Browse files

Dying in Exploration mode no longer heals all foes

parent 71204118
No related branches found
No related tags found
No related merge requests found
game/modules/tome/data/gfx/shockbolt/npc/undead_skeleton_director_hompalan.png

7.37 KiB

......@@ -165,10 +165,13 @@ function _M:eidolonPlane()
game.log("#LIGHT_RED#You have %s left.", (self.actor:attr("easy_mode_lifes") and self.actor:attr("easy_mode_lifes").." life(s)") or "no more lives")
end
local is_exploration = game.permadeath == game.PERMADEATH_INFINITE
self:cleanActor(self.actor)
self:resurrectBasic(self.actor)
for uid, e in pairs(game.level.entities) do
self:restoreResources(e)
if not is_exploration or game.party:hasMember(e) then
self:restoreResources(e)
end
end
local oldzone = game.zone
......
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