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

Animus Purge can not be used on creatures with special death scripts

parent d19eb373
No related branches found
No related tags found
No related merge requests found
...@@ -103,7 +103,7 @@ newTalent{ ...@@ -103,7 +103,7 @@ newTalent{
if not x or not y then return nil end if not x or not y then return nil end
self:project(tg, x, y, function(px, py) self:project(tg, x, y, function(px, py)
local m = game.level.map(px, py, Map.ACTOR) 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 if game.party and game.party:hasMember(self) then
for act, def in pairs(game.party.members) do for act, def in pairs(game.party.members) do
......
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