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

eq add up def

IMac

entrepreneur
Joined
May 31, 2009
Messages
2,482
Reaction score
16
Location
Pluto
how can i make it so that instead of taking higest def it adds it together for example:
shield= 2% resistant against physical dmg
armor= 4% resistant against physical dmg

instead of just using the armor for having higest %
it will add it up
2+4=6 so the char will have 6% dmg agaisnt physical atks
 
Armor:
XML:
<attribute key="absorbPercentPhysical" value="4"/>

Shield:
XML:
<attribute key="absorbPercentPhysical" value="2"/>

?
 
Last edited:
You don't use "+" in items.xml.
Position Numbers and Negative Numbers only. (6 or -6)

Code:
<attribute key="absorbPercentPhysical" value="2"/> -- YOU GET HURT LESS 2%
<attribute key="absorbPercentPhysical" value="-2"/> -- YOU GET HURT MORE 2%
 
You don't use "+" in items.xml.
Position Numbers and Negative Numbers only. (6 or -6)

Code:
<attribute key="absorbPercentPhysical" value="2"/> -- YOU GET HURT LESS 2%
<attribute key="absorbPercentPhysical" value="-2"/> -- YOU GET HURT MORE 2%

so if i make armor 2 and shield 2 it will be 4 less?
 
Back
Top