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
Characters Skills
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
-
- L2j Veteran
- Posts: 3437
- Joined: Wed Apr 30, 2008 8:53 am
- Location: Russia
Re: Characters Skills
This query will cap all skills to +20.
+1 -> +1
+19 -> +19
+20 -> +20
+25 -> +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;
public static final int PI = 3.1415926535897932384626433832795;
- Nakamoura
- Posts: 62
- Joined: Wed Sep 02, 2009 8:03 am
Re: Characters Skills
I didnt understand this really sorry...I want to make all skills enchant to 0 what should i do?
-
- L2j Veteran
- Posts: 3437
- Joined: Wed Apr 30, 2008 8:53 am
- Location: Russia
Re: Characters Skills
+0 is much harder than +1, really 
For +1 replace 120 with 101, 220 with 201, etc.

For +1 replace 120 with 101, 220 with 201, etc.
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
public static final int PI = 3.1415926535897932384626433832795;
- momo61
- Posts: 1648
- Joined: Fri Jun 06, 2008 2:05 pm
- Location: Europe
Re: Characters Skills
Just delete the whole character_skills table o_ONakamoura wrote:I didnt understand this really sorry...I want to make all skills enchant to 0 what should i do?
When players log in, they will get fresh +0 skills

- Mayhem
- Posts: 144
- Joined: Fri Dec 04, 2009 4:45 pm
Re: Characters Skills
What about Divine Inspiration skills and Forgotten Scrolls skills? If they are not automatic they won't learn them again automatically.momo61 wrote:Just delete the whole character_skills table o_O
When players log in, they will get fresh +0 skills
Revolution burns within us all.

