From 2fb8e2bff638b57dc7ad7e5b44fff06eb145d5d2 Mon Sep 17 00:00:00 2001 From: dg <dg@51575b47-30f0-44d4-a5cc-537603b46e54> Date: Thu, 3 Feb 2011 15:52:39 +0000 Subject: [PATCH] Socketing your golem does not use the whole pile of gems git-svn-id: http://svn.net-core.org/repos/t-engine4@2631 51575b47-30f0-44d4-a5cc-537603b46e54 --- game/modules/tome/data/chats/alchemist-golem.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game/modules/tome/data/chats/alchemist-golem.lua b/game/modules/tome/data/chats/alchemist-golem.lua index 7882b8c1f5..c4016b9f4c 100644 --- a/game/modules/tome/data/chats/alchemist-golem.lua +++ b/game/modules/tome/data/chats/alchemist-golem.lua @@ -58,7 +58,7 @@ local change_gem = function(npc, player, gemid) player:showInventory("Select a gem for your golem.", inven, function(o) return o.type == "gem" and o.material_level and o.material_level <= player:getTalentLevelRaw(player.T_GEM_GOLEM) end, function(o, item) player:removeObject(inven, item, true) local gems = golem:getInven("GEM") - local old = golem:removeObject(gems, gemid, true) + local old = golem:removeObject(gems, gemid) if old then player:addObject(inven, old) end -- Force "wield" -- GitLab