Hello again, everyone!!!
I'm having a little headache with this script, I'm trying to add some attributes to some itens, but they aren't working when I equip them. Their status tell me they are right, but when I equip them nothing happens, their boosts don't work.
Please, have you guys a look on my script and tell me what I'm doing wrong, please:
19:41 You see ferumbras' hat (Arm:5, magic level +3).
It weighs 8.00 oz.
19:41 You see a deathbringer (magic level +2).
It can only be wielded properly by wizards and druids of level 150 or higher.
It weighs 28.00 oz.
19:42 You see the calamity (Atk:62, Def:30, sword fighting +3).
It can only be wielded properly by warriors of level 100 or higher.
It weighs 160.00 oz.
19:42 You see the epiphany (Atk:55, Def:40, sword fighting +2).
It can only be wielded properly by players of level 120 or higher.
It weighs 45.00 oz.
19:42 You see a wailing widow's necklace (speed +9).
It weighs 8.00 oz.
I'm having a little headache with this script, I'm trying to add some attributes to some itens, but they aren't working when I equip them. Their status tell me they are right, but when I equip them nothing happens, their boosts don't work.
Please, have you guys a look on my script and tell me what I'm doing wrong, please:
19:41 You see ferumbras' hat (Arm:5, magic level +3).
It weighs 8.00 oz.
<item id="5903" name="ferumbras' hat">
<attribute key="weight" value="800"/>
<attribute key="armor" value="5"/>
<attribute key="slotType" value="head"/>
<attribute key="magicpoints" value="3"/>
</item>
19:41 You see a deathbringer (magic level +2).
It can only be wielded properly by wizards and druids of level 150 or higher.
It weighs 28.00 oz.
<item id="13760" article="a" name="deathbringer">
<attribute key="weight" value="2800"/>
<attribute key="weaponType" value="wand"/>
<attribute key="shootType" value="death"/>
<attribute key="magicpoints" value="2"/>
<attribute key="range" value="4"/>
</item>
19:42 You see the calamity (Atk:62, Def:30, sword fighting +3).
It can only be wielded properly by warriors of level 100 or higher.
It weighs 160.00 oz.
<item id="8932" article="the" name="calamity">
<attribute key="weight" value="16000"/>
<attribute key="defense" value="30"/>
<attribute key="attack" value="62"/>
<attribute key="weaponType" value="sword"/>
<attribute key="slotType" value="two-handed"/>
<attribute key="skillSword" value="3"/>
</item>
19:42 You see the epiphany (Atk:55, Def:40, sword fighting +2).
It can only be wielded properly by players of level 120 or higher.
It weighs 45.00 oz.
<item id="8931" article="the" name="epiphany">
<attribute key="weight" value="4500"/>
<attribute key="defense" value="40"/>
<attribute key="attack" value="55"/>
<attribute key="weaponType" value="sword"/>
<attribute key="skillSword" value="2"/>
</item>
19:42 You see a wailing widow's necklace (speed +9).
It weighs 8.00 oz.
<item id="11329" article="a" name="wailing widow's necklace">
<attribute key="weight" value="800"/>
<attribute key="slotType" value="necklace"/>
<attribute key="speed" value="18"/>
<attribute key="showattributes" value="1"/>
</item>