feat(api): let monsters raise a breakable defensive guard

This commit is contained in:
Bastian Wagner
2026-08-23 10:27:01 +02:00
parent dd73f708c7
commit 739467861a
5 changed files with 248 additions and 4 deletions

View File

@@ -26,9 +26,22 @@ export interface MonsterBleedAbility {
durationRounds: number;
}
export interface MonsterGuardAbility {
/**
* The monster forgoes its attack on every round divisible by this and
* covers instead, raising its armor for `durationRounds`. SHIELD_BASH
* breaks it, the same answer the telegraph already taught (Playable Slice
* 0.10 §5).
*/
roundInterval: number;
armorBonus: number;
durationRounds: number;
}
export interface MonsterAbilities {
telegraph?: MonsterTelegraphAbility;
bleed?: MonsterBleedAbility;
guard?: MonsterGuardAbility;
}
export const NO_MONSTER_ABILITIES: MonsterAbilities = {};