Skip to content

ContextualConditionChanceToPlay

Inheritance 1 ancestor · 62 siblings

Class Documentation

Edit documentation

A condition that passes at random, with a probability of mPercentChanceToPlay percent. Each evaluation draws a whole number from 0 to 99 and passes when the number is below mPercentChanceToPlay.

Properties

mPercentChanceToPlay

U8 = 0
Edit documentation

The chance, in percent. 0 never passes. 100 and above always pass.