forked from External/mage
[J25] Implement Goblin Surprise
This commit is contained in:
parent
e7809c7a8d
commit
e441942033
2 changed files with 39 additions and 0 deletions
38
Mage.Sets/src/mage/cards/g/GoblinSurprise.java
Normal file
38
Mage.Sets/src/mage/cards/g/GoblinSurprise.java
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
package mage.cards.g;
|
||||
|
||||
import mage.abilities.Mode;
|
||||
import mage.abilities.effects.common.CreateTokenEffect;
|
||||
import mage.abilities.effects.common.continuous.BoostControlledEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Duration;
|
||||
import mage.game.permanent.token.GoblinToken;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class GoblinSurprise extends CardImpl {
|
||||
|
||||
public GoblinSurprise(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{2}{R}");
|
||||
|
||||
// Choose one --
|
||||
// * Creatures you control get +2/+0 until end of turn.
|
||||
this.getSpellAbility().addEffect(new BoostControlledEffect(2, 0, Duration.EndOfTurn));
|
||||
|
||||
// * Create two 1/1 red Goblin creature tokens.
|
||||
this.getSpellAbility().addMode(new Mode(new CreateTokenEffect(new GoblinToken(), 2)));
|
||||
}
|
||||
|
||||
private GoblinSurprise(final GoblinSurprise card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public GoblinSurprise copy() {
|
||||
return new GoblinSurprise(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -25,6 +25,7 @@ public final class FoundationsJumpstart extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Dawnwing Marshal", 1, Rarity.UNCOMMON, mage.cards.d.DawnwingMarshal.class));
|
||||
cards.add(new SetCardInfo("Dionus, Elvish Archdruid", 52, Rarity.UNCOMMON, mage.cards.d.DionusElvishArchdruid.class));
|
||||
cards.add(new SetCardInfo("Faithful Pikemaster", 3, Rarity.COMMON, mage.cards.f.FaithfulPikemaster.class));
|
||||
cards.add(new SetCardInfo("Goblin Surprise", 16, Rarity.UNCOMMON, mage.cards.g.GoblinSurprise.class));
|
||||
cards.add(new SetCardInfo("Shroofus Sproutsire", 54, Rarity.RARE, mage.cards.s.ShroofusSproutsire.class));
|
||||
cards.add(new SetCardInfo("Vilis, Broker of Blood", 70, Rarity.RARE, mage.cards.v.VilisBrokerOfBlood.class));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue