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

Fixed Lich self-resurrect to work with minions too

parent 52f04e7b
No related branches found
No related tags found
No related merge requests found
......@@ -3986,8 +3986,15 @@ newEffect{
subtype = { lich = true },
status = "neutral",
parameters = { },
callbackOnSummonKill = function(self, t, minion, who, death_note)
if who.rank >= 3.5 then
eff.success = true
self:removeEffect(self.EFF_LICH_HUNGER)
game.bignews:say(120, "#DARK_ORCHID#Lichform regeneration is complete!#{normal}#")
end
end,
callbackOnKill = function(self, eff, who, death_note)
if who.rank >= 3.2 then
if who.rank >= 3.5 then
eff.success = true
self:removeEffect(self.EFF_LICH_HUNGER)
game.bignews:say(120, "#DARK_ORCHID#Lichform regeneration is complete!#{normal}#")
......
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