Jump to content

Question

Posted

i want to add stats in my custom items and edit some but i don't understand how "order" works. i got this weapon for example:

 

<item id="13457" name="Vesper Cutter">
  <for>
    <set val="396" order="0x08" stat="pAtk"/>
    <set val="176" order="0x08" stat="mAtk"/>
    <set val="8" order="0x08" stat="rCrit"/>
    <add val="0" order="0x10" stat="accCombat"/>
    <set val="379" order="0x08" stat="pAtkSpd"/>
    <enchant val="0" order="0x0C" stat="pAtk"/>
    <enchant val="0" order="0x0C" stat="mAtk"/>
  </for>
</item>

 

what is 0x08,0x10,0x0C?

 

how i can make an item give something in %? for example a weapon give 10% p.atk?

8 answers to this question

Recommended Posts

  • 0
Posted

order is the order that the calculation goes in

 

if you want a bugless % the order must be 0x30

 

if you want % increase in CURRENT stats then you can use 0x50 or even higher, but can lead to bugs

  • 0
Posted (edited)

order is the order that the calculation goes in

 

if you want a bugless % the order must be 0x30

 

if you want % increase in CURRENT stats then you can use 0x50 or even higher, but can lead to bugs

i didn't understand... what i have to put in order so it can give the stats i put. what do i have to write for example if i want to add 500 p.atk?

 

<set val="500" order="0x30" stat="pAtk"/>

 

is that correct? why from retail is like 0x08,0x10 etc?

what its of it does?

 

and something more. i noticed there is in most lanes start with "set" and in lane with acc starts with "add" what's the difference?

 

<item id="13457" name="Vesper Cutter">

  <for>

    <set val="396" order="0x08" stat="pAtk"/>

    <set val="176" order="0x08" stat="mAtk"/>

    <set val="8" order="0x08" stat="rCrit"/>

    <add val="0" order="0x10" stat="accCombat"/>

    <set val="379" order="0x08" stat="pAtkSpd"/>

    <enchant val="0" order="0x0C" stat="pAtk"/>

    <enchant val="0" order="0x0C" stat="mAtk"/>

  </for>

</item>

 

how can i make an item when u wear it loss stats?

Edited by Komnis
  • 0
Posted

mhm... how can i make it to loss 500 p.atk? :P

sub stats for - . Well, easiest way to learn is to look at existing xml's. Read armor stats and check it's xml.

 

Also..

 

http://www.l2jserver.com/wiki/Skills

Guest
This topic is now closed to further replies.


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock