feat(combat): generalize the web combat action and expose potions/monster intent

This commit is contained in:
Bastian Wagner
2026-08-20 22:01:28 +02:00
parent c7b9601eb4
commit b8d00278b8
5 changed files with 29 additions and 13 deletions

View File

@@ -9,7 +9,7 @@ const runningCombat: Combat = {
id: 'combat-running',
status: 'ACTIVE',
round: 4,
player: { name: 'Aric Duskwalker', maxHp: 100, currentHp: 62 },
player: { name: 'Aric Duskwalker', maxHp: 100, currentHp: 62, potionsRemaining: 2, potionsMax: 2 },
monster: {
key: 'road-bandit',
name: 'Straßenräuber',
@@ -17,6 +17,7 @@ const runningCombat: Combat = {
maxHp: 75,
currentHp: 30,
artworkPath: '/images/enemies/RoadBandit.png',
pendingIntent: null,
},
events: [],
rewards: null,