Method GetRandomAffix
- Namespace
- GrindFest
- Assembly
- GrindFest.dll
GetRandomAffix(ItemBehaviour, Random)
public static Type GetRandomAffix(ItemBehaviour item, Random random = null)
Parameters
itemItemBehaviourrandomRandom
Returns
GetRandomAffix(List<(Type, ItemAffixRestrictionsAttribute)>, int, ItemRank, bool, Random, List<ItemAffix>)
public static Type GetRandomAffix(List<(Type, ItemAffixRestrictionsAttribute)> affixes, int itemLevel, ItemRank itemRank, bool isCursed, Random random, List<ItemAffix> blacklist = null)
Parameters
affixesList<(Type, ItemAffixRestrictionsAttribute)>itemLevelintitemRankItemRankisCursedboolrandomRandomblacklistList<ItemAffix>