This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## First you can generate a weighted array | |
weighted 1: true, 2: false # [true, false, false] | |
weighted 1: true, 3: false # [true, false, false, false] | |
## Then random picks one randomly | |
## The following will return true or false with a 1:3 ratio | |
random weighted 1: true, 3: false |