Implemented Colossus Hammer

This commit is contained in:
Evan Kranzler 2019-06-24 09:02:55 -04:00
parent e2673cd13e
commit 45cbbdae4d
3 changed files with 49 additions and 1 deletions

View file

@ -0,0 +1,46 @@
package mage.cards.c;
import mage.abilities.Ability;
import mage.abilities.common.SimpleStaticAbility;
import mage.abilities.effects.common.continuous.BoostEquippedEffect;
import mage.abilities.effects.common.continuous.LoseAbilityAttachedEffect;
import mage.abilities.keyword.EquipAbility;
import mage.abilities.keyword.FlyingAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.AttachmentType;
import mage.constants.CardType;
import mage.constants.SubType;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class ColossusHammer extends CardImpl {
public ColossusHammer(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT}, "{1}");
this.subtype.add(SubType.EQUIPMENT);
// Equipped creature gets +10/+10 and loses flying.
Ability ability = new SimpleStaticAbility(new BoostEquippedEffect(10, 10));
ability.addEffect(new LoseAbilityAttachedEffect(
FlyingAbility.getInstance(), AttachmentType.EQUIPMENT
).setText("and loses flying"));
this.addAbility(ability);
// Equip {8}
this.addAbility(new EquipAbility(8));
}
private ColossusHammer(final ColossusHammer card) {
super(card);
}
@Override
public ColossusHammer copy() {
return new ColossusHammer(this);
}
}

View file

@ -75,6 +75,7 @@ public final class CoreSet2020 extends ExpansionSet {
cards.add(new SetCardInfo("Chandra, Flame's Fury", 294, Rarity.MYTHIC, mage.cards.c.ChandraFlamesFury.class));
cards.add(new SetCardInfo("Chandra, Novice Pyromancer", 128, Rarity.UNCOMMON, mage.cards.c.ChandraNovicePyromancer.class));
cards.add(new SetCardInfo("Cloudkin Seer", 54, Rarity.COMMON, mage.cards.c.CloudkinSeer.class));
cards.add(new SetCardInfo("Colossus Hammer", 223, Rarity.UNCOMMON, mage.cards.c.ColossusHammer.class));
cards.add(new SetCardInfo("Convolute", 55, Rarity.COMMON, mage.cards.c.Convolute.class));
cards.add(new SetCardInfo("Corpse Knight", 206, Rarity.UNCOMMON, mage.cards.c.CorpseKnight.class));
cards.add(new SetCardInfo("Creeping Trailblazer", 207, Rarity.UNCOMMON, mage.cards.c.CreepingTrailblazer.class));

View file

@ -35371,7 +35371,7 @@ Snow-Covered Forest|Modern Horizons|254|C||Basic Snow Land - Forest|||({T}: Add
Flusterstorm|Modern Horizons|255|R|{U}|Instant|||Counter target instant or sorcery spell unless its controller pays {1}.$Storm|
Aerial Assault|Core Set 2020|1|C|{2}{W}|Sorcery|||Destroy target tapped creature. You gain 1 life for each creature you control with flying.|
Ajani, Strength of the Pride|Core Set 2020|2|M|{2}{W}{W}|Legendary Planeswalker - Ajani|5|+1: You gain life equal to the number of creatures you control plus the number of planeswalkers you control.$2: Create a 2/2 white Cat Soldier creature token named Ajani's Pridemate with "Whenever you gain life, put a +1/+1 counter on Ajani's Pridemate."$0: If you have at least 15 life more than your starting life total, exile Ajani, Strength of the Pride and each artifact and creature your opponents control.|
Ancestral Blade|Core Set 2020|3|U|{1}{W}|Artifact - Equipment|||When Ancestral Blade enters the battlefield, create a 1/1 white Soldier creature token, then attach Ancestral Blade to it.$Equipped creature get +1/+1$Equip {1}|
Ancestral Blade|Core Set 2020|3|U|{1}{W}|Artifact - Equipment|||When Ancestral Blade enters the battlefield, create a 1/1 white Soldier creature token, then attach Ancestral Blade to it.$Equipped creature gets +1/+1.$Equip {1}|
Angel of Vitality|Core Set 2020|4|U|{2}{W}|Creature - Angel|2|2|Flying$If you would gain life, you gain that much life plus 1 instead.$Angel of Vitality gets +2/+2 as long as you have 25 or more life.|
Bishop of Wings|Core Set 2020|8|R|{W}{W}|Creature - Human Cleric|1|4|Whenever an Angel enters the battlefield under your control, you gain 4 life.$Whenever an Angel you control dies, create a 1/1 white Spirit creature token with flying.|
Cavalier of Dawn|Core Set 2020|10|M|{2}{W}{W}{W}|Creature - Elemental Knight|4|6|Vigilance$When Cavalier of Dawn enters the battlefield, destroy up to one target nonland permanent. Its controller creates a 3/3 colorless Golem artifact creature token.$When Cavalier of Dawn dies, return target artifact or enchantment card from your graveyard to your hand.|
@ -35499,6 +35499,7 @@ Omnath, Locus of the Roil|Core Set 2020|216|M|{1}{G}{U}{R}|Legendary Creature -
Risen Reef|Core Set 2020|217|U|{1}{G}{U}|Creature - Elemental|1|1|Whenever Risen Reef or another Elemental enters the battlefield under your control, look at the top card of your library. If it's a land card, you may put it onto the battlefield tapped. If you don't put the card onto the battlefield, put it into your hand.|
Tomebound Lich|Core Set 2020|219|U|{1}{U}{B}|Creature - Zombie Wizard|1|3|Deathtouch$Lifelink$Whenever Tomebound Lich enters the battlefield or deals combat damage to a player, draw a card, then discard a card.|
Yarok, the Desecrated|Core Set 2020|220|M|{2}{B}{G}{U}|Legendary Creature - Elemental Horror|3|5|Deathtouch, lifelink$If a permanent entering the battlefield causes a triggered ability of a permanent you control to trigger, that ability triggers an additional time.|
Colossus Hammer|Core Set 2020|223|U|{1}|Artifact - Equipment|||Equipped creature gets +10/+10 and loses flying.$Equip {8}|
Diamond Knight|Core Set 2020|224|U|{3}|Artifact Creature - Knight|1|1|Vigilance$As Diamond Knight enters the battlefield, choose a color.$Whenever you cast a spell of the chosen color, put a +1/+1 counter on Diamond Knight.|
Diviner's Lockbox|Core Set 2020|225|U|{4}|Artifact|||{1}, {T}: Choose a card name, then reveal the top card of your library. If that card has the chosen name, sacrifice Diviner's Lockbox and draw three cards. Activate this ability only any time you could cast a sorcery.|
Golos, Tireless Pilgrim|Core Set 2020|226|R|{5}|Legendary Artifact Creature - Scout|3|5|When Golos, Tireless Pilgrim enters the battlefield, you may search your library for a land card, put that card onto the battlefield tapped, then shuffle your library.${2}{W}{U}{B}{R}{G}: Exile the top three cards of your library. You may play them this turn without paying their mana costs.|