Jump to content
  • 0

Skill is gone!


Question

Posted

Hello!

I'm using eAthena on one of last revisions and I'm trying to add a Skill to a Job.

I've made all the Client Stuff.

skillid.lua:

ALL_MYSKILL = 2701,

skillinfolist.lua:

[sKID.ALL_MYSKILL] = {
"ALL_MYSKILL";
SkillName = "My Skill",
MaxLv = 1,
Type = "Quest"
},

skilldescript.lua:

[sKID.ALL_MYSKILL] = {
"My Skill",
"Description : ^777777Cast My Skill.^000000",
},

skilltreeview.lua:

[JOBID.JT_NOVICE] = {
[0] = SKID.NV_BASIC,
[7] = SKID.NV_FIRSTAID,
[14] = SKID.NV_TRICKDEAD,
[21] = SKID.ALL_MYSKILL
},

And it works. The Skill Tree is shown correctly.

When I get the Skill, by @questskill or using npc command skill, it's added, but, if I Logout or change my job, the skill is gone even I came back to a Novice, what's is not to being happen.

Someone have a opinion about it?

7 answers to this question

Recommended Posts

  • 0
Posted

It's done too and proper @reloadskilldb'd.

Do you think it needs to restart Server or anything like?

Anyone have another opinion?

  • 0
Posted

Well, here it goes.

skill_db.txt:

2701,0,6,4,0,0x01,0,1,1,no,0,0x0001,0,none,0, ALL_MYSKILL,My Skill

skill_cast_db.txt:

2701,0,0,1000,0,0,0

skill_tree.txt:

0,2701,1,0,0,0,0,0,0,0,0,0,0 //ALL_MYSKILL#My Skill#

My copilation support 3000 in MAX_SKILL.

The skill is supposed to be a Quest Skill, casted only on Self and with a Cast Time of 1 second.

  • 0
Posted

hmm not sure. Quest skills seems like its tough to make it stay in the job. I tried removing lines to for first aid and it never gets to the point where it dissapears like the custom quest skill.

  • 0
Posted

@ TS

hi!

@ data/lua files/skillinfo/skilltreeview.lua

[0] = {
	{"CLASS_SKILLNAME", SKILL#; Pos = Loc#SkillTree, MaxLv = 1, NeedSkillList = {1,2}},
},

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...