Hello, guys! Hope you are all doing well.
I'm working on a "Table RPG" like D&D for mobile app.
And I'm trying to do the following:
- a test based on player's atributes. for example:
1) Player has 3 points on Intelligence attribute
2) So "3x 10-face" dice should be "rolled".
3) If the result of each dice is higher than 6, it is a succesful test.
4) So, I'm trying to generate 3 random round numbers from 1 to 10 simultaneously, and the result of this action should return the numbers of the scucesful tests. Is it possible to do it in a single action and return it to a variable?
I have no clue on how to do it. Thank you so much for your help and time!
Wish you all the best :)