fixed ETB untapped triggered abilities

This commit is contained in:
Evan Kranzler 2019-09-21 10:40:57 -04:00
parent 109291a024
commit 4afc35caf0

View file

@ -12,6 +12,7 @@ public class EntersBattlefieldUntappedTriggeredAbility extends EntersBattlefield
public EntersBattlefieldUntappedTriggeredAbility(Effect effect, boolean optional) { public EntersBattlefieldUntappedTriggeredAbility(Effect effect, boolean optional) {
super(effect, optional); super(effect, optional);
this.noRule = true;
} }
private EntersBattlefieldUntappedTriggeredAbility(final EntersBattlefieldUntappedTriggeredAbility ability) { private EntersBattlefieldUntappedTriggeredAbility(final EntersBattlefieldUntappedTriggeredAbility ability) {
@ -29,7 +30,7 @@ public class EntersBattlefieldUntappedTriggeredAbility extends EntersBattlefield
return false; return false;
} }
Permanent permanent = game.getPermanent(event.getTargetId()); Permanent permanent = game.getPermanent(event.getTargetId());
return permanent != null && permanent.isTapped(); return permanent != null && !permanent.isTapped();
} }
@Override @Override