forked from External/mage
[40K] Implemented Arco-Flagellant
This commit is contained in:
parent
00af41c123
commit
f80f88b6df
2 changed files with 51 additions and 0 deletions
50
Mage.Sets/src/mage/cards/a/ArcoFlagellant.java
Normal file
50
Mage.Sets/src/mage/cards/a/ArcoFlagellant.java
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
package mage.cards.a;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.CantBlockAbility;
|
||||
import mage.abilities.common.SimpleActivatedAbility;
|
||||
import mage.abilities.costs.common.PayLifeCost;
|
||||
import mage.abilities.effects.common.continuous.GainAbilitySourceEffect;
|
||||
import mage.abilities.keyword.IndestructibleAbility;
|
||||
import mage.abilities.keyword.SquadAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Duration;
|
||||
import mage.constants.SubType;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class ArcoFlagellant extends CardImpl {
|
||||
|
||||
public ArcoFlagellant(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{B}");
|
||||
|
||||
this.subtype.add(SubType.HUMAN);
|
||||
this.power = new MageInt(3);
|
||||
this.toughness = new MageInt(1);
|
||||
|
||||
// Squad {2}
|
||||
this.addAbility(new SquadAbility());
|
||||
|
||||
// Arco-Flagellant can't block.
|
||||
this.addAbility(new CantBlockAbility());
|
||||
|
||||
// Endurant -- Pay 3 life: Arco-Flagellant gains indestructible until end of turn.
|
||||
this.addAbility(new SimpleActivatedAbility(new GainAbilitySourceEffect(
|
||||
IndestructibleAbility.getInstance(), Duration.EndOfTurn
|
||||
), new PayLifeCost(3)).withFlavorWord("Endurant"));
|
||||
}
|
||||
|
||||
private ArcoFlagellant(final ArcoFlagellant card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ArcoFlagellant copy() {
|
||||
return new ArcoFlagellant(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -31,6 +31,7 @@ public final class Warhammer40000 extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Aetherize", 191, Rarity.UNCOMMON, mage.cards.a.Aetherize.class));
|
||||
cards.add(new SetCardInfo("Arcane Sanctum", 264, Rarity.UNCOMMON, mage.cards.a.ArcaneSanctum.class));
|
||||
cards.add(new SetCardInfo("Arcane Signet", 227, Rarity.COMMON, mage.cards.a.ArcaneSignet.class));
|
||||
cards.add(new SetCardInfo("Arco-Flagellant", 29, Rarity.RARE, mage.cards.a.ArcoFlagellant.class));
|
||||
cards.add(new SetCardInfo("Ash Barrens", 265, Rarity.COMMON, mage.cards.a.AshBarrens.class));
|
||||
cards.add(new SetCardInfo("Assault Suit", 230, Rarity.UNCOMMON, mage.cards.a.AssaultSuit.class));
|
||||
cards.add(new SetCardInfo("Atalan Jackal", 105, Rarity.RARE, mage.cards.a.AtalanJackal.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue