Author Topic: How to add custom stats in armor&weapons.  (Read 1761 times)

0 Members and 1 Guest are viewing this topic.

Offline Destiny

  • Full Member
  • ***
  • Posts: 224
  • Country: Greece.
  • Reputation: 482
  • Gender: Male
How to add custom stats in armor&weapons.
« on: February 10, 2010, 12:33:45 PM »
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



Offline HeRoMaN

  • Full Member
  • ***
  • Posts: 166
  • Country: Greece.
  • Reputation: 876
  • Gender: Male
  • L2J Server Developer
    • WwW.L2-Justice.Tk
Re: How to add custom stats in armor&weapons.
« Reply #1 on: February 10, 2010, 12:57:04 PM »
Hmmmm Very UseFull Guide For Newbies...

Offline fAKEONE

  • Sr. Member
  • ****
  • Posts: 415
  • Country: Greece.
  • Reputation: 1385
  • Gender: Male
  • Fallen Love!
Re: How to add custom stats in armor&weapons.
« Reply #2 on: May 05, 2010, 09:34:09 PM »
Yeep i have Question if you can help me with one good npc im need npc for l2j archid buffer

Offline DownUnder™

  • L2TopZone Staff
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1452
  • Country: Greece.
  • Reputation: 3236
  • Gender: Male
  • Κι ας μη φαίνεται, ο άνθρωπος μετατρέπεται εύκολα
    • Just Press Here ;-)
Re: How to add custom stats in armor&weapons.
« Reply #3 on: June 04, 2010, 12:23:21 PM »
Yeep i have Question if you can help me with one good npc im need npc for l2j archid buffer
offtopic!
use Private Message:)