New Macro Added: Chance Selector


ChanceSelector

The ChanceSelector function takes a mapping of items with their associated probabilities and outputs a randomly selected item based on these probabilities.

Input:

  • mapping: A dictionary where keys are the items to be selected from, and values are the chances (probabilities) of each item being selected. The probabilities should be represented as floats between 0 and 100.

Output:

  • A randomly selected item from the mapping, chosen based on the provided probabilities.

Files

ForeverFunctions.zip 272 kB
15 days ago

Get Blueprints Forever: An Expanding Collection

Buy Now$1.99 USD or more

Leave a comment

Log in with itch.io to leave a comment.