[FDN] Implement Armasaur Guide

This commit is contained in:
ciaccona007 2024-11-02 11:00:02 -04:00
parent b4a436864d
commit 3df8a5efe2
2 changed files with 50 additions and 0 deletions

View file

@ -0,0 +1,49 @@
package mage.cards.a;
import mage.MageInt;
import mage.abilities.Ability;
import mage.abilities.common.AttacksWithCreaturesTriggeredAbility;
import mage.abilities.effects.common.counter.AddCountersTargetEffect;
import mage.abilities.keyword.VigilanceAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.SubType;
import mage.counters.CounterType;
import mage.target.common.TargetControlledCreaturePermanent;
import java.util.UUID;
/**
*
* @author ciaccona007
*/
public final class ArmasaurGuide extends CardImpl {
public ArmasaurGuide(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{4}{W}");
this.subtype.add(SubType.DINOSAUR);
this.power = new MageInt(4);
this.toughness = new MageInt(4);
// Vigilance
this.addAbility(VigilanceAbility.getInstance());
// Whenever you attack with three or more creatures, put a +1/+1 counter on target creature you control.
Ability ability = new AttacksWithCreaturesTriggeredAbility(
new AddCountersTargetEffect(CounterType.P1P1.createInstance()), 3
);
ability.addTarget(new TargetControlledCreaturePermanent());
this.addAbility(ability);
}
private ArmasaurGuide(final ArmasaurGuide card) {
super(card);
}
@Override
public ArmasaurGuide copy() {
return new ArmasaurGuide(this);
}
}

View file

@ -46,6 +46,7 @@ public final class Foundations extends ExpansionSet {
cards.add(new SetCardInfo("Arcanis the Omnipotent", 585, Rarity.RARE, mage.cards.a.ArcanisTheOmnipotent.class));
cards.add(new SetCardInfo("Archmage of Runes", 30, Rarity.RARE, mage.cards.a.ArchmageOfRunes.class));
cards.add(new SetCardInfo("Archway Angel", 566, Rarity.UNCOMMON, mage.cards.a.ArchwayAngel.class));
cards.add(new SetCardInfo("Armasaur Guide", 3, Rarity.COMMON, mage.cards.a.ArmasaurGuide.class));
cards.add(new SetCardInfo("Aurelia, the Warleader", 651, Rarity.MYTHIC, mage.cards.a.AureliaTheWarleader.class));
cards.add(new SetCardInfo("Authority of the Consuls", 137, Rarity.RARE, mage.cards.a.AuthorityOfTheConsuls.class));
cards.add(new SetCardInfo("Axgard Cavalry", 189, Rarity.COMMON, mage.cards.a.AxgardCavalry.class));