mirror of
https://github.com/correl/mage.git
synced 2024-11-15 11:09:30 +00:00
[NEO] Implemented Armguard Familiar
This commit is contained in:
parent
4f51f9c3a0
commit
2bbae7b80a
2 changed files with 54 additions and 0 deletions
53
Mage.Sets/src/mage/cards/a/ArmguardFamiliar.java
Normal file
53
Mage.Sets/src/mage/cards/a/ArmguardFamiliar.java
Normal file
|
@ -0,0 +1,53 @@
|
|||
package mage.cards.a;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.SimpleStaticAbility;
|
||||
import mage.abilities.costs.mana.GenericManaCost;
|
||||
import mage.abilities.effects.common.continuous.BoostEquippedEffect;
|
||||
import mage.abilities.effects.common.continuous.GainAbilityAttachedEffect;
|
||||
import mage.abilities.keyword.ReconfigureAbility;
|
||||
import mage.abilities.keyword.WardAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.AttachmentType;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class ArmguardFamiliar extends CardImpl {
|
||||
|
||||
public ArmguardFamiliar(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT, CardType.CREATURE}, "{1}{U}");
|
||||
|
||||
this.subtype.add(SubType.EQUIPMENT);
|
||||
this.subtype.add(SubType.BEAST);
|
||||
this.power = new MageInt(2);
|
||||
this.toughness = new MageInt(1);
|
||||
|
||||
// Ward {2}
|
||||
this.addAbility(new WardAbility(new GenericManaCost(2)));
|
||||
|
||||
// Equipped creature gets +2/+1 and has ward {2}.
|
||||
Ability ability = new SimpleStaticAbility(new BoostEquippedEffect(2, 1));
|
||||
ability.addEffect(new GainAbilityAttachedEffect(
|
||||
new WardAbility(new GenericManaCost(2)), AttachmentType.EQUIPMENT
|
||||
).setText("and has ward {2}"));
|
||||
|
||||
// Reconfigure {4}
|
||||
this.addAbility(new ReconfigureAbility("{4}"));
|
||||
}
|
||||
|
||||
private ArmguardFamiliar(final ArmguardFamiliar card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ArmguardFamiliar copy() {
|
||||
return new ArmguardFamiliar(this);
|
||||
}
|
||||
}
|
|
@ -27,6 +27,7 @@ public final class KamigawaNeonDynasty extends ExpansionSet {
|
|||
this.numBoosterDoubleFaced = 1; // temporary test fix
|
||||
|
||||
cards.add(new SetCardInfo("Akki War Paint", 132, Rarity.COMMON, mage.cards.a.AkkiWarPaint.class));
|
||||
cards.add(new SetCardInfo("Armguard Familiar", 46, Rarity.COMMON, mage.cards.a.ArmguardFamiliar.class));
|
||||
cards.add(new SetCardInfo("Asari Captain", 215, Rarity.UNCOMMON, mage.cards.a.AsariCaptain.class));
|
||||
cards.add(new SetCardInfo("Atsushi, the Blazing Sky", 134, Rarity.MYTHIC, mage.cards.a.AtsushiTheBlazingSky.class));
|
||||
cards.add(new SetCardInfo("Bamboo Grove Archer", 173, Rarity.COMMON, mage.cards.b.BambooGroveArcher.class));
|
||||
|
|
Loading…
Reference in a new issue