Skip to content

Commit

Permalink
UPDATE
Browse files Browse the repository at this point in the history
  • Loading branch information
lsocrate committed Nov 16, 2023
1 parent 90880db commit 1c3c20b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions server/game/cards/20-Core2/Crab/ZealousExorcist.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import DrawCard from '../../../drawcard';
export default class ZealousExorcist extends DrawCard {
static id = 'zealous-exorcist';

private charactersPlayedThisConflict = new Set<DrawCard>();
private charactersPlayedThisConflict = new WeakSet<DrawCard>();
private eventRegistrar?: EventRegistrar;

public setupCardAbilities() {
Expand All @@ -25,12 +25,12 @@ export default class ZealousExorcist extends DrawCard {
}

public onConflictStarted() {
this.charactersPlayedThisConflict.clear();
this.charactersPlayedThisConflict = new WeakSet();
}

public onCharacterEntersPlay(event: any) {
if (event.originalLocation === Locations.Hand) {
this.charactersPlayedThisConflict.add(event.card);
}
}
}
}

0 comments on commit 1c3c20b

Please sign in to comment.