When you win in a level, I want to show the player 3 random options of stat increases and items they can choose from, some rarer than others. I don't know much about arrays and I am have spent 3 hours trying to think of a way to do this.
So for example it chooses from this
30% Coins
10 coins
15 coins
25 coins
50% health
+5 health
+10 health
20% attack increase
+20 magic attack
I think it is possible to use Arrays.At(random(_,_),random (_,)), but I want to display the options the player has.
I also don't know how to add the amount chosen to the correct variable. For example, if I get 10 health, I can't just add it to a variable because "+10 health" would be a string (I think).
Another problem is that I don't know how to add it to the correct variable because there are a lot of variables.
Thank you for reading this. I would really appreciate it if you helped me.