Skip to content

Commit

Permalink
feat(Game): Dog-Wolf role implemented. Closes #79
Browse files Browse the repository at this point in the history
  • Loading branch information
antoinezanardi committed Dec 26, 2020
1 parent 39b1f54 commit c319c37
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ On this current version [![GitHub release](https://img.shields.io/github/release
- **<img src="https://werewolves-assistant-api.antoinezanardi.fr/img/roles/two-sisters.png" width="25"/> The Two Sisters**
- **<img src="https://werewolves-assistant-api.antoinezanardi.fr/img/roles/three-brothers.png" width="25"/> The Three Brothers**
- **<img src="https://werewolves-assistant-api.antoinezanardi.fr/img/roles/wild-child.png" width="25"/> The Wild Child**
- **<img src="https://werewolves-assistant-api.antoinezanardi.fr/img/roles/dog-wolf.png" width="25"/> The Dog-Wolf**
- **<img src="https://werewolves-assistant-api.antoinezanardi.fr/img/roles/raven.png" width="25"/> The Raven**

Please check the <a href="https://werewolves-assistant-api.antoinezanardi.fr/apidoc/#player-roles" target="_blank">**Player role section on API documentation**</a> or the <a href="https://werewolves-assistant.antoinezanardi.fr/about" target="_blank">**Available Roles section on the official website**</a> for more details about each role.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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}`);
},
Expand Down

0 comments on commit c319c37

Please sign in to comment.