"May untap" updates
parent
96f3568da4
commit
29eed40902
|
@ -7,14 +7,21 @@
|
|||
permanent.isTapped()) ?
|
||||
new MagicEvent(
|
||||
permanent,
|
||||
new MagicSimpleMayChoice(
|
||||
MagicSimpleMayChoice.UNTAP,
|
||||
1,
|
||||
MagicSimpleMayChoice.DEFAULT_YES
|
||||
),
|
||||
this,
|
||||
"Untap SN."
|
||||
"PN may\$ Untap SN."
|
||||
) :
|
||||
MagicEvent.NONE;
|
||||
}
|
||||
@Override
|
||||
public void executeEvent(final MagicGame game, final MagicEvent event) {
|
||||
game.doAction(new MagicUntapAction(event.getPermanent()));
|
||||
if (event.isYes()) {
|
||||
game.doAction(new MagicUntapAction(event.getPermanent()));
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
|
@ -9,14 +9,21 @@
|
|||
cardOnStack.isInstantOrSorcerySpell()) ?
|
||||
new MagicEvent(
|
||||
permanent,
|
||||
new MagicSimpleMayChoice(
|
||||
MagicSimpleMayChoice.UNTAP,
|
||||
1,
|
||||
MagicSimpleMayChoice.DEFAULT_YES
|
||||
),
|
||||
this,
|
||||
"Untap SN."
|
||||
"PN may\$ Untap SN."
|
||||
):
|
||||
MagicEvent.NONE;
|
||||
}
|
||||
@Override
|
||||
public void executeEvent(final MagicGame game, final MagicEvent event) {
|
||||
game.doAction(new MagicUntapAction(event.getPermanent()));
|
||||
if (event.isYes()) {
|
||||
game.doAction(new MagicUntapAction(event.getPermanent()));
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
|
@ -8,7 +8,11 @@
|
|||
return (otherPermanent.isArtifact()) ?
|
||||
new MagicEvent(
|
||||
permanent,
|
||||
new MagicMayChoice(),
|
||||
new MagicSimpleMayChoice(
|
||||
MagicSimpleMayChoice.UNTAP,
|
||||
1,
|
||||
MagicSimpleMayChoice.DEFAULT_YES
|
||||
),
|
||||
this,
|
||||
"PN may\$ Untap SN."
|
||||
) :
|
||||
|
|
|
@ -8,7 +8,11 @@
|
|||
return (otherPermanent.hasType(MagicType.Artifact)) ?
|
||||
new MagicEvent(
|
||||
permanent,
|
||||
new MagicMayChoice(),
|
||||
new MagicSimpleMayChoice(
|
||||
MagicSimpleMayChoice.UNTAP,
|
||||
1,
|
||||
MagicSimpleMayChoice.DEFAULT_YES
|
||||
),
|
||||
this,
|
||||
"PN may\$ untap SN."
|
||||
) :
|
||||
|
|
Loading…
Reference in New Issue