magarena/incomplete/Domri_Rade.groovy

52 lines
2.0 KiB
Groovy
Raw Normal View History

2013-08-24 04:31:28 -07:00
[
new MagicPlaneswalkerActivation(1) {
@Override
public MagicEvent getPermanentEvent(final MagicPermanent source,final MagicPayedCost payedCost) {
return new MagicEvent(
source,
this,
"Look at the top card of your library. If it's a creature card, you may reveal it and put it into your hand."
);
}
@Override
public void executeEvent(final MagicGame game, final MagicEvent event) {
2013-09-08 18:54:53 -07:00
/////////////////////////////////
2013-08-24 04:31:28 -07:00
}
},
new MagicPlaneswalkerActivation(-2) {
@Override
public MagicEvent getPermanentEvent(final MagicPermanent source,final MagicPayedCost payedCost) {
return new MagicEvent(
source,
MagicTargetChoice.POS_TARGET_PLAYER,
this,
"Target creature you control fights another target creature."
);
}
@Override
public void executeEvent(final MagicGame game, final MagicEvent event) {
2013-09-08 18:54:53 -07:00
/////////////////////////////////
2013-08-24 04:31:28 -07:00
}
},
new MagicPlaneswalkerActivation(-7) {
@Override
public MagicEvent getPermanentEvent(final MagicPermanent source,final MagicPayedCost payedCost) {
return new MagicEvent(
source,
MagicTargetChoice.NEG_TARGET_PLAYER,
this,
"PN gets an emblem with \"Creatures you control have double strike, trample, hexproof, and haste.\"."
);
}
@Override
public void executeEvent(final MagicGame game, final MagicEvent event) {
2013-09-08 18:54:53 -07:00
public void modAbilityFlags(final MagicPermanent source,final MagicPermanent permanent,final Set<MagicAbility> flags) {
flags.add(MagicAbility.DoubleStrike);
flags.add(MagicAbility.Trample);
flags.add(MagicAbility.Hexproof);
flags.add(MagicAbility.Haste);
}
2013-08-24 04:31:28 -07:00
}
}
]