magarena/release/Magarena/scripts/Blade_Tribe_Berserkers.groovy

13 lines
488 B
Groovy
Raw Normal View History

2013-04-12 19:58:51 -07:00
[
new MagicWhenComesIntoPlayTrigger() {
@Override
public MagicEvent executeTrigger(final MagicGame game,final MagicPermanent permanent, final MagicPlayer player) {
if (MagicCondition.METALCRAFT_CONDITION.accept(permanent)) {
game.doAction(new MagicChangeTurnPTAction(permanent,3,3));
game.doAction(new MagicSetAbilityAction(permanent,MagicAbility.Haste));
}
return MagicEvent.NONE;
}
}
]