diff --git a/apps/web/public/images/combat/icons/ash-rat-128.png b/apps/web/public/images/combat/icons/ash-rat-128.png new file mode 100644 index 0000000..f1c3f2c Binary files /dev/null and b/apps/web/public/images/combat/icons/ash-rat-128.png differ diff --git a/apps/web/public/images/combat/icons/road-bandit-128.png b/apps/web/public/images/combat/icons/road-bandit-128.png new file mode 100644 index 0000000..689b4a5 Binary files /dev/null and b/apps/web/public/images/combat/icons/road-bandit-128.png differ diff --git a/apps/web/public/images/combat/sprites/ash-rat-760.png b/apps/web/public/images/combat/sprites/ash-rat-760.png new file mode 100644 index 0000000..2cb0e9a Binary files /dev/null and b/apps/web/public/images/combat/sprites/ash-rat-760.png differ diff --git a/apps/web/public/images/combat/sprites/road-bandit-620.png b/apps/web/public/images/combat/sprites/road-bandit-620.png new file mode 100644 index 0000000..82a4b62 Binary files /dev/null and b/apps/web/public/images/combat/sprites/road-bandit-620.png differ diff --git a/apps/web/public/images/combat/sprites/warrior-attack-512.png b/apps/web/public/images/combat/sprites/warrior-attack-512.png new file mode 100644 index 0000000..c4fd678 Binary files /dev/null and b/apps/web/public/images/combat/sprites/warrior-attack-512.png differ diff --git a/apps/web/public/images/hud/runtime/AttackIcon-96.png b/apps/web/public/images/hud/runtime/AttackIcon-96.png new file mode 100644 index 0000000..63b7b40 Binary files /dev/null and b/apps/web/public/images/hud/runtime/AttackIcon-96.png differ diff --git a/apps/web/public/images/hud/runtime/fight-action-frame-360.png b/apps/web/public/images/hud/runtime/fight-action-frame-360.png new file mode 100644 index 0000000..ca1a7cd Binary files /dev/null and b/apps/web/public/images/hud/runtime/fight-action-frame-360.png differ diff --git a/apps/web/src/app/features/combat/combat-page/combat-page.component.html b/apps/web/src/app/features/combat/combat-page/combat-page.component.html index 3dec31f..d6349a3 100644 --- a/apps/web/src/app/features/combat/combat-page/combat-page.component.html +++ b/apps/web/src/app/features/combat/combat-page/combat-page.component.html @@ -1,93 +1,117 @@ -
+
@if (combatStore.combat(); as combat) { -
-
- -
- {{ combat.player.name }} -
- {{ combat.player.currentHp }} / {{ combat.player.maxHp }} - +
+
+
+ +
+

{{ combat.player.name }}

+
+ + {{ combat.player.currentHp }} / {{ combat.player.maxHp }} +
-
-
Runde {{ combat.round }}
+

Runde {{ combat.round }}

-
- - @if (runtimeMonsterArtwork(combat.monster.artworkPath); as runtimeArtwork) { - - } +
+
+

+ {{ combat.monster.name }} + Stufe {{ combat.monster.level }} +

+
+ + {{ combat.monster.currentHp }} / {{ combat.monster.maxHp }} +
+
- -
- {{ combat.monster.name }} - Stufe {{ combat.monster.level }} -
- {{ combat.monster.currentHp }} / {{ combat.monster.maxHp }} - -
+ + +
+ +
-
-
- @if (combat.status === 'ACTIVE') { - - } @else if (combat.status === 'WON') { -
-

Sieg

-

{{ combat.monster.name }} wurde besiegt.

-

Belohnungen werden im nächsten Schritt verarbeitet.

- -
- } @else { -
-

Niederlage

-

{{ combat.player.name }} wurde im Kampf besiegt.

- -
- } -
- -
+ + } @else if (combatStore.loading()) { -

Kampf wird geladen…

+

Kampf wird geladen…

} @if (combatStore.error(); as error) { -