Characters Skills

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
User avatar
Nakamoura
Posts: 62
Joined: Wed Sep 02, 2009 8:03 am

Characters Skills

Post by Nakamoura »

If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision 3973 :
L2JDP Revision 7127:

Hello All...I need some info on how can i remove from database all characters skills + and not one by one from ingame..For example how can i make the skills from +10 to 0..

-Thanks In Advance John
_DS_
L2j Veteran
L2j Veteran
Posts: 3437
Joined: Wed Apr 30, 2008 8:53 am
Location: Russia

Re: Characters Skills

Post by _DS_ »

This query will cap all skills to +20.
+1 -> +1
+19 -> +19
+20 -> +20
+25 -> +20

Code: Select all

UPDATE character_skills SET skill_level=120 WHERE skill_level > 120 AND skill_level < 201;UPDATE character_skills SET skill_level=220 WHERE skill_level > 220 AND skill_level < 301;UPDATE character_skills SET skill_level=320 WHERE skill_level > 320 AND skill_level < 401;UPDATE character_skills SET skill_level=420 WHERE skill_level > 420 AND skill_level < 501;UPDATE character_skills SET skill_level=520 WHERE skill_level > 520 AND skill_level < 601;UPDATE character_skills SET skill_level=620 WHERE skill_level > 620 AND skill_level < 701;UPDATE character_skills SET skill_level=720 WHERE skill_level > 720 AND skill_level < 801;UPDATE character_skills SET skill_level=820 WHERE skill_level > 820 AND skill_level < 901; 
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
User avatar
Nakamoura
Posts: 62
Joined: Wed Sep 02, 2009 8:03 am

Re: Characters Skills

Post by Nakamoura »

I didnt understand this really sorry...I want to make all skills enchant to 0 what should i do?
_DS_
L2j Veteran
L2j Veteran
Posts: 3437
Joined: Wed Apr 30, 2008 8:53 am
Location: Russia

Re: Characters Skills

Post by _DS_ »

+0 is much harder than +1, really :)
For +1 replace 120 with 101, 220 with 201, etc.
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
User avatar
momo61
Posts: 1648
Joined: Fri Jun 06, 2008 2:05 pm
Location: Europe

Re: Characters Skills

Post by momo61 »

Nakamoura wrote:I didnt understand this really sorry...I want to make all skills enchant to 0 what should i do?
Just delete the whole character_skills table o_O
When players log in, they will get fresh +0 skills :D
User avatar
Mayhem
Posts: 144
Joined: Fri Dec 04, 2009 4:45 pm

Re: Characters Skills

Post by Mayhem »

momo61 wrote:Just delete the whole character_skills table o_O
When players log in, they will get fresh +0 skills :D
What about Divine Inspiration skills and Forgotten Scrolls skills? If they are not automatic they won't learn them again automatically.
Revolution burns within us all.
Image
Post Reply