• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Help Please

Werewolf

Forbidden Ascension
Joined
Jul 15, 2012
Messages
886
Reaction score
123
Okay So.... in Data/items/items.xml

I have this Ring script.

<item id="2208" article="an" name="Minor Ring Of Attack">
<attribute key="weight" value="90"/>
<attribute key="slotType" value="ring"/>
<attribute key="skillsPercentFist" value="110"/>
<attribute key="skillsPercentSword" value="110"/>
<attribute key="skillsPercentAxe" value="110"/>
<attribute key="skillsPercentClub" value="110"/>
<attribute key="skillsPercentDist" value="110"/>
</item>

This Was the old Axe ring, but i changed it.
The Sparkly Axe ring is here.

<item id="2211" article="an" name="Major Ring Of Attack">
<attribute key="weight" value="90"/>
<attribute key="slotType" value="ring"/>
<attribute key="skillFistPercent" value="120"/>
<attribute key="skillSwordPercent" value="120"/>
<attribute key="skillAxePercent" value="120"/>
<attribute key="skillClubPercent" value="120"/>
<attribute key="skillDistPercent" value="120"/>
</item>

For some reason, nether of these rings work, Also when i /i command the 2211 (Sparkly one)
Is gives me 2208 (non sparkly) one instead, But clearly i got rid of the deequipt/equipt part of these rings..


Inside Movments.xml I have the rings as:

<movevent type="Equip" itemid="2208" slot="ring" event="function" value="onEquipItem"/>
<movevent type="DeEquip" itemid="2208" slot="ring" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="2211" slot="ring" event="function" value="onEquipItem"/>
<movevent type="DeEquip" itemid="2211" slot="ring" event="function" value="onDeEquipItem"/>

As far as i know this is right,

What im trying to get at, is that the rings worked fine before, The 2208 ring works good if i take away the percentage values, But the 2211 i cannot get ingame, from putting on the map, as loot, or spawning it... always becomes 2208, But i want the Rings to both work perfectly And give me Skills in %. Can anyone tell me where im going wrong?
 
Back
Top