Chance (Meta Condition Type)
Rolls a random number between 0.0 and 1.0 and passes if it is less than a given value.
Type ID: apoli:chance
Fields
| Field | Type | Default | Description |
|---|---|---|---|
chance | Float | required | The value the random number is compared with. |
Examples
"condition": {
"type": "apoli:chance",
"chance": 0.5
}This passes 50% of the time.