Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Devoted Servant Role #672

Closed
32 tasks done
antoinezanardi opened this issue Nov 27, 2023 · 1 comment
Closed
32 tasks done

Devoted Servant Role #672

antoinezanardi opened this issue Nov 27, 2023 · 1 comment
Assignees
Labels
🚀 feature New feature or request released

Comments

@antoinezanardi
Copy link
Owner

antoinezanardi commented Nov 27, 2023

Implement the devoted servant role with the following specs :

  • New role is devoted-servant.
  • When the game play is survivors to bury-dead-bodies, she can take the the role and side of one of the dead people.
  • The interaction is devoted-servant to steal-role. This interaction doesn't appear when devoted-servant is not in the game.
  • From now on, player role and side death outcomes (applyPlayerRoleDeathOutcomes and applyPlayerSideDeathOutcomes methods) will triggered when the survivors have buried the bodies IF the devoted servant didn't steal the role.
  • The player who got stolen has now the stolen-role from devoted-servant attribute which remains after death.
  • She can't take the role if she's dead. (interactions doesn't appear and she's not in expected players to play)
  • She can't take the role if she's powerless. (interactions doesn't appear and she's not in expected players to play)
  • She can't take the role if she's in love. (interactions doesn't appear and she's not in expected players to play)
  • If she was charmed by pied-piper and she takes a role, she is not charmed anymore.
  • If she was the sheriff and she takes a role, she must delegate.
  • If she was from the werewolves side (infected), she stays in this state.
  • If she takes the role of accursed-wolf-father, she can infect again.
  • If she takes the role of witch, she can use again all potions, even if they were used before.
  • If she takes the role of guard, she can protect whoever she wants on the first night with this new role.
  • If she takes the role of elder, she has all of his lives against werewolves.
  • If she takes the role of fox, she is not powerless anymore if it sniffed no werewolves during a night.
  • If she takes the role of stuttering-judge, she can request as many votes as the previous one had but the sign will be necessary again.
  • If she takes the wild-child, the worshiped attribute is erased from the model and she will have to choose another one the next night.
  • If she takes the wolf-hound, she will have to decide her side again the next night.
  • If she takes the pied-piper, she is not charmed anymore by him if she was.
  • If she takes the bear-tamer and she's infected, she must follow the rule of bear-tamer growling each day if correct game option.
  • If she takes the role of big-bad-wolf, she is not powerless anymore if one werewolf died before.
  • If she takes the role of scapegoat, the stolen one won't ban anyone from votes and she'll die on the next tie in votes.
  • If she takes the role of white-werewolf, she can eat the last werewolf and win alone.
  • If she takes the role of angel, she can win alone if murdered on first turn.
  • If she takes the role of pied-piper, she can charm players and win alone.
  • If she takes the role of prejudiced-manipulator, she can win if the other group is dead.
  • If she takes the role of villager-villager, her role is revealed.
  • If she takes the role of rusty-sword-knight, the left werewolf doesn't have the contaminated attribute but will have it when he'll eat her.
  • If she takes the role of thief, she will be able to choose again one card (because thief didn't choose).
  • If she takes the role of cupid, she must not charm other players if some players are already in love.
  • If she takes the role of actor, she can't use already used card and can play cards like the actor during the night.
@antoinezanardi antoinezanardi added the 🚀 feature New feature or request label Nov 27, 2023
@antoinezanardi antoinezanardi self-assigned this Nov 27, 2023
antoinezanardi pushed a commit that referenced this issue Dec 19, 2023
## [1.26.0](v1.25.0...v1.26.0) (2023-12-19)

### 🚀 Features

* **game-options:** actor additional cards count game option ([#747](#747)) ([5c6b062](5c6b062)), closes [#735](#735)
* **game-options:** actor not powerless on werewolves side game option ([#745](#745)) ([8a7f3a8](8a7f3a8)), closes [#734](#734)
* **servant:** devoted servant role ([#752](#752)) ([ee85bac](ee85bac)), closes [#672](#672)
* **thief:** chosen thief card is used when played ([#741](#741)) ([a6806ea](a6806ea)), closes [#727](#727)

### 🔩 Refactor

* **game-options:** rename powerless if infected to powerless on werewolves side ([#746](#746)) ([9423611](9423611)), closes [#743](#743)
* **game-play-validation:** use `canBeSkipped` variable for validating thief play ([#740](#740)) ([482cd53](482cd53)), closes [#724](#724)

### ✅ Tests

* **rusty-sword-knight:** acceptance test for powerless rusty sword knight ([#742](#742)) ([072ed25](072ed25)), closes [#731](#731)

### 🧹 Chore

* **deps:** bump semantic-release from 22.0.10 to 22.0.12 ([#738](#738)) ([df7c16b](df7c16b))
* **deps:** bump the eslint group with 1 update ([#757](#757)) ([4294657](4294657))
* **deps:** bump the eslint group with 1 update ([#762](#762)) ([f81b5a7](f81b5a7))
* **deps:** bump the nest group with 1 update ([#756](#756)) ([9843a9e](9843a9e))
* **deps:** bump the nest group with 5 updates ([#764](#764)) ([d488944](d488944))
* **deps:** bump the types group with 1 update ([#761](#761)) ([f27b285](f27b285))
* **deps:** bump the types group with 2 updates ([#736](#736)) ([919049a](919049a))
* **deps:** bump the types group with 2 updates ([#765](#765)) ([d5b5332](d5b5332))
* **github-actions:** bump github/codeql-action from 2 to 3 ([#753](#753)) ([fbb87c8](fbb87c8))
@antoinezanardi
Copy link
Owner Author

🎉 This issue has been resolved in version 1.26.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🚀 feature New feature or request released
Projects
None yet
Development

No branches or pull requests

1 participant