Differences From
Artifact [68440cd05e]:
48 48 {'',itemname,''};
49 49 };
50 50 }
51 51 };
52 52 };
53 53 })
54 54 end
55 + gem.durability = gem.durability or (gem.hardness or 1) * 100
55 56 if not gem.foreign_amulet then
56 57 local img = sorcery.lib.image
57 58 local img_stone = img('sorcery_amulet.png'):multiply(sorcery.lib.color(gem.tone))
58 59 local img_sparkle = img('sorcery_amulet_sparkle.png')
59 60 local useamulet = function(stack,user,target)
60 61 local sp = sorcery.amulet.getspell(stack)
61 62 if not sp or not sp.cast then return nil end