mirror of
https://github.com/correl/mage.git
synced 2024-12-29 03:00:15 +00:00
[NEO] Implemented Enormous Energy Blade (#8632)
* [NEO] Implemented Enormous Energy Blade * Removed unnecessary class
This commit is contained in:
parent
2005607821
commit
b88ca85d79
2 changed files with 49 additions and 0 deletions
48
Mage.Sets/src/mage/cards/e/EnormousEnergyBlade.java
Normal file
48
Mage.Sets/src/mage/cards/e/EnormousEnergyBlade.java
Normal file
|
@ -0,0 +1,48 @@
|
|||
package mage.cards.e;
|
||||
|
||||
import mage.abilities.common.AttachedToCreatureSourceTriggeredAbility;
|
||||
import mage.abilities.common.SimpleStaticAbility;
|
||||
import mage.abilities.effects.common.TapEnchantedEffect;
|
||||
import mage.abilities.effects.common.continuous.BoostEquippedEffect;
|
||||
import mage.abilities.keyword.EquipAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Addictiveme
|
||||
*/
|
||||
public final class EnormousEnergyBlade extends CardImpl {
|
||||
|
||||
public EnormousEnergyBlade(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT}, "{2}{B}");
|
||||
|
||||
this.subtype.add(SubType.EQUIPMENT);
|
||||
|
||||
// Equipped creature gets +4/+0
|
||||
this.addAbility(new SimpleStaticAbility(new BoostEquippedEffect(4, 0)));
|
||||
|
||||
// Whenever Enormous Energy Blade becomes attached to a creature, tap that creature.
|
||||
TapEnchantedEffect effect = new TapEnchantedEffect();
|
||||
effect.setText("tap that creature");
|
||||
AttachedToCreatureSourceTriggeredAbility attachTrigger = new AttachedToCreatureSourceTriggeredAbility(effect, false);
|
||||
attachTrigger.setTriggerPhrase("Whenever {this} becomes attached to a creature, ");
|
||||
this.addAbility(attachTrigger);
|
||||
|
||||
// Equip {2}
|
||||
this.addAbility(new EquipAbility(2));
|
||||
}
|
||||
|
||||
private EnormousEnergyBlade(final EnormousEnergyBlade card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public EnormousEnergyBlade copy() {
|
||||
return new EnormousEnergyBlade(this);
|
||||
}
|
||||
}
|
|
@ -47,6 +47,7 @@ public final class KamigawaNeonDynasty extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Covert Technician", 49, Rarity.UNCOMMON, mage.cards.c.CovertTechnician.class));
|
||||
cards.add(new SetCardInfo("Dokuchi Shadow-Walker", 94, Rarity.COMMON, mage.cards.d.DokuchiShadowWalker.class));
|
||||
cards.add(new SetCardInfo("Eiganjo Uprising", 484, Rarity.RARE, mage.cards.e.EiganjoUprising.class));
|
||||
cards.add(new SetCardInfo("Enormous Energy Blade", 96, Rarity.UNCOMMON, mage.cards.e.EnormousEnergyBlade.class));
|
||||
cards.add(new SetCardInfo("Enthusiastic Mechanaut", 218, Rarity.UNCOMMON, mage.cards.e.EnthusiasticMechanaut.class));
|
||||
cards.add(new SetCardInfo("Era of Enlightenment", 11, Rarity.COMMON, mage.cards.e.EraOfEnlightenment.class));
|
||||
cards.add(new SetCardInfo("Essence Capture", 52, Rarity.UNCOMMON, mage.cards.e.EssenceCapture.class));
|
||||
|
|
Loading…
Reference in a new issue