mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
fixed ETB untapped triggered abilities
This commit is contained in:
parent
109291a024
commit
4afc35caf0
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue