Skip to content

Commit

Permalink
run prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
ultimafia-bot committed Dec 17, 2023
1 parent fc9be43 commit f24f222
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions Games/types/Mafia/roles/cards/GuessRole.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,17 @@ module.exports = class GuessRole extends Card {
let targetRole = this.actor.role.data.targetRole;
if (targetRole) {
if (this.target === targetRole) {
this.actor.queueAlert(`:invest: You were not mistaken in pursuing ${this.target.name} for they turned out to be ${addArticle(targetRole)}.`);
this.actor.queueAlert(
`:invest: You were not mistaken in pursuing ${
this.target.name
} for they turned out to be ${addArticle(targetRole)}.`
);
} else {
this.actor.queueAlert(`:invest: You were mistaken in pursuing ${this.target.name} for they turned out not to be ${addArticle(targetRole)}.`);
this.actor.queueAlert(
`:invest: You were mistaken in pursuing ${
this.target.name
} for they turned out not to be ${addArticle(targetRole)}.`
);
}
delete this.actor.role.data.targetRole;
}
Expand Down

0 comments on commit f24f222

Please sign in to comment.