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
enchant skill related
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
- janiii
- L2j Veteran
- Posts: 4269
- Joined: Wed May 28, 2008 3:15 pm
- Location: Slovakia
Re: enchant skill related
look up enchanted skills (good to check this after the update script):
set all enchanted skill of characters to their base level:
Code: Select all
SELECT * FROM character_skills WHERE skill_level > 100;
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!
forum flOOder dancing dEVILoper ♀
I don't give private support - PM will be ignored!
-
- Posts: 10
- Joined: Tue Mar 11, 2008 9:09 pm
Re: enchant skill related
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 ?
- janiii
- L2j Veteran
- Posts: 4269
- Joined: Wed May 28, 2008 3:15 pm
- Location: Slovakia
Re: enchant skill related
this will delete all enchant skill routes about lvl10: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 ?
Code: Select all
DELETE FROM enchant_skill_trees WHERE level % 100 > 10;
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper ♀
I don't give private support - PM will be ignored!
forum flOOder dancing dEVILoper ♀
I don't give private support - PM will be ignored!
-
- Posts: 10
- Joined: Tue Mar 11, 2008 9:09 pm
Re: enchant skill related
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