mirror of
https://github.com/correl/mage.git
synced 2024-12-26 11:09:27 +00:00
[40K] Implemented Reaver Titan
This commit is contained in:
parent
4e1a7f25f8
commit
2c35f8ad31
2 changed files with 58 additions and 0 deletions
57
Mage.Sets/src/mage/cards/r/ReaverTitan.java
Normal file
57
Mage.Sets/src/mage/cards/r/ReaverTitan.java
Normal file
|
@ -0,0 +1,57 @@
|
|||
package mage.cards.r;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.AttacksTriggeredAbility;
|
||||
import mage.abilities.effects.common.DamagePlayersEffect;
|
||||
import mage.abilities.keyword.CrewAbility;
|
||||
import mage.abilities.keyword.ProtectionAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.ComparisonType;
|
||||
import mage.constants.SubType;
|
||||
import mage.constants.TargetController;
|
||||
import mage.filter.FilterCard;
|
||||
import mage.filter.predicate.mageobject.ManaValuePredicate;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class ReaverTitan extends CardImpl {
|
||||
|
||||
private static final FilterCard filter = new FilterCard("mana value 3 or less");
|
||||
|
||||
static {
|
||||
filter.add(new ManaValuePredicate(ComparisonType.FEWER_THAN, 4));
|
||||
}
|
||||
|
||||
public ReaverTitan(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT}, "{7}");
|
||||
|
||||
this.subtype.add(SubType.VEHICLE);
|
||||
this.power = new MageInt(10);
|
||||
this.toughness = new MageInt(10);
|
||||
|
||||
// Void Shields -- Protection from mana value 3 or less.
|
||||
this.addAbility(new ProtectionAbility(filter).withFlavorWord("Void Shields"));
|
||||
|
||||
// Gatling Blaster -- Whenever Reaver Titan attacks, it deals 5 damage to each opponent.
|
||||
this.addAbility(new AttacksTriggeredAbility(new DamagePlayersEffect(
|
||||
5, TargetController.OPPONENT, "it"
|
||||
)).withFlavorWord("Gatling Blaster"));
|
||||
|
||||
// Crew 4
|
||||
this.addAbility(new CrewAbility(4));
|
||||
}
|
||||
|
||||
private ReaverTitan(final ReaverTitan card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ReaverTitan copy() {
|
||||
return new ReaverTitan(this);
|
||||
}
|
||||
}
|
|
@ -190,6 +190,7 @@ public final class Warhammer40000 extends ExpansionSet {
|
|||
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));
|
||||
cards.add(new SetCardInfo("Ravener", 138, Rarity.RARE, mage.cards.r.Ravener.class));
|
||||
cards.add(new SetCardInfo("Reaver Titan", 163, Rarity.RARE, mage.cards.r.ReaverTitan.class));
|
||||
cards.add(new SetCardInfo("Reconnaissance Mission", 193, Rarity.UNCOMMON, mage.cards.r.ReconnaissanceMission.class));
|
||||
cards.add(new SetCardInfo("Reliquary Tower", 291, Rarity.UNCOMMON, mage.cards.r.ReliquaryTower.class));
|
||||
cards.add(new SetCardInfo("Reverberate", 207, Rarity.RARE, mage.cards.r.Reverberate.class));
|
||||
|
|
Loading…
Reference in a new issue