From c319c37e6f4c20a8befaf3094fa61abd85ffa96c Mon Sep 17 00:00:00 2001 From: antoinezanardi Date: Sat, 26 Dec 2020 23:58:20 +0100 Subject: [PATCH] feat(Game): Dog-Wolf role implemented. Closes #79 --- CHANGELOG.md | 1 + README.md | 1 + .../GameWinners/GameSummaryModal/GameSummaryHistoryLine.vue | 6 +++--- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 945b5cc..3c2d6a3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ * [#76](https://github.com/antoinezanardi/werewolves-assistant-web/issues/76) - Two Sisters role implemented. * [#77](https://github.com/antoinezanardi/werewolves-assistant-web/issues/77) - Three Brothers role implemented. * [#78](https://github.com/antoinezanardi/werewolves-assistant-web/issues/78) - Wild Child role implemented. +* [#79](https://github.com/antoinezanardi/werewolves-assistant-web/issues/79) - Dog-Wolf role implemented. * [#80](https://github.com/antoinezanardi/werewolves-assistant-web/issues/80) - Big-Bad-Wolf role implemented. ### 🐛 Bug fixes diff --git a/README.md b/README.md index 20e1020..4377818 100644 --- a/README.md +++ b/README.md @@ -60,6 +60,7 @@ On this current version [![GitHub release](https://img.shields.io/github/release - ** The Two Sisters** - ** The Three Brothers** - ** The Wild Child** +- ** The Dog-Wolf** - ** The Raven** Please check the **Player role section on API documentation** or the **Available Roles section on the official website** for more details about each role. diff --git a/src/components/Game/GameWinners/GameSummaryModal/GameSummaryHistoryLine.vue b/src/components/Game/GameWinners/GameSummaryModal/GameSummaryHistoryLine.vue index e95fd75..58ba919 100644 --- a/src/components/Game/GameWinners/GameSummaryModal/GameSummaryHistoryLine.vue +++ b/src/components/Game/GameWinners/GameSummaryModal/GameSummaryHistoryLine.vue @@ -113,11 +113,11 @@ export default { return this.$t(`GameSummaryHistoryLine.skipTurn`); } else if (this.gameHistoryEntry.play.action === "use-potion") { if (targets.length === 2) { - return this.$t(`GameSummaryHistoryLine.actions.use-potion.both`); + return this.$t(`GameSummaryHistoryLine.actions.witch.use-potion.both`); } else if (targets[0].potion.life) { - return this.$t(`GameSummaryHistoryLine.actions.use-potion.life`); + return this.$t(`GameSummaryHistoryLine.actions.witch.use-potion.life`); } - return this.$t(`GameSummaryHistoryLine.actions.use-potion.death`); + return this.$t(`GameSummaryHistoryLine.actions.witch.use-potion.death`); } return this.$t(`GameSummaryHistoryLine.actions.${source}.${action}`); },