mirror of
https://github.com/magefree/mage.git
synced 2025-12-21 02:52:02 -08:00
[MH3] Implement Inspired Inventor
This commit is contained in:
parent
070845100a
commit
0943c807dd
2 changed files with 55 additions and 0 deletions
54
Mage.Sets/src/mage/cards/i/InspiredInventor.java
Normal file
54
Mage.Sets/src/mage/cards/i/InspiredInventor.java
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
package mage.cards.i;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.Mode;
|
||||
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
|
||||
import mage.abilities.effects.common.CreateTokenEffect;
|
||||
import mage.abilities.effects.common.counter.AddCountersTargetEffect;
|
||||
import mage.abilities.effects.common.counter.GetEnergyCountersControllerEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.counters.CounterType;
|
||||
import mage.game.permanent.token.ServoToken;
|
||||
import mage.target.common.TargetCreaturePermanent;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class InspiredInventor extends CardImpl {
|
||||
|
||||
public InspiredInventor(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{W}");
|
||||
|
||||
this.subtype.add(SubType.HUMAN);
|
||||
this.subtype.add(SubType.ARTIFICER);
|
||||
this.power = new MageInt(2);
|
||||
this.toughness = new MageInt(2);
|
||||
|
||||
// When Inspired Inventor enters the battlefield, choose one --
|
||||
// * You get {E}{E}{E}.
|
||||
Ability ability = new EntersBattlefieldTriggeredAbility(new GetEnergyCountersControllerEffect(3));
|
||||
|
||||
// * Put a +1/+1 counter on target creature.
|
||||
ability.addMode(new Mode(new AddCountersTargetEffect(CounterType.P1P1.createInstance()))
|
||||
.addTarget(new TargetCreaturePermanent()));
|
||||
|
||||
// * Create a 1/1 colorless Servo artifact creature token.
|
||||
ability.addMode(new Mode(new CreateTokenEffect(new ServoToken())));
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
||||
private InspiredInventor(final InspiredInventor card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public InspiredInventor copy() {
|
||||
return new InspiredInventor(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -119,6 +119,7 @@ public final class ModernHorizons3 extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Hydra Trainer", 159, Rarity.UNCOMMON, mage.cards.h.HydraTrainer.class));
|
||||
cards.add(new SetCardInfo("Idol of False Gods", 210, Rarity.UNCOMMON, mage.cards.i.IdolOfFalseGods.class));
|
||||
cards.add(new SetCardInfo("Infernal Captor", 125, Rarity.COMMON, mage.cards.i.InfernalCaptor.class));
|
||||
cards.add(new SetCardInfo("Inspired Inventor", 32, Rarity.COMMON, mage.cards.i.InspiredInventor.class));
|
||||
cards.add(new SetCardInfo("Island", 305, Rarity.LAND, mage.cards.basiclands.Island.class, FULL_ART_BFZ_VARIOUS));
|
||||
cards.add(new SetCardInfo("It That Heralds the End", 9, Rarity.UNCOMMON, mage.cards.i.ItThatHeraldsTheEnd.class));
|
||||
cards.add(new SetCardInfo("Izzet Generatorium", 191, Rarity.UNCOMMON, mage.cards.i.IzzetGeneratorium.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue