Welcome, Guest. Please login or register.
Did you miss your activation email?
September 07, 2010, 04:05:57 AM
 
   Home   Help Arcade Search Login Register  

Pages: [1]   Go Down
  Print  
Author Topic: How to add custom stats in armor&weapons.  (Read 524 times)
0 Members and 1 Guest are viewing this topic.
Destiny
Full Member
***
Reputation Power: 3
Destiny has no influence.

Offline Offline

Gender: Male

Greece Greece

Posts: 150

Referrals: 0


« 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 Smiley
 
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

Logged



Uploaded with ImageShack.us
L2Topzone.com
« on: February 10, 2010, 12:33:45 PM »


 Logged
HeRoMaN
Full Member
***


Reputation Power: 8
HeRoMaN has no influence.

Offline Offline

Gender: Male

Greece Greece

Posts: 166

Referrals: 1

L2J Server Developer


WWW
« Reply #1 on: February 10, 2010, 12:57:04 PM »

Hmmmm Very UseFull Guide For Newbies...
Logged
L2Topzone.com
« Reply #1 on: February 10, 2010, 12:57:04 PM »


 Logged
Sokras
Sr. Member
****


Reputation Power: 12
Sokras has no influence.

Offline Offline

Gender: Male

Turkey Turkey

Posts: 390

Referrals: 0

Fallen Love!


« Reply #2 on: May 05, 2010, 08:34:09 PM »

Yeep i have Question if you can help me with one good npc im need npc for l2j archid buffer
Logged

L2Topzone.com
« Reply #2 on: May 05, 2010, 08:34:09 PM »


 Logged
ÐøwnUиde®™
Forum Assistant
Hero Member
*****


Reputation Power: 17
ÐøwnUиde®™ has no influence.

Offline Offline

Gender: Male

Greece Greece

Posts: 546

Referrals: 6

L][Cyber Owner


WWW
« Reply #3 on: June 04, 2010, 11:23:21 AM »

Yeep i have Question if you can help me with one good npc im need npc for l2j archid buffer
offtopic!
use Private Message:)
Logged




L2Topzone.com
« Reply #3 on: June 04, 2010, 11:23:21 AM »


 Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 0.095 seconds with 31 queries.