Changes
Page history
Update chance
authored
Nov 29, 2022
by
Lxlp
Hide whitespace changes
Inline
Side-by-side
skills/conditions/chance.md
View page @
e7a2f397
**Description**
: sets the probability of the metaskill being executed.
**Description**
: sets the probability of the metaskill
**not**
being executed.
---
...
...
@@ -7,7 +7,7 @@
| Attribute | Alias | Description | Default |
|-----------|-------------|-------------------------------------------------------------------------------------------------|---------|
| chance | | The floating value which denotes the chance. It can range between 0 and 1, with 0 being a 0% chance and 1 being a 100% chance|
|
| chance | | The floating value which denotes the chance. It can range between 0 and 1, with 0 being a 0% chance and 1 being a 100% chance|
0
|
---
...
...
@@ -16,5 +16,5 @@
In this example, the metaskill will be executed only 30% of the times it has been triggered, on average.
```
yml
Conditions
:
-
chance{chance=0.3}
tru
e
-
chance{chance=0.3}
fals
e
```
\ No newline at end of file