+ 1
How to create a rarity code in python?
I am trying to make a code where the player opens a chest and can receive a random item. But, I want some items to be rarer than others. how would I code this?
2 Réponses
+ 1
ex:
legendary = ["God Sword", "God Shield"]
0
I think that you can use lists to do it