mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
[STX] Implemented Storm-Kiln Artist
This commit is contained in:
parent
094941adef
commit
c4f65177e3
2 changed files with 51 additions and 0 deletions
50
Mage.Sets/src/mage/cards/s/StormKilnArtist.java
Normal file
50
Mage.Sets/src/mage/cards/s/StormKilnArtist.java
Normal file
|
@ -0,0 +1,50 @@
|
|||
package mage.cards.s;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.MagecraftAbility;
|
||||
import mage.abilities.common.SimpleStaticAbility;
|
||||
import mage.abilities.dynamicvalue.common.ArtifactYouControlCount;
|
||||
import mage.abilities.dynamicvalue.common.StaticValue;
|
||||
import mage.abilities.effects.common.CreateTokenEffect;
|
||||
import mage.abilities.effects.common.continuous.BoostSourceEffect;
|
||||
import mage.abilities.hint.common.ArtifactYouControlHint;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Duration;
|
||||
import mage.constants.SubType;
|
||||
import mage.game.permanent.token.TreasureToken;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class StormKilnArtist extends CardImpl {
|
||||
|
||||
public StormKilnArtist(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{3}{R}");
|
||||
|
||||
this.subtype.add(SubType.DWARF);
|
||||
this.subtype.add(SubType.SHAMAN);
|
||||
this.power = new MageInt(2);
|
||||
this.toughness = new MageInt(2);
|
||||
|
||||
// Storm-Kiln Artist gets +1/+0 for each artifact you control.
|
||||
this.addAbility(new SimpleStaticAbility(new BoostSourceEffect(
|
||||
ArtifactYouControlCount.instance, StaticValue.get(0), Duration.WhileOnBattlefield
|
||||
).setText("{this} gets +1/+0 for each artifact you control")).addHint(ArtifactYouControlHint.instance));
|
||||
|
||||
// Magecraft — Whenever you cast or copy an instant or sorcery spell, create a Treasure token.
|
||||
this.addAbility(new MagecraftAbility(new CreateTokenEffect(new TreasureToken())));
|
||||
}
|
||||
|
||||
private StormKilnArtist(final StormKilnArtist card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public StormKilnArtist copy() {
|
||||
return new StormKilnArtist(this);
|
||||
}
|
||||
}
|
|
@ -38,6 +38,7 @@ public final class StrixhavenSchoolOfMages extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Quandrix Command", 217, Rarity.RARE, mage.cards.q.QuandrixCommand.class));
|
||||
cards.add(new SetCardInfo("Silverquill Apprentice", 231, Rarity.UNCOMMON, mage.cards.s.SilverquillApprentice.class));
|
||||
cards.add(new SetCardInfo("Silverquill Command", 232, Rarity.RARE, mage.cards.s.SilverquillCommand.class));
|
||||
cards.add(new SetCardInfo("Storm-Kiln Artist", 115, Rarity.UNCOMMON, mage.cards.s.StormKilnArtist.class));
|
||||
cards.add(new SetCardInfo("Witherbloom Command", 248, Rarity.RARE, mage.cards.w.WitherbloomCommand.class));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue