Jump to content
  • 0

Skill Xml (Armorset)


Question

Posted

Hey guys I have a problem with xmls i read the guide but i've seen some items xml and i did that : 

<skill id="8196" levels="1" name="My armor set">
   <set name="target" val="TARGET_SELF"/>
  <set name="skillType" val="BUFF"/>
  <set name="operateType" val="OP_PASSIVE"/>
  <for>
        <add order="0x10" stat="STR" val="2"/>
	<add order="0x10" stat="DEX" val="1"/>
	<add order="0x10" stat="CON" val="2"/>
	<add order="0x40" stat="runSpd" val="12"/>
	<add order="0x40" stat="accCombat" val="3"/>
   	<sub order="0x40" stat="atkReuse" val="0.07"/>
	<mul order="0x30" stat="debuffVuln" val="0.7"/>
	<add order="0x40" stat="pSkillEvas" val="1"/>
	<add order="0x40" stat="cAtk" val="0.12"/>
	<add order="0x40" stat="runSpd" val="7"/>
	<add order="0x40" stat="rEvas" val="2"/>
	<add order="0x40" stat="pSkillEvas" val="1"/>
	<mul order="0x30" stat="pDef" val="1.033"/> <!-- P. Def. +3.3% -->
        <add order="0x40" stat="darkRes" val="10"> <!-- ELE Resistance + -->
        <add order="0x40" stat="fireRes" val="10"/> <!-- ELE Resistance + -->
        <add order="0x40" stat="waterRes" val="10"/> <!-- ELE Resistance + -->
        <add order="0x40" stat="holyRes" val="10"/> <!-- ELE Resistance + -->
        <add order="0x40" stat="earthRes" val="10"/> <!-- ELE Resistance + -->
        <add order="0x40" stat="windRes" val="10"/> <!-- ELE Resistance + -->
  </for>
</skill>

but i get an error , any help would be great!

 

Thanks

7 answers to this question

Recommended Posts

  • 0
Posted

Hey guys I have a problem with xmls i read the guide but i've seen some items xml and i did that : 

<skill id="8196" levels="1" name="My armor set">
   <set name="target" val="TARGET_SELF"/>
  <set name="skillType" val="BUFF"/>
  <set name="operateType" val="OP_PASSIVE"/>
  <for>
        <add order="0x10" stat="STR" val="2"/>
	<add order="0x10" stat="DEX" val="1"/>
	<add order="0x10" stat="CON" val="2"/>
	<add order="0x40" stat="runSpd" val="12"/>
	<add order="0x40" stat="accCombat" val="3"/>
   	<sub order="0x40" stat="atkReuse" val="0.07"/>
	<mul order="0x30" stat="debuffVuln" val="0.7"/>
	<add order="0x40" stat="pSkillEvas" val="1"/>
	<add order="0x40" stat="cAtk" val="0.12"/>
	<add order="0x40" stat="runSpd" val="7"/>
	<add order="0x40" stat="rEvas" val="2"/>
	<add order="0x40" stat="pSkillEvas" val="1"/>
	<mul order="0x30" stat="pDef" val="1.033"/> <!-- P. Def. +3.3% -->
        <add order="0x40" stat="darkRes" val="10"> <!-- ELE Resistance + -->
        <add order="0x40" stat="fireRes" val="10"/> <!-- ELE Resistance + -->
        <add order="0x40" stat="waterRes" val="10"/> <!-- ELE Resistance + -->
        <add order="0x40" stat="holyRes" val="10"/> <!-- ELE Resistance + -->
        <add order="0x40" stat="earthRes" val="10"/> <!-- ELE Resistance + -->
        <add order="0x40" stat="windRes" val="10"/> <!-- ELE Resistance + -->
  </for>
</skill>

but i get an error , any help would be great!

 

Thanks

 
        <add order="0x40" stat="darkRes" val="10"> <!-- ELE Resistance + --> you forgot to close the argument change it to -> 
 
        <add order="0x40" stat="darkRes" val="10"/> <!-- ELE Resistance + -->
  • 0
Posted (edited)

