Jump to content
  • 0

Skill is gone!


Haziel

Question


  • Group:  Content Moderator
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  639
  • Reputation:   596
  • Joined:  11/25/11
  • Last Seen:  

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?

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  2244
  • Reputation:   182
  • Joined:  11/19/11
  • Last Seen:  

add it to skill_tree.txt in the db folder i think

Link to comment
Share on other sites

  • 0

  • Group:  Content Moderator
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  639
  • Reputation:   596
  • Joined:  11/25/11
  • Last Seen:  

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

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

Anyone have another opinion?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  2244
  • Reputation:   182
  • Joined:  11/19/11
  • Last Seen:  

Whats ur skill sb entry for this skill.

Link to comment
Share on other sites

  • 0

  • Group:  Content Moderator
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  639
  • Reputation:   596
  • Joined:  11/25/11
  • Last Seen:  

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.

Link to comment
Share on other sites

  • 0

  • Group:  Content Moderator
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  639
  • Reputation:   596
  • Joined:  11/25/11
  • Last Seen:  

Sorry about the bump, but, anyone?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  2244
  • Reputation:   182
  • Joined:  11/19/11
  • Last Seen:  

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.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  967
  • Reputation:   53
  • Joined:  11/13/11
  • Last Seen:  

@ TS

hi!

@ data/lua files/skillinfo/skilltreeview.lua

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

Link to comment
Share on other sites

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.

×
×
  • Create New...