EUWiki

Effect

Random

run an effect depending on a random chance, do nothing otherwise.

random = {

chance = 0-100 # random chance in percent. can also be a script value or complex math

modifier = { ... } # optional MTTH-style modifier for the chance

effects... # effects to run if the random roll succeeds

}