-
Notifications
You must be signed in to change notification settings - Fork 0
functions.js
TheEgglet edited this page Jul 8, 2022
·
2 revisions
The functions.js file is related to global functions (ones that do not change player data). Currently, there are 6 functions in it:
Returns true with a ch
% chance. ch
is a number between 0 and 100, not 0 and 1.
Counts the amount of times value
is in array
.
Returns a random value from array
.
Returns a random number between min
and max
, both inclusive.
Removes the first value
from array
. The array stays like that.
Returns the element with ID e
. For convenience, but never used for some reason.
- Main files
- Feature files
- List documentation