mirror of
https://github.com/correl/mage.git
synced 2024-11-24 19:19:56 +00:00
Fix Norn's Inquisitor (#10357)
This commit is contained in:
parent
e4f3f263a4
commit
f5ab5a8caf
1 changed files with 2 additions and 1 deletions
|
@ -11,6 +11,7 @@ import mage.constants.CardType;
|
|||
import mage.constants.SubType;
|
||||
import mage.constants.Zone;
|
||||
import mage.counters.CounterType;
|
||||
import mage.filter.StaticFilters;
|
||||
import mage.game.Game;
|
||||
import mage.game.events.GameEvent;
|
||||
import mage.game.permanent.Permanent;
|
||||
|
@ -71,7 +72,7 @@ class NornsInquisitorTriggeredAbility extends TriggeredAbilityImpl {
|
|||
@Override
|
||||
public boolean checkTrigger(GameEvent event, Game game) {
|
||||
Permanent permanent = game.getPermanent(event.getTargetId());
|
||||
if (permanent == null || !permanent.hasSubtype(SubType.PHYREXIAN, game)) {
|
||||
if (permanent == null || !StaticFilters.FILTER_CONTROLLED_PERMANENT.match(permanent, getControllerId(), this, game) || !permanent.hasSubtype(SubType.PHYREXIAN, game)) {
|
||||
return false;
|
||||
}
|
||||
this.getEffects().setTargetPointer(new FixedTarget(permanent, game));
|
||||
|
|
Loading…
Reference in a new issue