added ability 'tap pain add mana'

master
melvin 2012-10-04 20:20:52 +08:00
parent b65e9fda27
commit 35f8a82e73
1 changed files with 7 additions and 0 deletions

View File

@ -12,6 +12,7 @@ import magic.model.event.MagicRegenerationActivation;
import magic.model.event.MagicSacrificeManaActivation;
import magic.model.event.MagicSacrificeTapManaActivation;
import magic.model.event.MagicTapManaActivation;
import magic.model.event.MagicPainTapManaActivation;
import magic.model.event.MagicTiming;
import magic.model.event.MagicVividManaActivation;
import magic.model.mstatic.MagicCDA;
@ -297,6 +298,12 @@ public enum MagicAbility {
card.add(new MagicVividManaActivation(manatype));
}
},
TapPainAddMana("tap pain add mana", 10) {
public void addAbilityImpl(final MagicCardDefinition card, final String arg) {
final List<MagicManaType> manatype = MagicManaType.getList(arg);
card.add(new MagicPainTapManaActivation(manatype));
}
},
SacAddMana("sac add mana",10) {
public void addAbilityImpl(final MagicCardDefinition card, final String arg) {
final List<MagicManaType> manatype = MagicManaType.getList(arg);