• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Rings/Amulet Charges.

Radyck

New Member
Joined
Dec 23, 2008
Messages
99
Reaction score
1
Hello, my server i have a problem something serious. The amulets which have protection as Magma Amulet, Stone Skin Amulet not spent are infinite.

15:28 You see a lightning pendant (protection energy +20%, earth -10%) that has 1 charge left.
It can only be wielded properly by master sorcerers and elder druids.
It weighs 5.00 oz.

Look now in Items.xml

<item id="7889" article="a" name="lightning pendant">
<attribute key="weight" value="500" />
<attribute key="slotType" value="necklace" />
<attribute key="showcharges" value="5" />
<attribute key="absorbPercentEnergy" value="20" />
<attribute key="absorbPercentEarth" value="-10" />
<attribute key="showattributes" value="1" />
</item>

Maybe do you need movements.xml

<movevent type="Equip" itemid="7889" slot="necklace" event="function" value="onEquipItem">
<vocation name="Master Sorcerer"/>
<vocation name="Elder Druid"/>
</movevent>
<movevent type="DeEquip" itemid="7889" slot="necklace" event="function" value="onDeEquipItem"/>

Its is an example. But all Amulets didn't spent.
Please anyone help me.
 
Last edited:
i see ur item dont have charge add charge
XML:
<attribute key="charges" value="5" />
<attribute key="showcharges" value="1" />

showcharge = meens do you want to show yes or no
yes = 1
no = 0
 
Back
Top