From dcdf300ccd53c0ec6d476b15596ad9c7517f9e6c Mon Sep 17 00:00:00 2001 From: Stefan Seifert Date: Tue, 26 Nov 2024 18:53:17 +0100 Subject: [PATCH] Automa does not take a round booster in last round --- src/components/turn/BotPass.vue | 19 ++++++++++++------- src/components/turn/PlayerTurn.vue | 5 ++++- 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/src/components/turn/BotPass.vue b/src/components/turn/BotPass.vue index 439dfd8..07075f1 100644 --- a/src/components/turn/BotPass.vue +++ b/src/components/turn/BotPass.vue @@ -7,13 +7,15 @@ -
  • - -
    - -
    -
  • -
  • + @@ -60,6 +62,9 @@ export default defineComponent({ }, victoryPointsBotAction() : BotAction { return { action: Action.GAIN_VICTORY_POINTS, victoryPoints: this.scoreVP } + }, + isLastRound() : boolean { + return this.navigationState.round == 6 } } }) diff --git a/src/components/turn/PlayerTurn.vue b/src/components/turn/PlayerTurn.vue index 20bfbd4..5afdc51 100644 --- a/src/components/turn/PlayerTurn.vue +++ b/src/components/turn/PlayerTurn.vue @@ -12,7 +12,7 @@