[LCI] Implement Deeproot Pilgrimage (#11350)

This commit is contained in:
Susucre 2023-10-26 18:06:10 +02:00 committed by GitHub
parent 77b9faad84
commit 27b8d3e198
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 298 additions and 4 deletions

View file

@ -561,7 +561,9 @@ public abstract class PermanentImpl extends CardImpl implements Permanent {
//20091005 - 701.15a
if (!tapped && !replaceEvent(EventType.TAP, game)) {
this.tapped = true;
game.fireEvent(new GameEvent(GameEvent.EventType.TAPPED, objectId, source, source == null ? null : source.getControllerId(), 0, forCombat));
TappedEvent event = new TappedEvent(objectId, source, source == null ? null : source.getControllerId(), forCombat);
game.fireEvent(event);
game.getState().addSimultaneousTapped(event, game);
return true;
}
return false;