After checking this code from BigBoss i decided to totally rework the code for l2jfrozen.
A:At the BigBoss' code your only way to add this is via database.On my rework you can do it ingame as gm with the Shift + Click on mob and edit droplist ingame.The whole html is reworked and the options has been added there.Also some methods changed in order to fit frozen.
Q:This works for auto loot too?
A:Yes with several changes it works but i won't share it.So this code WORKS ONLY WITH DROP,NOT WITH AUTO LOOT
Here is the patch:http://adf.ly/73NHM
Patch is made on a clean l2jfrozen 903 rev
You also need to create an .sql file and c/p inside this lines and execute it:
ALTER TABLE `droplist` ADD `enchant` int(5) DEFAULT -1;
ALTER TABLE `droplist` ADD `enchantChance` int(3) DEFAULT 0;
ALTER TABLE `custom_droplist` ADD `enchant` int(5) DEFAULT -1;
ALTER TABLE `custom_droplist` ADD `enchantChance` int(3) DEFAULT 0;
Ok now i will show you with images it's functionality :http://adf.ly/73NUehttp://adf.ly/73NXXhttp://adf.ly/73O9Thttp://adf.ly/73OBZhttp://adf.ly/73ODQhttp://adf.ly/73OFEhttp://adf.ly/73OI5That's all guys.I hope you like it.
Credits to ElfocrashLinkback: https://l2topzone.com/forum/l2-java-projects/16/share-reworkdropped-enchanted-items-from-mobs/7202/