Skip to content

Commit

Permalink
feat: more lore for gambler
Browse files Browse the repository at this point in the history
  • Loading branch information
Golbolco authored Oct 10, 2024
1 parent c556487 commit 22634b9
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
12 changes: 12 additions & 0 deletions Games/types/Mafia/roles/Independent/Gambler.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,17 @@ module.exports = class Gambler extends Role {

this.alignment = "Independent";
this.cards = ["VillageCore", "ChallengeTarget", "WinWithTwoGambleWins"];

this.listeners = {
roleAssigned: function (player) {
if (player !== this.player) {
return;
}

this.player.queueAlert(
":dice6: Everything this Village does is based on chance. Show them the odds and prove that the house doesn't always win."
);
},
};
}
};
3 changes: 1 addition & 2 deletions Games/types/Mafia/roles/cards/WinWithHounds.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
const Card = require("../../Card");
const { PRIORITY_WIN_CHECK_DEFAULT } = require("../../const/Priority");

module.exports = class WinFourPolarisedDeaths extends Card {
module.exports = class WinWithHounds extends Card {
constructor(role) {
super(role);

role.polarisedKills = 0;
this.winCheck = {
priority: PRIORITY_WIN_CHECK_DEFAULT,
check: function (counts, winners, aliveCount) {
Expand Down

0 comments on commit 22634b9

Please sign in to comment.