[DMU] Implemented Argivian Phalanx

This commit is contained in:
Evan Kranzler 2022-08-27 19:09:56 -04:00
parent 08cc742011
commit ffe7cceb69
2 changed files with 49 additions and 0 deletions

View file

@ -0,0 +1,48 @@
package mage.cards.a;
import mage.MageInt;
import mage.abilities.common.SimpleStaticAbility;
import mage.abilities.dynamicvalue.common.CreaturesYouControlCount;
import mage.abilities.effects.common.cost.SpellCostReductionSourceEffect;
import mage.abilities.hint.common.CreaturesYouControlHint;
import mage.abilities.keyword.VigilanceAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.SubType;
import mage.constants.Zone;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class ArgivianPhalanx extends CardImpl {
public ArgivianPhalanx(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{5}{W}");
this.subtype.add(SubType.HUMAN);
this.subtype.add(SubType.KOR);
this.subtype.add(SubType.SOLDIER);
this.power = new MageInt(44);
this.toughness = new MageInt(4);
// This spell costs {1} less to cast for each creature you control.
this.addAbility(new SimpleStaticAbility(
Zone.ALL, new SpellCostReductionSourceEffect(CreaturesYouControlCount.instance)
).addHint(CreaturesYouControlHint.instance));
// Vigilance
this.addAbility(VigilanceAbility.getInstance());
}
private ArgivianPhalanx(final ArgivianPhalanx card) {
super(card);
}
@Override
public ArgivianPhalanx copy() {
return new ArgivianPhalanx(this);
}
}

View file

@ -39,6 +39,7 @@ public final class DominariaUnited extends ExpansionSet {
cards.add(new SetCardInfo("Ajani, Sleeper Agent", 192, Rarity.MYTHIC, mage.cards.a.AjaniSleeperAgent.class));
cards.add(new SetCardInfo("Archangel of Wrath", 3, Rarity.RARE, mage.cards.a.ArchangelOfWrath.class));
cards.add(new SetCardInfo("Argivian Cavalier", 4, Rarity.COMMON, mage.cards.a.ArgivianCavalier.class));
cards.add(new SetCardInfo("Argivian Phalanx", 5, Rarity.COMMON, mage.cards.a.ArgivianPhalanx.class));
cards.add(new SetCardInfo("Aron, Benalia's Ruin", 193, Rarity.UNCOMMON, mage.cards.a.AronBenaliasRuin.class));
cards.add(new SetCardInfo("Astor, Bearer of Blades", 194, Rarity.RARE, mage.cards.a.AstorBearerOfBlades.class));
cards.add(new SetCardInfo("Automatic Librarian", 229, Rarity.COMMON, mage.cards.a.AutomaticLibrarian.class));