feat(@projects/@magic-civilization): ✨ add siege pressure state tracking
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
parent
b56acfb4b9
commit
895f8650ee
2 changed files with 5 additions and 1 deletions
|
|
@ -2421,6 +2421,10 @@ impl IRefCounted for GdGameState {
|
|||
// the struct literal so the workspace compiles.
|
||||
ransom_queue: Default::default(),
|
||||
pending_capture_events: Default::default(),
|
||||
// p3-10b: per-lair siege pressure state. Populated by the
|
||||
// bridge as players begin sieges; serialized for save
|
||||
// round-trip via `siege_pressure_as_pairs`.
|
||||
siege_pressure: Default::default(),
|
||||
},
|
||||
base,
|
||||
}
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@
|
|||
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
use mc_core::lair::{LairCombatMode, LairId, SiegeOutcome, SiegePressure, SiegeState};
|
||||
use mc_core::lair::{LairCombatMode, LairId, SiegeOutcome, SiegeState};
|
||||
|
||||
use crate::bonuses::CombatBonuses;
|
||||
use crate::loot::{mix_seed, roll_loot_table, LootDrop, LootEntry};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue