Skip to content

Commit

Permalink
chore: pacifist and whistleblower merged
Browse files Browse the repository at this point in the history
  • Loading branch information
Golbolco committed Aug 23, 2024
1 parent b9ebdc2 commit 93d1d39
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 51 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
const Role = require("../../Role");

module.exports = class Pacifist extends Role {
module.exports = class Magistrate extends Role {
constructor(player, data) {
super("Pacifist", player, data);
super("Magistrate", player, data);

this.alignment = "Village";
this.cards = [
Expand Down
9 changes: 0 additions & 9 deletions Games/types/Mafia/roles/Village/Whistleblower.js

This file was deleted.

28 changes: 0 additions & 28 deletions Games/types/Mafia/roles/cards/BlowWhistle.js

This file was deleted.

1 change: 1 addition & 0 deletions data/renamedRoles.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ module.exports = {
Miasma: "Satyr",
Ritualist: "Haruspex",
"Accursed Doll": "Slasher",
Whistleblower: "Magistrate",
// deprecated roles
Framer: "Lawyer",
Knight: "Villager",
Expand Down
13 changes: 1 addition & 12 deletions data/roles.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ const roleData = {
"Malicious effects include poison, bleeding, insanity, and polarization.",
],
},
Pacifist: {
Magistrate: {
alignment: "Village",
newlyAdded: true,
category: "Protective",
Expand Down Expand Up @@ -489,7 +489,6 @@ const roleData = {
},
Geologist: {
alignment: "Village",
newlyAdded: true,
category: "Investigative",
tags: ["Investigative", "Neighbors", "Position"],
description: [
Expand All @@ -510,7 +509,6 @@ const roleData = {
},
Diviner: {
alignment: "Village",
recentlyUpdated: true,
category: "Investigative",
tags: ["Investigative", "Roles"],
description: [
Expand Down Expand Up @@ -955,15 +953,6 @@ const roleData = {
"Once per game during the day, can force the next night phase to skip and two day phases to occur consecutively.",
],
},
Whistleblower: {
alignment: "Village",
category: "Voting",
tags: ["Voting", "Condemn", "Condemn Immune"],
description: [
"Every night, chooses one player and prevents them from voting and from being voted.",
"Cannot blow the whistle on themselves.",
],
},
//manipulative roles
Carrier: {
alignment: "Village",
Expand Down

0 comments on commit 93d1d39

Please sign in to comment.