diff --git a/components/PlayerSlot.vue b/components/PlayerSlot.vue
index 93627bd..69092d6 100644
--- a/components/PlayerSlot.vue
+++ b/components/PlayerSlot.vue
@@ -13,7 +13,7 @@ import goStore, {
} from "~/netcode";
import { CardType, type Card } from "~/netcode/Card";
import type { Player } from "~/netcode/Player";
-import { CardEffects, type Effect } from "@/netcode/Effect";
+import { CardEffects, type Effect, EffectType } from "@/netcode/Effect";
import type { Team } from "~/netcode/Team";
export interface Props {
@@ -80,6 +80,14 @@ function checkEndTurn() {
endTurn()
}
}
+
+function damage_team_all(team: Team) {
+ for (let i = 0; i < (goStore.self?.turn?.damage_reserve ?? 0); i++) {
+ damage_team(team)
+ }
+}
+
+
@@ -132,24 +140,34 @@ function checkEndTurn() {
-
- /!\
Effets restants!
/!\
+
+ /!\
Effets restants!
-
-
+
+
+
+
+
@@ -169,7 +187,7 @@ function checkEndTurn() {
-