Komnis Posted May 16, 2014 Posted May 16, 2014 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?
0 xdem Posted May 16, 2014 Posted May 16, 2014 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 @Slash Posted May 16, 2014 Posted May 16, 2014 (edited) <mul val="1.10" order="0x30" stat="pAtk"/> the 1.10 means %10 Edited May 16, 2014 by apsdokos
0 Komnis Posted May 16, 2014 Author Posted May 16, 2014 (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 May 18, 2014 by Komnis
0 @Slash Posted May 19, 2014 Posted May 19, 2014 <mul val="0.10" order="0x30" stat="pAtk"/> he will lose p.atk by %90
0 Komnis Posted May 20, 2014 Author Posted May 20, 2014 <mul val="0.10" order="0x30" stat="pAtk"/> he will lose p.atk by %90 mhm... how can i make it to loss 500 p.atk? :P
0 SweeTs Posted May 20, 2014 Posted May 20, 2014 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
0 Komnis Posted May 20, 2014 Author Posted May 20, 2014 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 wow. useful link. ty. :) i will find it on my own then :P lock it :)
Question
Komnis
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