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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...