Jump to content

Question

Posted

Hi guys!

 

Im trying to make some modifications to my ertheia server, i want to make a full npcshop with custom system for buy dragon weapons...

 

I found the Ids in the weapongrp.dat, all the DCW (Dragon Claw Weapons) works fine in game, shows the icon, the stats, etc...

 

But i can't equippe them ):

 

I was looking at the Antharas Dualsword, this is the code:

 

 

 

<item id="36498" name="Antharas Dualsword" additionalName="Top-grade" type="Weapon">
<!-- Dragon's Weapon (Top-grade).\n(Passive)\nIncreases PVP damage by 30%, HP/MP by 100%, CP by 200%, Attack Speed by 1500, P. Critical Rate by 500 and additional damage on dragons by 300%.\n(Used Skill)\n1. Protection: Your movement speed increases by 100 and you become immune to all debuffs for 2 min. Using the skill requires 1 unit of Dragon Blood. Cooldown is 10 min.\n2. Antharas' Breath: Decreases the Attack/Casting/Movement Speed of nearby enemies by 90% and gradually makes their bodies rigid, paralyzing them for 10 seconds eventually. Using the skill requires 1 unit of Dragon Blood. Cooldown is 5 min.\n3. Antharas' Tail Strike: Depletes CP of all enemies nearby. Using the skill consumes 1 unit of Dragon Blood. Cooldown is 5 min.\nCannot be used in the Olympiad or Ceremony of Chaos. Cannot be enchanted, crystallized, modified, or assigned an attribute. -->
<set name="icon" val="icon.weapon_antaras_dual_sword_i01" />
<set name="default_action" val="EQUIP" />
<set name="weight" val="1520" />
<for>
<add stat="pAtk" val="3509.0" />
<add stat="mAtk" val="1257.0" />
<add stat="pAtkSpd" val="325.0" />
<add stat="rCrit" val="8.0" />
</for>
</item>

 
And then i had the idea of check a random item, like short sword, to see the different codes between them:
 

<item id="1" type="Weapon" name="Short Sword">
<set name="icon" val="icon.weapon_small_sword_i00" />
<set name="default_action" val="EQUIP" />
<set name="weapon_type" val="SWORD" />
<set name="bodypart" val="rhand" />
<set name="random_damage" val="10" />
<set name="attack_range" val="40" />
<set name="damage_range" val="0;0;40;120" />
<set name="immediate_effect" val="true" />
<set name="material" val="STEEL" />
<set name="weight" val="1600" />
<set name="price" val="118" />
<set name="soulshots" val="1" />
<set name="spiritshots" val="1" />
<for>
<set stat="pAtk" val="8" />
<set stat="mAtk" val="6" />
<set stat="rCrit" val="8" />
<set stat="pAtkSpd" val="379" />
</for>
</item>


 

The short sword is much more different, i know, but i'm not sure what i must modify...
 
The only thing that stops me is this, the DCW cannot be equipped ):
 
Can you guys help me? From here, i will learn fast to make my own customizations! ^^
 
Thanks in advance

3 answers to this question

Recommended Posts

  • 0
Posted (edited)

Add missing lines, body part, weapon type and such. Basically copy/paste.

 

Yup it worked, damn that was easy... Sorry to bother for this stupid thing, at least i learned something new :D

 

Thanks Sweets!!

Edited by XENEIXE
Guest
This topic is now closed to further replies.


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