Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

L2J How add a skill to a class

Initiate Mage
Joined
Sep 15, 2006
Messages
53
Reaction score
0
- Open Navicat and run this code

INSERT INTO skill_trees VALUES (0,150,2,'Weight Limit',0,1);
Explain:
0 - Class ID (Human Fighter have class ID = 0)
150 - Skill ID (Weight Limit have skill ID = 150)
2 - level of skill
'Weight Limit' - name of skill
0 - number of SP need to learn skill
1 - level of player need to learn skill



-- Some usefull guides like these you can find in Hero's server files - readme -
 
Elite Diviner
Joined
Feb 10, 2006
Messages
405
Reaction score
0
Re: [Guide]How add a skill to a class

If you want to give ingame with money skills to chars, then use my "[SHARE] For Nobleskill..." code, there are it. :p
 
Mythic Archon
Member
Joined
Aug 29, 2006
Messages
721
Reaction score
2
Re: [Guide]How add a skill to a class

Nice guide...thanks (=
 
Initiate Mage
Joined
Aug 13, 2006
Messages
9
Reaction score
0
Re: [Guide]How add a skill to a class

Nice and short thnks :winky: :winky:
 
Initiate Mage
Joined
May 20, 2007
Messages
1
Reaction score
0
Re: [Guide]How add a skill to a class

i have tried to add a skill to a class
but that skill doesn't work
i still confuse now
would you help me

sorry my english are bad
 
Elite Diviner
Joined
Feb 10, 2006
Messages
405
Reaction score
0
Re: [Guide]How add a skill to a class

i have tried to add a skill to a class
but that skill doesn't work
i still confuse now
would you help me

sorry my english are bad

In the xml the skill is bugged?:juggle:
 
Initiate Mage
Joined
Apr 13, 2007
Messages
8
Reaction score
0
Re: [Guide]How add a skill to a class

i try to do that...but with my doomcryer...they dont have two skills...the earth chant and war chant...i put the values like your example...only i change the id of the class(116 for doomcryer)..the lvl(76)..and the sp and exp ...but they dont learn the skills...i create another char from 0 lvl....and lvl it...but...the same thing..in the 3r class change nothing happend...the skills exist in the database and the client..i learn them with my gm manual...and they work...my pack is the hero 191 rev....please help me..and sorry for my bad english.
 
Initiate Mage
Joined
Aug 4, 2006
Messages
7
Reaction score
0
Re: [Guide]How add a skill to a class

- Open Navicat and run this code

INSERT INTO skill_trees VALUES (0,150,2,'Weight Limit',0,1);
Explain:
0 - Class ID (Human Fighter have class ID = 0)
150 - Skill ID (Weight Limit have skill ID = 150)
2 - level of skill
'Weight Limit' - name of skill
0 - number of SP need to learn skill
1 - level of player need to learn skill



-- Some usefull guides like these you can find in Hero's server files - readme -

i try to do that...but with my doomcryer...they dont have two skills...the earth chant and war chant...i put the values like your example...only i change the id of the class(116 for doomcryer)..the lvl(76)..and the sp and exp ...but they dont learn the skills...i create another char from 0 lvl....and lvl it...but...the same thing..in the 3r class change nothing happend...the skills exist in the database and the client..i learn them with my gm manual...and they work...my pack is the hero 191 rev....please help me..and sorry for my bad english.

Like look at the BOLD'ed words... What do you see ? What kind of change?
I'll tell you:::
You wrote the level of your char, which is not what the code needs, it needs the level of the skill, in your CASE 1...
There is no level 76 war chant / earth chant... So therefore it simply doesn't add in... Well use this, instead of what you wrote::: (Warcryer ID...)
INSERT INTO skill_trees VALUES (52,1390,3,'War Chant',1350000,74);
This is for WARCRYER War Chant, i cant remember the id's of the 3rd classes...
INSERT INTO skill_trees VALUES (52,1391,1,'Earth Chant',138000,58);
This is earth chant....
Dude:
WarCryer has them? And i think DoomCryer is the 3rd proof. of warcyer... Like so how can he don't have those buffs? Like i think you messed up a bit... ?
Nvm... Just edit the ID of the char you want to add the buffs and do it :)
 
Initiate Mage
Joined
May 30, 2009
Messages
3
Reaction score
0
Re: [Guide]How add a skill to a class

- Open Navicat and run this code

INSERT INTO skill_trees VALUES (0,150,2,'Weight Limit',0,1);
Explain:
0 - Class ID (Human Fighter have class ID = 0)
150 - Skill ID (Weight Limit have skill ID = 150)
2 - level of skill
'Weight Limit' - name of skill
0 - number of SP need to learn skill
1 - level of player need to learn skill



-- Some usefull guides like these you can find in Hero's server files - readme -



uh i got it but if i want to create a new skill for all classes hmm named "armor upper" and i want it to give pdef/mdef/hp/mp how i do it ?
 
Initiate Mage
Joined
Jul 5, 2011
Messages
2
Reaction score
0
Re: [Guide]How add a skill to a class

ok how about:
how yo add skill 1321 Dwarven Craft to all classes
 
Back
Top