From 70ceabb13b515aaaa0d7b379aec8bb88deecc342 Mon Sep 17 00:00:00 2001 From: DarkGod <darkgod@net-core.org> Date: Tue, 21 Jul 2020 18:17:04 +0200 Subject: [PATCH] Fixed Neverending Unlife --- game/modules/tome/data/talents/undeads/lich.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game/modules/tome/data/talents/undeads/lich.lua b/game/modules/tome/data/talents/undeads/lich.lua index 12029f4ef8..791afdda8e 100644 --- a/game/modules/tome/data/talents/undeads/lich.lua +++ b/game/modules/tome/data/talents/undeads/lich.lua @@ -27,7 +27,7 @@ newTalent{ getDieAt = function(self, t) return math.ceil(self:combatTalentLimit(t, 150, 20, 100)) end, getTurns = function(self, t) return math.ceil(self:combatTalentLimit(t, 300, 50, 150)) end, passives = function(self, t, p) - self:talentTemporaryValue(p, "die_at", t.getDieAt(self, t)) + self:talentTemporaryValue(p, "die_at", -t.getDieAt(self, t)) end, callbackOnDeathbox = function(self, t, dialog, list) if not self.lich_first_rez then -- GitLab