mirror of
https://github.com/magefree/mage.git
synced 2025-12-27 22:12:03 -08:00
[OTJ] Implement Scalestorm Summoner
This commit is contained in:
parent
e1e7d00951
commit
42e1520421
2 changed files with 50 additions and 0 deletions
49
Mage.Sets/src/mage/cards/s/ScalestormSummoner.java
Normal file
49
Mage.Sets/src/mage/cards/s/ScalestormSummoner.java
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
package mage.cards.s;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.AttacksTriggeredAbility;
|
||||
import mage.abilities.condition.common.FerociousCondition;
|
||||
import mage.abilities.decorator.ConditionalOneShotEffect;
|
||||
import mage.abilities.effects.common.CreateTokenEffect;
|
||||
import mage.abilities.hint.common.FerociousHint;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.game.permanent.token.Dinosaur31Token;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author Susucr
|
||||
*/
|
||||
public final class ScalestormSummoner extends CardImpl {
|
||||
|
||||
public ScalestormSummoner(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{R}");
|
||||
|
||||
this.subtype.add(SubType.HUMAN);
|
||||
this.subtype.add(SubType.WARLOCK);
|
||||
this.power = new MageInt(3);
|
||||
this.toughness = new MageInt(3);
|
||||
|
||||
// Whenever Scalestorm Summoner attacks, create a 3/1 red Dinosaur creature token if you control a creature with power 4 or greater.
|
||||
this.addAbility(new AttacksTriggeredAbility(
|
||||
new ConditionalOneShotEffect(
|
||||
new CreateTokenEffect(new Dinosaur31Token()),
|
||||
FerociousCondition.instance,
|
||||
"create a 3/1 red Dinosaur creature token "
|
||||
+ "if you control a creature with power 4 or greater"
|
||||
)
|
||||
).addHint(FerociousHint.instance));
|
||||
}
|
||||
|
||||
private ScalestormSummoner(final ScalestormSummoner card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ScalestormSummoner copy() {
|
||||
return new ScalestormSummoner(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -147,6 +147,7 @@ public final class OutlawsOfThunderJunction extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Roxanne, Starfall Savant", 228, Rarity.RARE, mage.cards.r.RoxanneStarfallSavant.class));
|
||||
cards.add(new SetCardInfo("Ruthless Lawbringer", 229, Rarity.UNCOMMON, mage.cards.r.RuthlessLawbringer.class));
|
||||
cards.add(new SetCardInfo("Sandstorm Verge", 263, Rarity.UNCOMMON, mage.cards.s.SandstormVerge.class));
|
||||
cards.add(new SetCardInfo("Scalestorm Summoner", 144, Rarity.UNCOMMON, mage.cards.s.ScalestormSummoner.class));
|
||||
cards.add(new SetCardInfo("Scorching Shot", 145, Rarity.UNCOMMON, mage.cards.s.ScorchingShot.class));
|
||||
cards.add(new SetCardInfo("Seraphic Steed", 232, Rarity.RARE, mage.cards.s.SeraphicSteed.class));
|
||||
cards.add(new SetCardInfo("Servant of the Stinger", 105, Rarity.UNCOMMON, mage.cards.s.ServantOfTheStinger.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue