diff --git a/Mage.Sets/src/mage/cards/r/ReaverTitan.java b/Mage.Sets/src/mage/cards/r/ReaverTitan.java new file mode 100644 index 0000000000..5084fedca2 --- /dev/null +++ b/Mage.Sets/src/mage/cards/r/ReaverTitan.java @@ -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); + } +} diff --git a/Mage.Sets/src/mage/sets/Warhammer40000.java b/Mage.Sets/src/mage/sets/Warhammer40000.java index 78e71133e9..ddfe8e9f1c 100644 --- a/Mage.Sets/src/mage/sets/Warhammer40000.java +++ b/Mage.Sets/src/mage/sets/Warhammer40000.java @@ -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));