Skip to content

Commit

Permalink
Fix Kleptomanic modifier (#1264)
Browse files Browse the repository at this point in the history
  • Loading branch information
R9H9 authored Dec 2, 2023
1 parent f22453c commit d7486d9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Games/types/Mafia/roles/cards/StealFromTargets.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,11 @@ module.exports = class StealFromTargets extends Card {
labels: ["stealItem"],
run: function () {
if (this.game.getStateName() != "Night") return;

if (!this.actor.alive) return;

let visits = this.getVisitors(this.actor);
visitors.map((v) => this.stealAllItems(v));
let visits = this.getVisits(this.actor);
visits.map((v) => this.stealAllItems(v));
},
},
];
Expand Down

0 comments on commit d7486d9

Please sign in to comment.