In addition, you mess the order value, add and mul has other value, so use proper one.

Don't confuse him with b*shits his order and values are fine.

Edited by 'Hater
  • 0
Posted

Holy waka moly yea that was the problem... Could you help me outwith adding custom stats on weapons that are being used?

<?xml version='1.0' encoding='utf-8'?>
<list>

<item id='weaponID' name="Weapon Name">
  <for>
    <set val='388' order='0x08' stat='pAtk'/>
    <set val='132' order='0x08' stat='mAtk'/>
    <set val='10' order='0x08' stat='rCrit'/>
    <add val='0' order='0x10' stat='accCombat'/>
    <set val='325' order='0x08' stat='pAtkSpd'/>
    <enchant val='0' order='0x0C' stat='pAtk'/>
    <enchant val='0' order='0x0C' stat='mAtk'/>
    <mul val='1.15' order='0x30' stat='maxHp'>
		<and>
			<using slotitem="weaponID;14;4"/>
		</and>
	</mul>
	<mul val='1.2' order='0x30' stat='maxMp'>
		<and>
			<using slotitem="weaponID;14;4"/>
		</and>
	</mul>
    <mul val='1.3' order='0x30' stat='maxCp'>
		<and>
			<using slotitem="weaponID;14;4"/>
		</and>
	</mul>
	<!-- Enhances damage to target during PvP -->
    <mul val='1.05' order='0x30' stat='pvpPhysDmg'/>
    <mul val='1.05' order='0x30' stat='pvpMagicalDmg'/>
  </for>
</item>

</list>

That's an example of a weapon with custom stats..It gives stats to the weapon but in addition it adds stats when the weapon is enchanted to a certain amount.

  • 0
Posted (edited)

Don't confuse him with b*shits his order and values are fine.

Looks like I'm blind, as I saw add everywhere. :lol:

Edited by SweeTs

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Posts

    • I just found it funny that you reversed the reverse engineer champions. They won't like this for sure.    Anyway, the project vision is very good it is aligned with what the players need and want something that both e-global and l2reborn has failed to provide. These are stable projects, they are not good "games". And players play "games" they don't play "projects".  When no good "games" exist, they flock towards good "projects". Lineage 2 private scene has produced decent projects the last years, but no decent "game". I hope you are the first ones to do so.   Generally there are two axis that Lineage 2 needs to evolve on. Modern gaming concepts and the need to respect the aging player's time. So far, most projects treat these aspects as taboo, they seem so afraid to deviate from what they call "true" Lineage 2. But the reality is that times change, you can't stay static forever, you have to evolve. NCSoft failed,they are not paving the way no more. It is us now, the collective community that have to pave our own pathways. WoW has went the same way, private projects took initiative because the company (while not failed) could not steer the game towards what players want and need in 2026.    For that reason I believe your project is going towards the right direction. The four keystones listed in the vision is what I believe is the community really needs but clearly doesn't understand it wants, because noone so far has give them a glimspe of what is beyond their retail-like garden.    I personally don't respect projects like reborn and e-global. As "games", they are simply trash, regardless of their high professionalism as endeavors. They lack innovation, they lack creativity, they are simply good software products,     
    • Giving up has never been part of my mindset. I respect projects like Reborn and E-Global they've earned their reputation. But every successful project started with people saying it would fail. If everyone gave up because there was competition, nothing new would ever exist. Skepticism is completely fair, and I'm not asking anyone to blindly believe in promises. Judge us by what we release, not by assumptions. That's exactly why we're taking our time instead of rushing something unfinished. At the end of the day, time will tell. I'd rather try to build something different and fail than never try at all.
    • Good luck beating projects like reborn eglobal and other crap l can bet you will give up after 1 year or first grand opening after online drops😁  l am very sceptical if honestly, at least run test server first or make something to show 🙂
    • Dunno, I have a friend who's really good at reverse engineering, so I don't really see a reason for anyone to be mad about it. At the end of the day, if someone has the skills and knowledge to do something, that's just part of the scene. 
    • O boy are the russians gonna get mad now that you connected to their client 😛
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..