Class TierTable
- Namespace
- SurvivorsMaker.Run
- Assembly
- SurvivorsMaker.Run.dll
Tier odds by progress (wave in arena mode, level in field mode).
public sealed class TierTable
- Inheritance
-
TierTable
- Inherited Members
Constructors
TierTable()
public TierTable()
Fields
BaseTotal
public float BaseTotal
Field Value
Higher
Weights for tiers 1, 2, … (tier 0 takes the remainder).
public List<TierWeight> Higher
Field Value
Properties
TierCount
public int TierCount { get; }
Property Value
Methods
Roll(int, SimRandom, List<float>)
Rolls a tier (one random draw). Returns 0 when all weights are 0.
public int Roll(int progress, SimRandom random, List<float> scratch)
Parameters
Returns
Weights(int, List<float>)
Fills weights (cleared first) with one weight per tier.
public void Weights(int progress, List<float> weights)