feat(web): add reward models and the reusable item card

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
Bastian Wagner
2026-08-20 09:24:58 +02:00
parent 6448605a72
commit cf576133ff
10 changed files with 195 additions and 0 deletions

View File

@@ -23,6 +23,7 @@ const activeCombat: Combat = {
{ round: 1, sequence: 1, type: 'DAMAGE', source: 'PLAYER', target: 'MONSTER', amount: 14 },
{ round: 1, sequence: 2, type: 'DAMAGE', source: 'MONSTER', target: 'PLAYER', amount: 5 },
],
rewards: null,
};
const monsterHitLine = 'Aschenratte trifft Aric Duskwalker für 5 Schaden.';

View File

@@ -20,6 +20,7 @@ const startedCombat: Combat = {
artworkPath: '/images/monsters/ash-rat.png',
},
events: [],
rewards: null,
};
const afterAttack: Combat = {

View File

@@ -79,6 +79,7 @@ const startedCombat: Combat = {
artworkPath: '/images/enemies/RoadBandit.png',
},
events: [],
rewards: null,
};
describe('HuntPageComponent', () => {

View File

@@ -15,6 +15,7 @@ const character: CharacterResponse = {
name: 'Aric Duskwalker',
level: 1,
experience: 0,
silver: 0,
currentHp: 100,
maxHp: 100,
attack: 6,