You are viewing a potentially older version of this package.
View all versions.
| Date uploaded | 3 months ago |
| Version | 0.1.0 |
| Download link | Root-Luck-0.1.0.zip |
| Downloads | 91 |
| Dependency string | Root-Luck-0.1.0 |
This mod requires the following mods to function
Pykess-ModdingUtils
Utilities aimed at making modding easier and more accessible
Preferred version: 0.4.8willis81808-UnboundLib
This is a helpful utility for ROUNDS modders aimed at simplifying common tasks.
Preferred version: 3.2.14README
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.
Usage as a library:
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.