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
How need to remove champion mob from Treasure Chest ??? If player open with key treasure chest which is champion mob like, so it will drop about +- 25 armor enchants... Normal chest +- 3... So how i need to remove?
In L2Spawn.java i found this, what i need to change? Or maybe I am looking not at this file.
omg...
don't say you don't understand what "int random = Rnd.get(100);" means?
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste! Discussion breeds innovation.
What's the point if you don't even understand the code?
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste! Discussion breeds innovation.
i think he ment the chance between mob chest and npc chest -> data/scripts/ai/group_template/Chests.java -> check variable IS_BOX value (in script is now 40, that means 40% it is a npc chest and not a mob chest)
rnd is a variable, so you have to check where it was initialized. most probably with something like Rnd.get(50) or some other number. but that means, it will return you a random number from 0 to 50. random numbers are used for a chance. so e.g. you want something to be done with chance 20% (20/100) so you get a random number Rnd.get(100) and compare it to less 20, because with a 20% probability you get a number under 20 from 100.
DO NOT EVEN TRY TO MESS WITH ME! forum flOOderdancing dEVILoper♀ I don't give private support - PM will be ignored!