feat(combat): model monster intent and potion count in combat state types
This commit is contained in:
@@ -11,15 +11,18 @@ import {
|
||||
import { Character } from '../../characters/entities/character.entity';
|
||||
import { HuntEncounter } from '../../hunting/entities/hunt-encounter.entity';
|
||||
import { MonsterDefinition } from '../../monsters/entities/monster-definition.entity';
|
||||
import { CombatIntent } from '../combat-engine.types';
|
||||
import { CombatStatus } from '../combat-status.enum';
|
||||
|
||||
export interface CombatCombatantState {
|
||||
attack: number;
|
||||
armor: number;
|
||||
pendingAction?: CombatIntent;
|
||||
}
|
||||
|
||||
export interface CombatPlayerState extends CombatCombatantState {
|
||||
weaponDamage: number;
|
||||
potionsRemaining: number;
|
||||
}
|
||||
|
||||
@Entity({ name: 'combats' })
|
||||
|
||||
Reference in New Issue
Block a user