
ROUNDS
You are viewing a potentially older version of this package. View Latest Version

By default luck increases the chance of seeing rarer cards. but it can also be used by other mods to improve the likelihood of chance based effects.
to have a card adjust a player's luck, add the Luck component to a card either in unity or in SetupCard, then set LuckAdd and/or LuckMult accordingly.
to have a luck based chance event, call Player.GetComponent<Luck>().RollLuck(chance) where chance is a float between 0.0 and 1.0 (inclusive) representing the base % likelihood of the event occurring.