Table of Contents

Method GetRandomAffix

Namespace
GrindFest
Assembly
GrindFest.dll

GetRandomAffix(ItemBehaviour, Random)

public static Type GetRandomAffix(ItemBehaviour item, Random random = null)

Parameters

item ItemBehaviour
random Random

Returns

Type

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

affixes List<(Type, ItemAffixRestrictionsAttribute)>
itemLevel int
itemRank ItemRank
isCursed bool
random Random
blacklist List<ItemAffix>

Returns

Type