Class LuckTierRollPolicy
- Namespace
- SurvivorsMaker.Run
- Assembly
- SurvivorsMaker.Run.dll
Default tier policy that combines progression tier odds with the configured luck transform.
public sealed class LuckTierRollPolicy : ITierRollPolicy
- Inheritance
-
LuckTierRollPolicy
- Implements
- Inherited Members
Constructors
LuckTierRollPolicy()
public LuckTierRollPolicy()
Methods
Roll(TierTable, int, float, OfferPoolSettings, SimRandom, List<float>)
Draws a tier from progression and luck using the supplied random stream; reuse scratch instead of allocating in the draw path.
public int Roll(TierTable tiers, int progress, float luck, OfferPoolSettings settings, SimRandom random, List<float> scratch)
Parameters
tiersTierTableprogressintluckfloatsettingsOfferPoolSettingsrandomSimRandomscratchList<float>