RngHandler
Provides utility functions for random number generation and weighted rolls.
Functions
RollByWeight
RngHandler.RollByWeight(tableList: {any}--
A list of items to roll from.
) → any?--
The selected item, or nil if weights are missing.
Selects an item from a list based on its weight.
The provided table elements must contain a Weight property.