Haziel Posted November 26, 2011 Posted November 26, 2011 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? Quote
0 Judas Posted November 26, 2011 Posted November 26, 2011 add it to skill_tree.txt in the db folder i think Quote
0 Haziel Posted November 26, 2011 Author Posted November 26, 2011 It's done too and proper @reloadskilldb'd. Do you think it needs to restart Server or anything like? Anyone have another opinion? Quote
0 Judas Posted November 26, 2011 Posted November 26, 2011 Whats ur skill sb entry for this skill. Quote
0 Haziel Posted November 26, 2011 Author Posted November 26, 2011 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. Quote
0 Haziel Posted November 29, 2011 Author Posted November 29, 2011 Sorry about the bump, but, anyone? Quote
0 Judas Posted November 29, 2011 Posted November 29, 2011 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. Quote
0 KeiKun Posted November 29, 2011 Posted November 29, 2011 @ TS hi! @ data/lua files/skillinfo/skilltreeview.lua [0] = { {"CLASS_SKILLNAME", SKILL#; Pos = Loc#SkillTree, MaxLv = 1, NeedSkillList = {1,2}}, }, Quote
Question
Haziel
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:
skillinfolist.lua:
skilldescript.lua:
skilltreeview.lua:
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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.