Hello,
I'm creating a new skill but I'm having a small problem.
I did a test caught a skill already existing eg.: Majesty (the dark avenger).
I got the xml that skill and pasted into another xml changing only the name and id of the skill.
Dat files in the client got the skill majesty as base and created the new skill
changing only the ID.
When I enter the game and add the skill on my char it does not appear in the skill window
but in the chat screen writes: The skill was added: ABCDE
Icon is not problem because as I said I have sinned majesty as the skill base changing
id only skillname.dat has nothing there and the Name and skillsound believe too has no problem
Anyone know to say why the skill dont appear in char with the command //add_skill ?
(has nothing to do with putting the skill in the table skill_tree because I do not attribute this skill to a
specific class)
Code: Select all
<skill id="9941" levels="12" name="Zeus Bolt"> <table name="#power">21 31 43 58 75 92 108 115 121 125 129 132</table> <table name="#mpConsume">17 29 39 53 67 83 97 103 108 112 115 116</table> <table name="#magicLvl">14 24 34 44 54 64 74 79 84 89 94 99</table> <set name="magicLvl" val="#magicLvl"/> <set name="lvlDepend" val="1"/> <set name="mpConsume" val="#mpConsume"/> <set name="power" val="#power"/> <set name="target" val="TARGET_AREA"/> <set name="skillRadius" val="200"/> <set name="element" val="1"/> <set name="reuseDelay" val="8000"/> <!-- SHOULD BE 0 --> <set name="hitTime" val="2000"/> <set name="skillType" val="MDAM"/> <set name="operateType" val="OP_ACTIVE"/> <set name="castRange" val="700"/> <set name="effectRange" val="1200"/> <for> </for></skill>
Code: Select all
skillgrp.dat9941 1 0 17 700 1 2.000000 0 icon.skill0279 0 0 0 0 -1 119941 2 0 29 700 1 2.000000 0 icon.skill0279 0 0 0 0 -1 119941 3 0 39 700 1 2.000000 0 icon.skill0279 0 0 0 0 -1 119941 4 0 53 700 1 2.000000 0 icon.skill0279 0 0 0 0 -1 119941 5 0 67 700 1 2.000000 0 icon.skill0279 0 0 0 0 -1 119941 6 0 83 700 1 2.000000 0 icon.skill0279 0 0 0 0 -1 119941 7 0 97 700 1 2.000000 0 icon.skill0279 0 0 0 0 -1 119941 8 0 103 700 1 2.000000 0 icon.skill0279 0 0 0 0 -1 119941 9 0 108 700 1 2.000000 0 icon.skill0279 0 0 0 0 -1 119941 10 0 112 700 1 2.000000 0 icon.skill0279 0 0 0 0 -1 119941 11 0 115 700 1 2.000000 0 icon.skill0279 0 0 0 0 -1 119941 12 0 116 700 1 2.000000 1 E icon.skill0279 0 0 0 0 9 11
Code: Select all
skillname-e.dat9941 1 Zeus Bolt none none none9941 2 Zeus Bolt none none none9941 3 Zeus Bolt none none none9941 4 Zeus Bolt none none none9941 5 Zeus Bolt none none none9941 6 Zeus Bolt none none none9941 7 Zeus Bolt none none none9941 8 Zeus Bolt none none none9941 9 Zeus Bolt none none none9941 10 Zeus Bolt none none none9941 11 Zeus Bolt none none none9941 12 Zeus Bolt none none none