Jump to content

[Guide]How to add custom stats in armor&weapons


Recommended Posts

Hi mxC !!!!!!!

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

 

Gredist by me friend = Destiny*

Link to comment
Share on other sites

Please somebody move this, this is L2Off section and this is L2J stuff.

Wish to! haha

 

In topic:

Reshared millions times and more detailed, and its quite easy...

You should refer all the available stats you could change, anyway..

Link to comment
Share on other sites

  • 1 year later...

Sorry for bringing up old posts.

But i tried this now at my server.

 

Don't work at all, when i edit the stats and restart server my armor is deleted? Cant see it.

Link to comment
Share on other sites

  • 2 weeks later...
  • 4 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...