We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is your feature request related to a problem? Please describe. I want to run some BotAction's randomly, like on the flip of a coin, or roll of a die.
Describe the solution you'd like BotAction that can take a number to represent the probability of the following BotAction(s) to run. ie
chain( // 12 sided die where the botaction's run, if 1 specific side is landed in the param value sided die runOnRoll(12)( // ... botaction's ) )
Maybe a helper to generate a random number?
Describe alternatives you've considered Nothing
Additional context Make bot's more dynamic, less static in their actions.
The text was updated successfully, but these errors were encountered:
introduces new "branching" BotAction runOnDiceRoll()() #105
runOnDiceRoll()()
Sorry, something went wrong.
currently exploring rollDice()() and probably()() in #105
rollDice()()
probably()()
rollDice()() limits the probability to 50% or lower with little variance probably()() sets the probability directly without limitation
maybe consolidate?
released in core v1.3
No branches or pull requests
Is your feature request related to a problem? Please describe.
I want to run some BotAction's randomly, like on the flip of a coin, or roll of a die.
Describe the solution you'd like
BotAction that can take a number to represent the probability of the following BotAction(s) to run. ie
Maybe a helper to generate a random number?
Describe alternatives you've considered
Nothing
Additional context
Make bot's more dynamic, less static in their actions.
The text was updated successfully, but these errors were encountered: