Skip to content
Snippets Groups Projects
Commit 4dbf2d5f authored by dg's avatar dg
Browse files

Fix a bug with Extract Gem

git-svn-id: http://svn.net-core.org/repos/t-engine4@2926 51575b47-30f0-44d4-a5cc-537603b46e54
parent 4bb8d3ab
No related branches found
No related tags found
No related merge requests found
......@@ -67,6 +67,7 @@ newTalent{
no_npc_use = true,
action = function(self, t)
self:showEquipInven("Try to extract gems from which metallic item?", function(o) return o.metallic and (o.material_level or 1) <= self:getTalentLevelRaw(t) end, function(o, inven, item)
if not o then return end
self:removeObject(inven, item)
local level = o.material_level or 1
......
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