forked from tgruetzm/Snacks
-
Notifications
You must be signed in to change notification settings - Fork 14
CheckRandomChance
Michael Billard edited this page Jun 29, 2019
·
1 revision
This precondition rolls a random die between a minimum and maximum value and compares it to a target number. If the roll meets or exceeds the target number then the precondition passes. Example definition: PRECONDITION { name = CheckRandomChance dieRollMin = 1 dieRollMax = 1000 targetNumber = 999 }
Minimum value on the die roll
Maximum value on the die roll
Target number required to declare the precondition valid.
Initializes a new instance of the class.
node: A ConfigNode containing initialization parameters. parameters from the class also apply.