From 4cd97aec14bbc42156bdd81e5d92b2383aea30ed Mon Sep 17 00:00:00 2001 From: dg <dg@51575b47-30f0-44d4-a5cc-537603b46e54> Date: Sun, 26 May 2013 15:22:38 +0000 Subject: [PATCH] oups git-svn-id: http://svn.net-core.org/repos/t-engine4@6781 51575b47-30f0-44d4-a5cc-537603b46e54 --- game/modules/tome/data/talents/misc/horrors.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/game/modules/tome/data/talents/misc/horrors.lua b/game/modules/tome/data/talents/misc/horrors.lua index 4ed99855a6..03bbc1894a 100644 --- a/game/modules/tome/data/talents/misc/horrors.lua +++ b/game/modules/tome/data/talents/misc/horrors.lua @@ -689,10 +689,12 @@ newTalent{ -- Find an actor with that filter local m = false + local no_inven = true local list = mod.class.NPC:loadList("/data/general/npcs/horror.lua") if self.is_akgishil and rng.percent(10) and not self.summoned_distort then m = list.DISTORTED_BLADE:clone() self.summoned_distort=1 + no_inven = false else m = list.ANIMATED_BLADE:clone() end @@ -700,7 +702,7 @@ newTalent{ m.exp_worth = 0 m:resolve() m:resolve(nil, true) - m:forgetInven(m.INVEN_INVEN) + if no_inven then m:forgetInven(m.INVEN_INVEN) end m.summoner = self m.summon_time = 1000 -- GitLab