mirror of
https://github.com/correl/mage.git
synced 2025-01-11 19:13:02 +00:00
[KHM] Implemented Elven Bow
This commit is contained in:
parent
b5495a6465
commit
afa13f2cc4
3 changed files with 58 additions and 0 deletions
56
Mage.Sets/src/mage/cards/e/ElvenBow.java
Normal file
56
Mage.Sets/src/mage/cards/e/ElvenBow.java
Normal file
|
@ -0,0 +1,56 @@
|
|||
package mage.cards.e;
|
||||
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
|
||||
import mage.abilities.common.SimpleStaticAbility;
|
||||
import mage.abilities.costs.mana.GenericManaCost;
|
||||
import mage.abilities.effects.common.CreateTokenAttachSourceEffect;
|
||||
import mage.abilities.effects.common.DoIfCostPaid;
|
||||
import mage.abilities.effects.common.continuous.BoostEquippedEffect;
|
||||
import mage.abilities.effects.common.continuous.GainAbilityAttachedEffect;
|
||||
import mage.abilities.keyword.EquipAbility;
|
||||
import mage.abilities.keyword.ReachAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.AttachmentType;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.game.permanent.token.ElfToken;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class ElvenBow extends CardImpl {
|
||||
|
||||
public ElvenBow(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT}, "{G}");
|
||||
|
||||
this.subtype.add(SubType.EQUIPMENT);
|
||||
|
||||
// When Elven Bow enters the battlefield, you may pay {2}. If you do, create a 1/1 green Elf Warrior creature token, then attach Elven Bow to it.
|
||||
this.addAbility(new EntersBattlefieldTriggeredAbility(new DoIfCostPaid(
|
||||
new CreateTokenAttachSourceEffect(new ElfToken()), new GenericManaCost(2)
|
||||
)));
|
||||
|
||||
// Equipped creature gets +1/+2 and has reach.
|
||||
Ability ability = new SimpleStaticAbility(new BoostEquippedEffect(1, 2));
|
||||
ability.addEffect(new GainAbilityAttachedEffect(
|
||||
ReachAbility.getInstance(), AttachmentType.EQUIPMENT
|
||||
).setText("and has reach"));
|
||||
this.addAbility(ability);
|
||||
|
||||
// Equip {3}
|
||||
this.addAbility(new EquipAbility(3));
|
||||
}
|
||||
|
||||
private ElvenBow(final ElvenBow card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ElvenBow copy() {
|
||||
return new ElvenBow(this);
|
||||
}
|
||||
}
|
|
@ -142,6 +142,7 @@ public final class Kaldheim extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Elderfang Ritualist", 385, Rarity.UNCOMMON, mage.cards.e.ElderfangRitualist.class));
|
||||
cards.add(new SetCardInfo("Elderleaf Mentor", 165, Rarity.COMMON, mage.cards.e.ElderleafMentor.class));
|
||||
cards.add(new SetCardInfo("Elven Ambush", 391, Rarity.UNCOMMON, mage.cards.e.ElvenAmbush.class));
|
||||
cards.add(new SetCardInfo("Elven Bow", 166, Rarity.UNCOMMON, mage.cards.e.ElvenBow.class));
|
||||
cards.add(new SetCardInfo("Elvish Warmaster", 167, Rarity.RARE, mage.cards.e.ElvishWarmaster.class));
|
||||
cards.add(new SetCardInfo("Eradicator Valkyrie", 94, Rarity.MYTHIC, mage.cards.e.EradicatorValkyrie.class));
|
||||
cards.add(new SetCardInfo("Esika's Chariot", 169, Rarity.RARE, mage.cards.e.EsikasChariot.class));
|
||||
|
|
|
@ -40188,6 +40188,7 @@ Blizzard Brawl|Kaldheim|162|U|{G}|Snow Sorcery|||Choose target creature you cont
|
|||
Boreal Outrider|Kaldheim|163|U|{2}{G}|Snow Creature - Elf Warrior|3|2|Whenever you cast a creature spell, if {S} of any of that spell's color was spent to cast it, that creature enters the battlefield with an additional +1/+1 counter on it.|
|
||||
Broken Wings|Kaldheim|164|C|{2}{G}|Instant|||Destroy target artifact, enchantment, or creature with flying.|
|
||||
Elderleaf Mentor|Kaldheim|165|C|{3}{G}|Creature - Elf Warrior|3|2|When Elderleaf Mentor enters the battlefield, create a 1/1 green Elf Warrior creature token.|
|
||||
Elven Bow|Kaldheim|166|U|{G}|Artifact - Equipment|||When Elven Bow enters the battlefield, you may pay {2}. If you do, create a 1/1 green Elf Warrior creature token, then attach Elven Bow to it.$Equipped creature gets +1/+2 and has reach.$Equip {3}|
|
||||
Elvish Warmaster|Kaldheim|167|R|{1}{G}|Creature - Elf Warrior|2|2|Whenever one or more other Elves enters the battlefield under your control, create a 1/1 green Elf Warrior creature token. This ability triggers only once each turn.${5}{G}{G}: Elves you control get +2/+2 and gain deathtouch until end of turn.|
|
||||
Esika, God of the Tree|Kaldheim|168|M|{1}{G}{G}|Legendary Creature - God|1|4|Vigilance${T}: Add one mana of any color.$Other legendary creatures you control have vigilance and "{T}: Add one mana of any color."|
|
||||
The Prismatic Bridge|Kaldheim|168|M|{W}{U}{B}{R}{G}|Legendary Enchantment|||At the beginning of your upkeep, reveal cards from the top of your library until you reveal a creature or planeswalker card. Put that card onto the battlefield and the rest on the bottom of your library in a random order.|
|
||||
|
|
Loading…
Reference in a new issue