mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +00:00
[40K] Implemented Primaris Chaplain
This commit is contained in:
parent
f98ccff20f
commit
a2f96b9767
2 changed files with 47 additions and 0 deletions
46
Mage.Sets/src/mage/cards/p/PrimarisChaplain.java
Normal file
46
Mage.Sets/src/mage/cards/p/PrimarisChaplain.java
Normal file
|
@ -0,0 +1,46 @@
|
|||
package mage.cards.p;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.AttacksTriggeredAbility;
|
||||
import mage.abilities.effects.common.continuous.GainAbilitySourceEffect;
|
||||
import mage.abilities.keyword.BattleCryAbility;
|
||||
import mage.abilities.keyword.IndestructibleAbility;
|
||||
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 PrimarisChaplain extends CardImpl {
|
||||
|
||||
public PrimarisChaplain(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{W}{B}");
|
||||
|
||||
this.subtype.add(SubType.ASTARTES);
|
||||
this.subtype.add(SubType.CLERIC);
|
||||
this.power = new MageInt(3);
|
||||
this.toughness = new MageInt(3);
|
||||
|
||||
// Battle cry
|
||||
this.addAbility(new BattleCryAbility());
|
||||
|
||||
// Rosarius -- Whenever Primaris Chaplain attacks, it gains indestructible until end of turn.
|
||||
this.addAbility(new AttacksTriggeredAbility(new GainAbilitySourceEffect(
|
||||
IndestructibleAbility.getInstance(), Duration.EndOfTurn
|
||||
).setText("it gains indestructible until end of turn")).withFlavorWord("Rosarius"));
|
||||
}
|
||||
|
||||
private PrimarisChaplain(final PrimarisChaplain card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public PrimarisChaplain copy() {
|
||||
return new PrimarisChaplain(this);
|
||||
}
|
||||
}
|
|
@ -145,6 +145,7 @@ public final class Warhammer40000 extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Polluted Mire", 288, Rarity.COMMON, mage.cards.p.PollutedMire.class));
|
||||
cards.add(new SetCardInfo("Port Town", 289, Rarity.RARE, mage.cards.p.PortTown.class));
|
||||
cards.add(new SetCardInfo("Prairie Stream", 290, Rarity.RARE, mage.cards.p.PrairieStream.class));
|
||||
cards.add(new SetCardInfo("Primaris Chaplain", 137, Rarity.UNCOMMON, mage.cards.p.PrimarisChaplain.class));
|
||||
cards.add(new SetCardInfo("Primaris Eliminator", 50, Rarity.RARE, mage.cards.p.PrimarisEliminator.class));
|
||||
cards.add(new SetCardInfo("Purestrain Genestealer", 97, Rarity.UNCOMMON, mage.cards.p.PurestrainGenestealer.class));
|
||||
cards.add(new SetCardInfo("Rampant Growth", 220, Rarity.COMMON, mage.cards.r.RampantGrowth.class));
|
||||
|
|
Loading…
Reference in a new issue