store Flanking and Modular in abilityFlags

fixes issue 296
master
melvin 2012-09-30 13:13:59 +08:00
parent 1c99256d31
commit 9b8b7951f0
1 changed files with 2 additions and 0 deletions

View File

@ -126,11 +126,13 @@ public enum MagicAbility {
final int n = Integer.parseInt(arg);
card.add(new MagicComesIntoPlayWithCounterTrigger(MagicCounterType.PlusOne,"+1/+1",n));
card.add(MagicModularTrigger.create());
card.setAbilityFlags(card.getAbilityFlags() | getMask());
}
},
Flanking("flanking",10) {
public void addAbilityImpl(final MagicCardDefinition card, final String arg) {
card.add(MagicFlankingTrigger.create());
card.setAbilityFlags(card.getAbilityFlags() | getMask());
}
},