"May untap" updates

master
ShawnieBoy 2014-01-17 02:26:18 +00:00
parent 96f3568da4
commit 29eed40902
4 changed files with 28 additions and 6 deletions

View File

@ -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()));
}
}
}
]

View File

@ -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()));
}
}
}
]

View File

@ -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."
) :

View File

@ -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."
) :