ConditionSkill

chance

since v5.2

Rolls a dice, where 1 = 100%

Configuration Fields (1)

NameTypeDefaultDescription
chance
c
PlaceholderDoubleThe chance to be true. 1 = 100%

Examples & Notes

Examples

In this example, the metaskill will be executed only 30% of the times it has been triggered, on average.

Conditions:
  - chance{chance=0.3} true

In this other example, the metaskill will be instead triggered 70% of the times it has been triggered

Conditions:
  - chance{chance=0.3} false

Universal Condition Options

Author:
Ashijin
Community-maintained documentation for the Mythic plugin ecosystem.