From 823baa403412b34fdf74fa1c8d356ff6366acd3a Mon Sep 17 00:00:00 2001 From: legonzaur Date: Fri, 3 May 2024 16:59:40 +0200 Subject: [PATCH] closes #2, closes #1; fix make discard and stun not working --- components/PlayerSlot.vue | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/components/PlayerSlot.vue b/components/PlayerSlot.vue index b66372c..392d52b 100644 --- a/components/PlayerSlot.vue +++ b/components/PlayerSlot.vue @@ -30,10 +30,9 @@ const discard_unwrapped = ref(false) Damage -
@@ -59,9 +58,10 @@ const discard_unwrapped = ref(false) {{ props.player.turn.gold_reserve }}
- discard_markers = {{ props.player.turn.discard_markers }}
+ discard_markers = {{ props.player.turn.discard_markers }} + effects_availables =
+ v-if="!isSelf && !isTurn && goStore.self?.team == goStore.game?.current_turn && goStore.self?.turn.find_effect(CardEffects.STUN) && (c.health_as_champion ?? 0) > 0" + @click="useEffect(goStore.self.turn.find_effect(CardEffects.STUN)!, c)">STUN