forked from External/mage
Convert tests to new format
This commit is contained in:
parent
3e4d439d18
commit
1220b73961
16 changed files with 56 additions and 107 deletions
|
|
@ -81,11 +81,12 @@ public class MorphAbility extends SpellAbility {
|
|||
}
|
||||
|
||||
public MorphAbility(Card card, Cost morphCost, boolean megamorph) {
|
||||
super(new GenericManaCost(3), card.getName() + " with " + ABILITY_KEYWORD);
|
||||
super(new GenericManaCost(3), card.getName());
|
||||
this.morphCosts = new CostsImpl<>();
|
||||
this.morphCosts.add(morphCost);
|
||||
this.megamorph = megamorph;
|
||||
this.setSpellAbilityCastMode(SpellAbilityCastMode.MORPH);
|
||||
//this.setSpellAbilityType(SpellAbilityType.FACE_DOWN_CREATURE);
|
||||
this.setWorksFaceDown(true);
|
||||
Ability ability = new SimpleStaticAbility(new BecomesFaceDownCreatureEffect(
|
||||
morphCosts, (megamorph ? FaceDownType.MEGAMORPHED : FaceDownType.MORPHED)));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue