From c31cffc25a32c1922ef6a33d09490ae61c46ef16 Mon Sep 17 00:00:00 2001 From: dg <dg@51575b47-30f0-44d4-a5cc-537603b46e54> Date: Sun, 19 May 2013 17:14:44 +0000 Subject: [PATCH] Learning Flash Bang Trap from the merchant correctly removes gold git-svn-id: http://svn.net-core.org/repos/t-engine4@6744 51575b47-30f0-44d4-a5cc-537603b46e54 --- game/modules/tome/data/chats/last-hope-lost-merchant.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/game/modules/tome/data/chats/last-hope-lost-merchant.lua b/game/modules/tome/data/chats/last-hope-lost-merchant.lua index 4fd63a64be..1031b2ea59 100644 --- a/game/modules/tome/data/chats/last-hope-lost-merchant.lua +++ b/game/modules/tome/data/chats/last-hope-lost-merchant.lua @@ -51,6 +51,7 @@ newChat{ id="traplearn", answers = { {"Thanks.", action=function(npc, player) p:learnTalent(p.T_FLASH_BANG_TRAP, 1, nil, {no_unlearn=true}) + p:incMoney(-3000) game.log("#LIGHT_GREEN#You learn the schematic, you can now create flash bang traps!") end}, } -- GitLab