From f92efd8124a40be4349c6998c5a4b32bf3834b93 Mon Sep 17 00:00:00 2001 From: dg <dg@51575b47-30f0-44d4-a5cc-537603b46e54> Date: Mon, 18 Jul 2011 09:16:25 +0000 Subject: [PATCH] Summons can not be permastuck in the Fearscape git-svn-id: http://svn.net-core.org/repos/t-engine4@3898 51575b47-30f0-44d4-a5cc-537603b46e54 --- game/modules/tome/data/talents/corruptions/shadowflame.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/game/modules/tome/data/talents/corruptions/shadowflame.lua b/game/modules/tome/data/talents/corruptions/shadowflame.lua index edef467aff..01d83d895a 100644 --- a/game/modules/tome/data/talents/corruptions/shadowflame.lua +++ b/game/modules/tome/data/talents/corruptions/shadowflame.lua @@ -265,6 +265,11 @@ newTalent{ end end + -- Remove all npcs in the fearscape + for uid, e in pairs(oldlevel.entities) do + if e ~= self and e ~= p.target then e:die() end + end + -- Reload MOs game.level.map:redisplay() -- GitLab