First time submitting. I hope this gets reviewed just in case I missed anything.
I've tried to make it GUI, MUI, Leakless.
Just copy the folder and make sure all variables are declared.
Drop system for GUI users where you create an Array for the items dropped and a second Array for how much chance(percentage) of each item has to drop.
After setting these, you just choose wich Arrays to use when applying the drop.
Example Percentages:
Mana Potion - 10% (writen as 1,0)
Health Potion - 5% (writen as 0,5)
Orb of Frost - 1% (writen as 0,1)
Min chance - 0,1% (writen as 0,01)
Max chance - 100,0% (writen as 10,00)
And the system will make the maths (instead of repeating them every time for each unit).
You can apply the same Arrays to many units or create new Arrays for each new unit.
There is also an extra variable in the begginning that lets you change the "dificulty" of the drop, meaning: that variable can be used to reduce all chances overall.
This was the simplest version I've been able to came up with, doesn't require use of hashtables and item ID's wich can be a bit more advanced to newer users.