ClassLootSelection

public final class ClassLootSelection

Computes the exact distribution used both by death rolls and administrator previews.

Functions

Link copied to clipboard
public static ClassFormDefinition activeClass(Player player)
Link copied to clipboard
public static Map<ClassLootFamily, Double> probabilities(List<ClassLootFamily> available, ClassFormDefinition form)
Link copied to clipboard
public static ClassLootFamily select(List<ClassLootFamily> available, Player player)
Link copied to clipboard
public static EliteCustomLootEntry selectEntry(List<EliteCustomLootEntry> eligible, Player player)
Select a family first, then an authored item, so extra variants cannot inflate a family's share.