diff --git a/components/PlayerSlot.vue b/components/PlayerSlot.vue index 8d95901..5dacea3 100644 --- a/components/PlayerSlot.vue +++ b/components/PlayerSlot.vue @@ -13,7 +13,8 @@ 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 { player: Player; @@ -75,6 +76,12 @@ function checkEndTurn() { } } +function damage_team_all(team: Team) { + for (let i = 0; i < (goStore.self?.turn?.damage_reserve ?? 0); i++) { + damage_team(team) + } +} + @@ -136,16 +143,26 @@ function checkEndTurn() {
- - +
+ + + +

@@ -165,7 +182,7 @@ function checkEndTurn() {