l2topzone.com
l2topzone.com

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

0 Members and 1 Guest are viewing this topic.

OfflineDestiny

  • Full Member
  • ***
  • Posts: 218
  • L2topzone Votes: 0
  • Servers reviews: 0
  • Reputation: +482/-0
    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



    Linkback: https://l2topzone.com/forum/l2-guides/6/add-custom-stats-armorandweapons/500/

    OfflineHeRoMaN

    • Full Member
    • ***
    • Posts: 136
    • L2topzone Votes: 0
    • Servers reviews: 0
    • Reputation: +876/-0
    • 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...

    OfflineDragoN.

    • L2 Glorious
    • Sr. Member
    • ****
    • Posts: 424
    • L2topzone Votes: 0
    • Servers reviews: 0
    • Reputation: +1385/-0
      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

      OfflineDownUnder

      • Hero Member
      • *****
      • Posts: 1485
      • L2topzone Votes: 6
      • Servers reviews: 0
      • Reputation: +3236/-0
      • http://www.l2cyber.eu
        • 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:)


      Share via diggShare via facebookShare via linkedinShare via myspaceShare via redditShare via twitter
       


      Sitemap