• 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!

Need Amulet Help

Dkadsfe

Member
Joined
Apr 1, 2016
Messages
280
Reaction score
22
Code:
    <item id="10221" article="a" name="Stranger Amulet">
        <attribute key="description" value="5 Prestiges and up!." />
        <attribute key="weight" value="700" />
        <attribute key="slotType" value="necklace" />
        <attribute key="preventDrop" value="1"/>
        <attribute key="absorbPercentall" value="3" />
        <attribute key="showcharges" value="0" />
    </item>
Hi how do i make this amulet act as an aol but for 3 uses and the absorb damage is unlimited charges?
 
movements.xml handles all the equipment a player can wear, you can create scripts that provide whatever your heart desires to the item, provided you know how to code it.
I have the movements.xml scripted but its not letting me add more charges to it, i also dont lose the amulet if i die and i lose my items
 
Update!
Code:
    </item>
    <item id="10221" article="a" name="Stranger Amulet">
        <attribute key="description" value="5 Prestiges and up!." />
        <attribute key="weight" value="700" />
        <attribute key="slotType" value="necklace" />
        <attribute key="preventDrop" value="1"/>
        <attribute key="showcharges" value="1" />
        <attribute key="charges" value="5"/>
    </item>
How do i make the charges only 5? because when i make this item it gives 100 charges instead of 5 charges
 
Stone Skin Amulet Example:
1.2
Code:
    <item id="2197" article="a" name="stone skin amulet">
        <attribute key="weight" value="700" />
        <attribute key="slotType" value="necklace" />
        <attribute key="charges" value="5" />
        <attribute key="showcharges" value="1" />
        <attribute key="absorbPercentPhysical" value="80" />
        <attribute key="absorbPercentDeath" value="80" />
        <attribute key="showattributes" value="1" />
    </item>

8.6
Code:
    <item id="2197" article="a" name="stone skin amulet">
        <attribute key="weight" value="760" />
        <attribute key="slotType" value="necklace" />
        <attribute key="charges" value="5" />
        <attribute key="showcharges" value="1" />
        <attribute key="absorbPercentPhysical" value="80" />
        <attribute key="absorbPercentDeath" value="80" />
        <attribute key="showattributes" value="1" />
    </item>

Basically these examples from the 2 different distros are the same, the order could be an issue idk really.

Your item
Code:
    <item id="10221" article="a" name="Stranger Amulet">
        <attribute key="description" value="5 Prestiges and up!." />
        <attribute key="weight" value="700" />
        <attribute key="slotType" value="necklace" />
        <attribute key="preventDrop" value="1"/>
        <attribute key="showcharges" value="1" />
        <attribute key="charges" value="5"/>
    </item>

Adapt your item to the above 2 examples and see what you come up with.
 
Back
Top