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

    • Where's the proof? I can tell you're a scammer.
    • Where was I called a scammer? Is there any proof, etc.? There are a lot of reviews about our store online, etc. https://zhyk.org/forum/showthread.php?t=1108673
    • U was reported as scammer in your previos topic why u create new topic?
    • 🔍 Inventory 1.0 is a next-generation inventory system that stands out with its special minimal clothing system. Carefully designed and prepared according to the highest standards of your server, it not only enhances your gaming experience but also contributes to your server's infrastructure. ⚙️ Supported: QB-CORE Features: ✅ Instant Delivery: All products you purchase will be instantly assigned to your account as soon as your payment is completed. ✅ Clothing System: With the special animated clothing configurations in your inventory, you will be able to change outfits with ease. Experience a unique roleplaying experience with high-quality animations and customizable clothing options. ✅ Minimalist Inventory System: This inventory system, with its visuals, animations, and mechanics, offers maximum efficiency without overwhelming your screen and limiting your roleplaying experience. It’s designed to be user-friendly while enhancing your roleplaying experience. ✅ Continuous Updates: The content in the inventory is regularly updated with innovative features added. New animations, additional clothing options, and cutting-edge features ensure a fresh and dynamic experience. ✅ Easy Setup and Compatibility: Compatible with QB-CORE, this system is easy to install and optimized for quick integration into your server. It works seamlessly with a simple drag-and-drop method. ✅ Performance Optimization: The system is optimized to avoid low FPS and performance drops. All features of the inventory run smoothly without affecting your server’s performance. ✅ Multilingual Support: With support for different languages, you can cater to an international player base and build a larger community on your server. ✅ Flexible Customization Options: You can fully customize the inventory according to your needs and server rules. Choose between different outfits and animations to create a unique gaming experience. ✅ Comprehensive Help and Support: With 24/7 support, you can quickly resolve any issues you encounter. Our technical support and user guides are always here to assist you. Shop Now! Take your game to the next level with Inventory 1.0  and enjoy its unique features. Get ready to make a real difference in your roleplaying experience!   --------------------------TEBEX: https://matza.tebex.io/package/7174862 --------------------------
  • 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