enchant skill related

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
thegman
Posts: 10
Joined: Tue Mar 11, 2008 9:09 pm

enchant skill related

Post by thegman »

i have found a way to limit players ability to OE there skills, but the problem is now how do i get rid of all the enchanted skills they have, in essence i want to delete all players enchanted skills.
thank for help
User avatar
janiii
L2j Veteran
L2j Veteran
Posts: 4269
Joined: Wed May 28, 2008 3:15 pm
Location: Slovakia

Re: enchant skill related

Post by janiii »

look up enchanted skills (good to check this after the update script):

Code: Select all

SELECT * FROM character_skills WHERE skill_level > 100;
set all enchanted skill of characters to their base level:

Code: Select all

UPDATE character_skills SET skill_level = (SELECT DISTINCT(base_lvl) FROM enchant_skill_trees WHERE enchant_skill_trees.skill_id = character_skills.skill_id) WHERE skill_level > 100;
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper
I don't give private support - PM will be ignored!
thegman
Posts: 10
Joined: Tue Mar 11, 2008 9:09 pm

Re: enchant skill related

Post by thegman »

sanchiou i hope i'll get this right. and another thing i haven't got a clue how to solve, how can i put enchant skills +10 MAX ?
User avatar
janiii
L2j Veteran
L2j Veteran
Posts: 4269
Joined: Wed May 28, 2008 3:15 pm
Location: Slovakia

Re: enchant skill related

Post by janiii »

thegman wrote:sanchiou i hope i'll get this right. and another thing i haven't got a clue how to solve, how can i put enchant skills +10 MAX ?
this will delete all enchant skill routes about lvl10:

Code: Select all

DELETE FROM enchant_skill_trees WHERE level % 100 > 10;
but i am not sure if this will not make problems because in xml the skills are defined with 30lvls..
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper
I don't give private support - PM will be ignored!
thegman
Posts: 10
Joined: Tue Mar 11, 2008 9:09 pm

Re: enchant skill related

Post by thegman »

and max resist (all resists wind water earth uatever) how to set them to 90 max?? even if they pus extra stones or buffs, i want all resists max to 90. thx janiii
Post Reply