mirror of
https://github.com/correl/mage.git
synced 2025-01-13 19:11:33 +00:00
Implemented Knight of Old Benalia
This commit is contained in:
parent
bb38290b8e
commit
6eca9c5bfe
2 changed files with 47 additions and 0 deletions
46
Mage.Sets/src/mage/cards/k/KnightOfOldBenalia.java
Normal file
46
Mage.Sets/src/mage/cards/k/KnightOfOldBenalia.java
Normal file
|
@ -0,0 +1,46 @@
|
|||
package mage.cards.k;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
|
||||
import mage.abilities.costs.mana.ManaCostsImpl;
|
||||
import mage.abilities.effects.common.continuous.BoostControlledEffect;
|
||||
import mage.abilities.keyword.SuspendAbility;
|
||||
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 KnightOfOldBenalia extends CardImpl {
|
||||
|
||||
public KnightOfOldBenalia(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{3}{W}{W}");
|
||||
|
||||
this.subtype.add(SubType.HUMAN);
|
||||
this.subtype.add(SubType.KNIGHT);
|
||||
this.power = new MageInt(3);
|
||||
this.toughness = new MageInt(3);
|
||||
|
||||
// Suspend 5—{W}
|
||||
this.addAbility(new SuspendAbility(5, new ManaCostsImpl("{W}"), this));
|
||||
|
||||
// When Knight of Old Benalia enters the battlefield, other creatures you control get +1/+1 until end of turn.
|
||||
this.addAbility(new EntersBattlefieldTriggeredAbility(
|
||||
new BoostControlledEffect(1, 1, Duration.EndOfTurn, true)
|
||||
));
|
||||
}
|
||||
|
||||
private KnightOfOldBenalia(final KnightOfOldBenalia card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public KnightOfOldBenalia copy() {
|
||||
return new KnightOfOldBenalia(this);
|
||||
}
|
||||
}
|
|
@ -115,6 +115,7 @@ public final class ModernHorizons extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Kaya's Guile", 205, Rarity.RARE, mage.cards.k.KayasGuile.class));
|
||||
cards.add(new SetCardInfo("Kess, Dissident Mage", 206, Rarity.MYTHIC, mage.cards.k.KessDissidentMage.class));
|
||||
cards.add(new SetCardInfo("King of the Pride", 16, Rarity.UNCOMMON, mage.cards.k.KingOfThePride.class));
|
||||
cards.add(new SetCardInfo("Knight of Old Benalia", 17, Rarity.COMMON, mage.cards.k.KnightOfOldBenalia.class));
|
||||
cards.add(new SetCardInfo("Krosan Tusker", 169, Rarity.COMMON, mage.cards.k.KrosanTusker.class));
|
||||
cards.add(new SetCardInfo("Lava Dart", 134, Rarity.COMMON, mage.cards.l.LavaDart.class));
|
||||
cards.add(new SetCardInfo("Lavabelly Sliver", 207, Rarity.UNCOMMON, mage.cards.l.LavabellySliver.class));
|
||||
|
|
Loading…
Reference in a new issue