mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +00:00
[40K] Implemented Cryptothrall
This commit is contained in:
parent
f2f7bc5f4e
commit
861acd0da1
2 changed files with 44 additions and 0 deletions
43
Mage.Sets/src/mage/cards/c/Cryptothrall.java
Normal file
43
Mage.Sets/src/mage/cards/c/Cryptothrall.java
Normal file
|
@ -0,0 +1,43 @@
|
|||
package mage.cards.c;
|
||||
|
||||
import java.util.UUID;
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.SimpleStaticAbility;
|
||||
import mage.abilities.effects.common.continuous.GainAbilityControlledEffect;
|
||||
import mage.abilities.keyword.HexproofAbility;
|
||||
import mage.constants.Duration;
|
||||
import mage.constants.SubType;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.filter.StaticFilters;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class Cryptothrall extends CardImpl {
|
||||
|
||||
public Cryptothrall(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT, CardType.CREATURE}, "{4}");
|
||||
|
||||
this.subtype.add(SubType.CONSTRUCT);
|
||||
this.power = new MageInt(3);
|
||||
this.toughness = new MageInt(3);
|
||||
|
||||
// Protector -- Other artifact creatures you control have hexproof.
|
||||
this.addAbility(new SimpleStaticAbility(new GainAbilityControlledEffect(
|
||||
HexproofAbility.getInstance(), Duration.WhileOnBattlefield,
|
||||
StaticFilters.FILTER_PERMANENTS_ARTIFACT_CREATURE,true
|
||||
)).withFlavorWord("Protector"));
|
||||
}
|
||||
|
||||
private Cryptothrall(final Cryptothrall card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Cryptothrall copy() {
|
||||
return new Cryptothrall(this);
|
||||
}
|
||||
}
|
|
@ -50,6 +50,7 @@ public final class Warhammer40000 extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Commander's Sphere", 235, Rarity.COMMON, mage.cards.c.CommandersSphere.class));
|
||||
cards.add(new SetCardInfo("Cranial Plating", 236, Rarity.UNCOMMON, mage.cards.c.CranialPlating.class));
|
||||
cards.add(new SetCardInfo("Crumbling Necropolis", 273, Rarity.UNCOMMON, mage.cards.c.CrumblingNecropolis.class));
|
||||
cards.add(new SetCardInfo("Cryptothrall", 155, Rarity.RARE, mage.cards.c.Cryptothrall.class));
|
||||
cards.add(new SetCardInfo("Cultivate", 211, Rarity.COMMON, mage.cards.c.Cultivate.class));
|
||||
cards.add(new SetCardInfo("Dark Ritual", 196, Rarity.COMMON, mage.cards.d.DarkRitual.class));
|
||||
cards.add(new SetCardInfo("Darkness", 197, Rarity.COMMON, mage.cards.d.Darkness.class));
|
||||
|
|
Loading…
Reference in a new issue