fatefullme
Member
This is my 1st post im making here and i REALLY need help making a random system for a prize chest that gives a random item i need help on how to go about doing this.
i want a system that when the user press enter when facing the chest (like an event) it will give an absoluley random item BUT more chance of giving say a potion than a rare item. i was thinking and i tryed making a random number sytem where the system picks 10 random numbers and if to are alike then the player recives the item wich corrosponse with the number (eg; if 001 is picked twice then the user would recive a potion as the potions ID number is 001) and yea.
i want a system that when the user press enter when facing the chest (like an event) it will give an absoluley random item BUT more chance of giving say a potion than a rare item. i was thinking and i tryed making a random number sytem where the system picks 10 random numbers and if to are alike then the player recives the item wich corrosponse with the number (eg; if 001 is picked twice then the user would recive a potion as the potions ID number is 001) and yea.