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

Add Attribute to item

potinho

Intermediate OT User
Joined
Oct 11, 2009
Messages
1,397
Solutions
17
Reaction score
148
Location
Brazil
Hello guys,

Im hosting a 7.6 server and wand to add a attribute to item, example:

I have a shield and want to add 10% magical defense on it. How can i do it?
 
Solution
I have a VIP shield and want to add 10% magical defense on it (sd, ue, spells from monsters, etc)


<item id="3973" article="a" name="extreme shield">
<attribute key="weight" value="6900"/>
<attribute key="defense" value="65"/>
<attribute key="weaponType" value="shield"/>
</item>
Post automatically merged:

Add
<attribute key="absorbPercentMagic" value="10" />
I have a VIP shield and want to add 10% magical defense on it (sd, ue, spells from monsters, etc)


<item id="3973" article="a" name="extreme shield">
<attribute key="weight" value="6900"/>
<attribute key="defense" value="65"/>
<attribute key="weaponType" value="shield"/>
</item>
Post automatically merged:

@potinho I think I could help ya, I just gotta understand what you mean with 10% magical defence?

Example of item with magical defence.
 
I have a VIP shield and want to add 10% magical defense on it (sd, ue, spells from monsters, etc)


<item id="3973" article="a" name="extreme shield">
<attribute key="weight" value="6900"/>
<attribute key="defense" value="65"/>
<attribute key="weaponType" value="shield"/>
</item>
Post automatically merged:

Add
<attribute key="absorbPercentMagic" value="10" />
 
Solution
Add
<attribute key="absorbPercentMagic" value="10" />

Thanks Bro, thumbs up for you <3
Post automatically merged:

@Fifflaren worked for a helmet i created, it gave a 2 skill shielding points:

<item id="2474" article="a" name="winged helmet">
<attribute key="description" value="It's the Helmet of Hermes."/>
<attribute key="weight" value="1200"/>
<attribute key="armor" value="10"/>
<attribute key="skillShield" value="2"/>
<attribute key="absorbPercentPhysical" value="15"/>
<attribute key="slotType" value="head"/>


But for legs attributes dont increase skills:

<item id="2507" name="elven legs">
<attribute key="weight" value="3300"/>
<attribute key="armor" value="10"/>
<attribute key="skillShield" value="2"/>
<attribute key="skillSword" value="2"/>
<attribute key="skillClub" value="2"/>
<attribute key="skillAxe" value="2"/>
<attribute key="skillDist" value="2"/>
<attribute key="slotType" value="legs"/>
</item>
Post automatically merged:

Added to movements.xml and worked xD
 
Last edited:
Thanks Bro, thumbs up for you <3
Post automatically merged:

@Fifflaren worked for a helmet i created, it gave a 2 skill shielding points:

<item id="2474" article="a" name="winged helmet">
<attribute key="description" value="It's the Helmet of Hermes."/>
<attribute key="weight" value="1200"/>
<attribute key="armor" value="10"/>
<attribute key="skillShield" value="2"/>
<attribute key="absorbPercentPhysical" value="15"/>
<attribute key="slotType" value="head"/>


But for legs attributes dont increase skills:

<item id="2507" name="elven legs">
<attribute key="weight" value="3300"/>
<attribute key="armor" value="10"/>
<attribute key="skillShield" value="2"/>
<attribute key="skillSword" value="2"/>
<attribute key="skillClub" value="2"/>
<attribute key="skillAxe" value="2"/>
<attribute key="skillDist" value="2"/>
<attribute key="slotType" value="legs"/>
</item>
Post automatically merged:

Added to movements.xml and worked xD

Ye cuz otherwise the game doesn't know that it should do anything on equip :p
 
Back
Top