[40K] Implemented Knight Paladin

This commit is contained in:
Evan Kranzler 2022-09-17 11:16:18 -04:00
parent a2f96b9767
commit 2e6cf41b11
2 changed files with 49 additions and 0 deletions

View file

@ -0,0 +1,48 @@
package mage.cards.k;
import mage.MageInt;
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
import mage.abilities.effects.common.DamagePlayersEffect;
import mage.abilities.keyword.CrewAbility;
import mage.abilities.keyword.TrampleAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.SubType;
import mage.constants.TargetController;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class KnightPaladin extends CardImpl {
public KnightPaladin(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT}, "{5}");
this.subtype.add(SubType.VEHICLE);
this.power = new MageInt(6);
this.toughness = new MageInt(6);
// Trample
this.addAbility(TrampleAbility.getInstance());
// Rapid-fire Battle Cannon -- When Knight Paladin enters the battlefield, it deals 4 damage to each opponent.
this.addAbility(new EntersBattlefieldTriggeredAbility(new DamagePlayersEffect(
4, TargetController.OPPONENT, "it"
)).withFlavorWord("Rapid-fire Battle Cannon"));
// Crew 1
this.addAbility(new CrewAbility(1));
}
private KnightPaladin(final KnightPaladin card) {
super(card);
}
@Override
public KnightPaladin copy() {
return new KnightPaladin(this);
}
}

View file

@ -115,6 +115,7 @@ public final class Warhammer40000 extends ExpansionSet {
cards.add(new SetCardInfo("Inspiring Call", 217, Rarity.UNCOMMON, mage.cards.i.InspiringCall.class));
cards.add(new SetCardInfo("Island", 307, Rarity.LAND, mage.cards.basiclands.Island.class, NON_FULL_USE_VARIOUS));
cards.add(new SetCardInfo("Kill! Maim! Burn!", 128, Rarity.RARE, mage.cards.k.KillMaimBurn.class));
cards.add(new SetCardInfo("Knight Paladin", 160, Rarity.RARE, mage.cards.k.KnightPaladin.class));
cards.add(new SetCardInfo("Launch the Fleet", 188, Rarity.RARE, mage.cards.l.LaunchTheFleet.class));
cards.add(new SetCardInfo("Let the Galaxy Burn", 81, Rarity.RARE, mage.cards.l.LetTheGalaxyBurn.class));
cards.add(new SetCardInfo("Lictor", 94, Rarity.RARE, mage.cards.l.Lictor.class));