[MH2] Implemented Steelfin Whale

This commit is contained in:
Evan Kranzler 2021-06-02 08:16:14 -04:00
parent 9ce916e75a
commit f0ecefd955
2 changed files with 45 additions and 0 deletions

View file

@ -0,0 +1,44 @@
package mage.cards.s;
import mage.MageInt;
import mage.abilities.common.EntersBattlefieldControlledTriggeredAbility;
import mage.abilities.effects.common.UntapSourceEffect;
import mage.abilities.keyword.AffinityForArtifactsAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.SubType;
import mage.filter.StaticFilters;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class SteelfinWhale extends CardImpl {
public SteelfinWhale(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{5}{U}");
this.subtype.add(SubType.WHALE);
this.power = new MageInt(3);
this.toughness = new MageInt(4);
// Affinity for artifacts
this.addAbility(new AffinityForArtifactsAbility());
// Whenever an artifact enters the battlefield under your control, untap Steelfin Whale.
this.addAbility(new EntersBattlefieldControlledTriggeredAbility(
new UntapSourceEffect(), StaticFilters.FILTER_PERMANENT_ARTIFACT_AN
));
}
private SteelfinWhale(final SteelfinWhale card) {
super(card);
}
@Override
public SteelfinWhale copy() {
return new SteelfinWhale(this);
}
}

View file

@ -196,6 +196,7 @@ public final class ModernHorizons2 extends ExpansionSet {
cards.add(new SetCardInfo("Squirrel Mob", 286, Rarity.RARE, mage.cards.s.SquirrelMob.class));
cards.add(new SetCardInfo("Squirrel Sanctuary", 174, Rarity.UNCOMMON, mage.cards.s.SquirrelSanctuary.class));
cards.add(new SetCardInfo("Squirrel Sovereign", 175, Rarity.UNCOMMON, mage.cards.s.SquirrelSovereign.class));
cards.add(new SetCardInfo("Steelfin Whale", 65, Rarity.COMMON, mage.cards.s.SteelfinWhale.class));
cards.add(new SetCardInfo("Step Through", 66, Rarity.COMMON, mage.cards.s.StepThrough.class));
cards.add(new SetCardInfo("Sterling Grove", 293, Rarity.RARE, mage.cards.s.SterlingGrove.class));
cards.add(new SetCardInfo("Strike It Rich", 143, Rarity.UNCOMMON, mage.cards.s.StrikeItRich.class));