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

    • New user panel SOURCE $ 200 for source code. R$ 1000,00 BRL for source code.    
    • Hello everyone, we are one of the top gaming currency stores. We work exclusively with top projects. If you are interested in anything like Adena, Coins, Equip, write to us Discord - pchelacoin Telegram - https://t.me/ipchelacoin BOHPTS, KETRAWARS, EURO-PVP, L2REBORN, E-GLOBAL, LA2DREAM TOP PRICE !!!!!!!
    • L2Elixir – Patch 4 Is Live!   We’re working non-stop, day and night, to deliver the best possible quality and bring back what made L2Elixir special. This project is built with passion, not shortcuts — for the old-school players who remember, and the new ones who want to experience it properly. Thank you for being part of the journey. Together, we’re making L2Elixir great again ❤️ The legends never fade.    ⚙️ General Enabled Class Change service (same class type only) ALT + B → Services → Character Development Enabled Shift + Click on Treasure Chests Players can now identify real chests (Adena, scroll drops) and use Key / Unlock Event deaths now cancel only debuffs, All self buffs are preserved, fixes issues with Root and similar effects Bladedancer class can now log in even when Max Clients (2) is reached. Since an active Bladedancer is not available for every damage dealer and some players tried to abuse this via VPN or a second PC, this feature was added to keep things fair. protections applies, requires testing!    🎒 Items Crystallizing enchanted items now gives the correct increased crystal amount (retail-like behavior) Removed Agathion Seal Bracelet: Rudolph from Santa rewards (Gracia Final item) Added Dualsword Craft Stamp into Milestone Exchange list    🧙 Skills Fixed Banish Undead lethal chance Hot Springs Malaria and similar effects now level up faster while being attacked
  • 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