I need help with making an item with an effect probability.
I am trying to implement an item which has a probability of having a different effect on the user. In this case, the item has a chance to heal the user, poison or confuse the user, and a small chance to either completely heal the user or just outright kill the user.
I tested this out and the item didn't work at all. Any way to fix this?
I am trying to implement an item which has a probability of having a different effect on the user. In this case, the item has a chance to heal the user, poison or confuse the user, and a small chance to either completely heal the user or just outright kill the user.
I tested this out and the item didn't work at all. Any way to fix this?