So I was follow this tutorial: And I want to check if the rarity is common then the enemy will drop a stick, or if the rarity is rare it will drop a sword etc. But I don't fully understand the tutorial so I don't really know how to do that :')
That guy is using a really complicated method to choose things randomly. You might be better off reading the documentation on randomness, especially "weighted random probability".
duane Thanks a lot, "weighted random probability" is exactly what I was looking for :p