From 070ebdfb14b6d7a1a1552bc196994bf2c49e4373 Mon Sep 17 00:00:00 2001
From: DarkGod <darkgod@net-core.org>
Date: Sun, 22 Jun 2014 23:30:46 +0200
Subject: [PATCH] Animus Purge can not be used on creatures with special death
 scripts

---
 game/modules/tome/data/talents/spells/animus.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/game/modules/tome/data/talents/spells/animus.lua b/game/modules/tome/data/talents/spells/animus.lua
index 338626d00c..049bca302f 100644
--- a/game/modules/tome/data/talents/spells/animus.lua
+++ b/game/modules/tome/data/talents/spells/animus.lua
@@ -103,7 +103,7 @@ newTalent{
 		if not x or not y then return nil end
 		self:project(tg, x, y, function(px, py)
 			local m = game.level.map(px, py, Map.ACTOR)
-			if not m or not m.max_life or not m.life then return end
+			if not m or not m.max_life or not m.life or m.on_die then return end
 
 			if game.party and game.party:hasMember(self) then
 				for act, def in pairs(game.party.members) do
-- 
GitLab