fix a bug in Sharae of Numbing Depths (#13176)

* fix a bug in Sharae of Numbing Depths which caused the ability to trigger when owner's permanents got tapped.

* Fix Sharae of Numbing Depths
This commit is contained in:
padfoothelix 2024-12-22 17:29:48 +01:00 committed by GitHub
parent 5928c84026
commit f4eeda743c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -83,7 +83,6 @@ class SharaeOfNumbingDepthsTriggeredAbility extends TriggeredAbilityImpl {
public boolean checkTrigger(GameEvent event, Game game) {
Permanent permanent = game.getPermanent(event.getTargetId());
return permanent != null
&& StaticFilters.FILTER_OPPONENTS_PERMANENT_CREATURE.match(permanent, game)
&& isControlledBy(event.getPlayerId());
&& StaticFilters.FILTER_OPPONENTS_PERMANENT_CREATURE.match(permanent, event.getPlayerId(), this, game);
}
}
}