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.


  • Posts

    • Both are in-game bots. I'm looking for an out-of-game bot ((one that doesn’t require the L2 client).     Hmm, never heard about this bot. Will check, thank you
    • 🎉 L2Mid is back! After a 3-year pause, we’re launching a new Interlude server based on the original Interlude client (old school 😉).   What to expect • The classic Interlude spirit • Old friends, rival clans, and returning legends • A season focused on pure nostalgia   This may be our final Interlude server. (maybe 😉) 🗓️ Opening: December 5, 2025 at 20:00 (GMT+2)   https://l2mid.com
    • Hello, i was wondering if there's a guide on how to add the enchanting armor glow system from  Ertheia or Lindvior to hi5?
    • I imported this file using Unreal Engine 2 Runtime, modified it, saved it back, and then placed it on the client. When I run the game and wear this back accessory, the client crashes!     2025.10.28 03:52:59 OS : Windows XP 5.1 (Build: 2600) CPU : GenuineIntel  Intel(R) Core(TM) i3-6100 CPU @ 3.70GHz @ 3697 MHz 1023MB RAM Video : NVIDIA GeForce GT 730 (3064) PosCode : TS4(273) -119:-62:-1474 4/1 [0] SkeletalMesh MFighter_Fuckl2jangel.MFighter_Fuckl2jangel: Serial size mismatch: Got 383399, Expected 383403 History: LoadObject <- (SkeletalMesh MFighter_Fuckl2jangel.MFighter_Fuckl2jangel 8376427==8376427/8376498 7993028 383403) <- ULinkerLoad::Preload <- PreLoadObjects <- UObject::EndLoad <- UObject::StaticLoadObject <- (Engine.Mesh MFighter_Fuckl2jangel.MFighter_Fuckl2jangel NULL) <- UMeshComponent::LoadMeshComponent <- UMeshContainer::UpdateMeshComponents <- APawn::UpdateMeshComponents <- User::UpdatePawnMeshContainerByItem <- User::UpdatePawnMeshContainer <- User::SetPawnResource <- NCPawnView_InvenItemWnd::OnRButtonDown <- NCVirtualWndMain::SetFocusingWindow <- NCVirtualWndMain::DispatchWndMsg <- NConsoleWnd::DispatchWndMsg <- NConsoleWnd::MasterConsoleEventProcess <- UEngine::InputEvent <- UWindowsViewport::CauseInputEvent <- UWindowsViewport::UpdateInput <- UViewport::ReadInput <- APlayerController::Tick <- ALineagePlayerController::Tick <- TickAllActors <- ULevel::Tick <- (NetMode=0) <- UMasterLevel::Tick <- TickLevel <- UGameEngine::Tick <- UpdateWorld <- MainLoop   I don't know what the reason is. Can you help me?
  • Topics

×
×
  • 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