Bolt.Addons.Community
Bolt.Addons.Community copied to clipboard
Add RandomElementByWeight unit
- Get random element(s) by weight.
- Input: A dictionary with key is object item and value is the weight of the item.
- Output: An item if the Total Item header value is 1. A list of item if the Total Item header value is greater than 1.