Hi L2Topzone,
I'll show you how to add custom stats in your weapons and armor. So let's start
1)You have to find the id for the item you want( go C:\Server\gameserver\data\stats\armor or C:\Server\gameserver\data\stats\weapon)
Then press right click and then edit.
For example i will change the status of dynasty armor.
:Dynasty Breastplate Heavy:
<item id='9416' name="Dynasty Breastplate Heavy">
<for>
<add val='219' order='0x10' stat='pDef'/>
<enchant val='0' order='0x0C' stat='pDef'/>
</for>
then change it to this
<item id='9416' name="Dynasty Breastplate Heavy">
<for>
<add val='425' order='0x10' stat='pDef'/>
<add val='500' order='0x10' stat='maxHp'/>
<add val='500' order='0x10' stat='pAtk'/>
<add val='20' order='0x10' stat='accCombat'/>
<add val='25' order='0x10' stat='runSpd'/>
<add val='60' order='0x10' stat='rCrit'/>
<add val='100' order='0x10' stat='maxMp'/>
<add val='150' order='0x10' stat='pAtkSpd'/>
<add val='500' order='0x10' stat='mDef'/>
<add val='290' order='0x10' stat='maxCp'/>
<enchant val='0' order='0x0C' stat='pDef'/>
</for>
Now if you wear dynasty armor heavy you will have extra status
Here is one weapon example
<item id='9445' name="dynasty bow">
<for>
<set val='634' order='0x08' stat='pAtk'/>
<set val='140' order='0x08' stat='mAtk'/>
<set val='12' order='0x08' stat='rCrit'/>
<add val='-3' order='0x10' stat='accCombat'/>
<set val='293' order='0x08' stat='pAtkSpd'/>
<enchant val='0' order='0x0C' stat='pAtk'/>
<enchant val='0' order='0x0C' stat='mAtk'/>
<!-- Enhances damage to target during PvP -->
<mul val='1.05' order='0x30' stat='pvpPhysDmg'/>
<mul val='1.05' order='0x30' stat='pvpMagicalDmg'/>
</for>
and you can add
<item id='9907' name="dynasty bow">
<for>
<set val='1000' order='0x08' stat='pAtk'/>
<set val='450' order='0x08' stat='mAtk'/>
<set val='16' order='0x08' stat='rCrit'/>
<add val='2100' order='0x10' stat='maxHp'/>
<add val='1900' order='0x10' stat='maxCp'/>
<add val='800' order='0x10' stat='maxMp'/>
<add val='-3' order='0x10' stat='accCombat'/>
<set val='500' order='0x08' stat='pAtkSpd'/>
<enchant val='0' order='0x0C' stat='pAtk'/>
<enchant val='0' order='0x0C' stat='mAtk'/>
<!-- Enhances damage to target during PvP -->
<mul val='1.05' order='0x30' stat='pvpPhysDmg'/>
<mul val='1.05' order='0x30' stat='pvpMagicalDmg'/>
</for>
I hope that the topic was helpful:) Have fun
Linkback: https://l2topzone.com/forum/index.php?topic=500.0