When a single item is upp for roll in slot 1 it works, but with multiple items in diffrent slots it does not handle it correct and i get an error Warning: mt_rand(): max(-1) is smaller than min(0) in /home/storm/vgx/main/14_Tools.php on line 457.
Is there any fix for this?