Someone can help me?
Script of npc:
Script of the item in item.xml:
![6zv1.png](/proxy.php?image=https%3A%2F%2Fimageshack.com%2Fscaled%2Flarge%2F29%2F6zv1.png&hash=c6833f20197d10afd2a749e759557a0a)
Script of npc:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<npc name="Master Vip Seller" script="data/npc/scripts/default.lua" walkinterval="2000" floorchange="0">
<health now="100" max="100"/>
<look type="128" head="114" body="114" legs="91" feet="0" addons="3"/>
<parameters>
<parameter key="module_shop" value="1"/>
<parameter key="shop_buyable" value="Master Backpack,11244,50000;Master Vip Shield,7460,5000000;Master Vip Sword,2446,10000000;Master vip staff,2453,10000000;Master Vip Crossbow,8849,10000000;Master Vip Club,7432,10000000;Master vip arrow,12716,10000000;Master vip axe,2447,10000000"/>
</parameters>
1</npc>
Script of the item in item.xml:
Code:
<item id="12716" article="a" name="Master Vip Arrow" plural="Master Vip Arrows">
<attribute key="weight" value="80" />
<attribute key="slotType" value="ammo" />
<attribute key="attack" value="300" />
<attribute key="maxHitChance" value="90" />
<attribute key="weaponType" value="ammunition" />
<attribute key="ammoType" value="bolt" />
<attribute key="shootType" value="sniperarrow" />
<attribute key="ammoAction" value="removecount" />
</item>