Hey everyone,
I was wondering how to do something that should be pretty easy to pull off, but I'm not sure how. I want to have an ability that when it is used, does damage and has a chance to apply a state to the user. I know that I can use a.addState(#) in the damage formula to apply the state, but how can I make it so it's a chance instead of a guarantee? Like a 10% chance?
Thanks for any help on this 🙂
I was wondering how to do something that should be pretty easy to pull off, but I'm not sure how. I want to have an ability that when it is used, does damage and has a chance to apply a state to the user. I know that I can use a.addState(#) in the damage formula to apply the state, but how can I make it so it's a chance instead of a guarantee? Like a 10% chance?
Thanks for any help on this 🙂