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 11, 2023
1 parent 4f32b8f commit 73e7ed3
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions Games/types/Mafia/roles/cards/VisitOnlyDead.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,13 @@ module.exports = class VisitOnlyDead extends Card {
"*": {
targets: function (meetingName) {
// core meetings
if (meetingName == "Village") return { include: ["alive"], exclude: [isHost] };
if (meetingName == "Mafia") return { include: ["alive"], exclude: [excludeMafiaOnlyIfNotAnonymous] };
if (meetingName == "Village")
return { include: ["alive"], exclude: [isHost] };
if (meetingName == "Mafia")
return {
include: ["alive"],
exclude: [excludeMafiaOnlyIfNotAnonymous],
};
if (meetingName == "Cult") return;

// meetings invited by others
Expand All @@ -21,7 +26,7 @@ module.exports = class VisitOnlyDead extends Card {
meetingName.startsWith("Seance with")
) {
return;
} else return { include: ["dead"], exclude: ["alive"]};
} else return { include: ["dead"], exclude: ["alive"] };
},
},
};
Expand Down

0 comments on commit 73e7ed3

Please sign in to comment.