2013-02-16 21:58:55 -08:00
|
|
|
[
|
|
|
|
new MagicBattalionTrigger() {
|
|
|
|
@Override
|
|
|
|
public MagicEvent executeTrigger(
|
|
|
|
final MagicGame game,
|
|
|
|
final MagicPermanent permanent,
|
|
|
|
final MagicPermanent attacker) {
|
|
|
|
return new MagicEvent(
|
|
|
|
permanent,
|
|
|
|
this,
|
|
|
|
"Creatures PN controls gain first strike and trample until end of turn and can't be blocked by creature tokens this turn."
|
|
|
|
);
|
|
|
|
}
|
|
|
|
@Override
|
|
|
|
public void executeEvent(
|
|
|
|
final MagicGame game,
|
2013-03-22 22:00:53 -07:00
|
|
|
final MagicEvent event) {
|
2013-02-16 21:58:55 -08:00
|
|
|
final Collection<MagicPermanent> creatures=
|
|
|
|
game.filterPermanents(event.getPlayer(),MagicTargetFilter.TARGET_CREATURE_YOU_CONTROL);
|
|
|
|
for (final MagicPermanent creature : creatures) {
|
|
|
|
game.doAction(new MagicSetAbilityAction(creature,MagicAbility.FirstStrike));
|
|
|
|
game.doAction(new MagicSetAbilityAction(creature,MagicAbility.Trample));
|
|
|
|
game.doAction(new MagicSetAbilityAction(creature,MagicAbility.CannotBeBlockedByTokens));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|