feat: reward enemy intent counterplay
This commit is contained in:
@@ -49,6 +49,9 @@ export type BattleSaveUnitStats = {
|
||||
sortiePreventedDamage?: number;
|
||||
sortieBonusHealing?: number;
|
||||
sortieExtendedBondTriggers?: number;
|
||||
intentDefeats?: number;
|
||||
intentLineBreaks?: number;
|
||||
intentGuardSuccesses?: number;
|
||||
};
|
||||
|
||||
export type BattleSaveState = {
|
||||
@@ -520,7 +523,10 @@ function isOptionalStatsRecord(value: unknown, options: BattleSaveValidationOpti
|
||||
isOptionalBattleUnitStatValue(stats.sortieBonusDamage) &&
|
||||
isOptionalBattleUnitStatValue(stats.sortiePreventedDamage) &&
|
||||
isOptionalBattleUnitStatValue(stats.sortieBonusHealing) &&
|
||||
isOptionalBattleUnitStatValue(stats.sortieExtendedBondTriggers)
|
||||
isOptionalBattleUnitStatValue(stats.sortieExtendedBondTriggers) &&
|
||||
isOptionalBattleUnitStatValue(stats.intentDefeats) &&
|
||||
isOptionalBattleUnitStatValue(stats.intentLineBreaks) &&
|
||||
isOptionalBattleUnitStatValue(stats.intentGuardSuccesses)
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user