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://not allowed/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://not allowed/73NUehttp://not allowed/73NXXhttp://not allowed/73O9Thttp://not allowed/73OBZhttp://not allowed/73ODQhttp://not allowed/73OFEhttp://not allowed/73OI5That's all guys.I hope you like it.
Credits to ElfocrashLinkback: https://l2topzone.com/forum/index.php?topic=7202.0