Hi,
I've got problem with my shop module. I have NPC that sells Stone Skin Amulets. It works well but amulets have one charge only (in items.xml it's set to 5).
I can't change charges for sold SSA in NPC script ! How to repair this ?
My NPC:
I rep for help
I've got problem with my shop module. I have NPC that sells Stone Skin Amulets. It works well but amulets have one charge only (in items.xml it's set to 5).
I can't change charges for sold SSA in NPC script ! How to repair this ?
My NPC:
Code:
<?xml version="1.0"?>
<npc name="Frodo" access="3" lookdir="2" walkinterval="2000">
<mana now="800" max="800"/>
<health now="200" max="200"/>
<look type="139" head="132" body="79" legs="97" feet="132"/>
<parameters>
<parameter key="module_shop" value="1" />
<parameter key="message_greet" value="Hello |PLAYERNAME|. I sell rings and amulets. Just 'trade' !" />
<parameter key="shop_buyable" value="life ring,2168,300;rime ring,2169,300;stealth ring,2165,200;energy ring,2167,100;might ring,2164,200;sword ring,2207,100;club ring,2209,100;axe ring,2208,100;power ring,2169,300;garlic necklace,2199,300;dragon necklace,2201,300;stone skin amulet,2197,100;protection amulet,2200,1000;elven amulet,2198,500;platinum amulet,2171,2000;scarf,2661,100;amulet of loss,2173,10000" />
</parameters>
</npc>
I rep for help