Convert tests to new format

This commit is contained in:
Steven Knipe 2023-09-18 02:56:33 -07:00
parent 3e4d439d18
commit 1220b73961
16 changed files with 56 additions and 107 deletions

View file

@ -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)));