fix: align audiovisual and narrative feedback
This commit is contained in:
@@ -45,6 +45,13 @@ assert.match(saveSource, /pendingBattleEvents\?: BattleSavePendingEvent\[\]/, 'p
|
||||
const pendingOutcome = privateMethodBody(battleSource, 'pendingBattleOutcome');
|
||||
assert.match(pendingOutcome, /requiredVictoryObjectiveStates\(\)/, 'victory must consult required narrative objectives');
|
||||
assert.match(pendingOutcome, /victory-gate-pending/, 'an unmet narrative gate must explain why battle continues');
|
||||
const objectiveState = privateMethodBody(battleSource, 'objectiveState');
|
||||
assert.match(
|
||||
objectiveState,
|
||||
/triggeredBattleEvents\.has\(this\.objectiveEventKey\(objective\.id, 'achieved'\)\)/,
|
||||
'a secured terrain objective must remain complete after its achievement feedback is recorded'
|
||||
);
|
||||
assert.match(objectiveState, /const secured = previouslySecured \|\| securedNow/);
|
||||
|
||||
const triggerTacticalEvent = privateMethodBody(battleSource, 'triggerTacticalEvent');
|
||||
const tacticalReaction = privateMethodBody(battleSource, 'tacticalEventReaction');
|
||||
|
||||
Reference in New Issue
Block a user