Survival mode bugfixes and revive mechanism
This commit is contained in:
parent
d701598350
commit
2fa85e8b1f
14 changed files with 529 additions and 35 deletions
|
|
@ -9,6 +9,7 @@ public sealed class SurvivalRun(Func<string, Config.SurvivalCardDef?> cardDef) :
|
|||
private readonly Func<string, Config.SurvivalCardDef?> _cardDef = cardDef;
|
||||
public double WaveXp { get; set; } // raw combat XP banked THIS wave (granted + reset at wave clear; forfeited on a wipe/leave mid-wave)
|
||||
public int RunPoints { get; set; } // unspent draft picks
|
||||
public int ReviveCharges { get; set; } // Field Medic teammate-revives left THIS wave (refreshed at wave start from the medic-card level)
|
||||
public Dictionary<string, int> Cards { get; } = []; // card key -> times picked (get-only: the ref is fixed, the contents mutate)
|
||||
public List<string> DrawnThisBreak { get; set; } = []; // the current offered draw (stable across reopen within a break)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue