mirror of
https://github.com/magefree/mage.git
synced 2026-01-26 21:29:17 -08:00
[J25] Implement Go Forth
This commit is contained in:
parent
40e99dfc1f
commit
01dd97ae21
2 changed files with 43 additions and 0 deletions
42
Mage.Sets/src/mage/cards/g/GoForth.java
Normal file
42
Mage.Sets/src/mage/cards/g/GoForth.java
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
package mage.cards.g;
|
||||
|
||||
import mage.abilities.Mode;
|
||||
import mage.abilities.effects.common.continuous.BoostTargetEffect;
|
||||
import mage.abilities.effects.common.search.SearchLibraryPutInHandEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.filter.StaticFilters;
|
||||
import mage.target.common.TargetCardInLibrary;
|
||||
import mage.target.common.TargetCreaturePermanent;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class GoForth extends CardImpl {
|
||||
|
||||
public GoForth(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{G}");
|
||||
|
||||
// Choose one--
|
||||
// * Search your library for a basic land card, reveal it, put it into your hand, then shuffle.
|
||||
this.getSpellAbility().addEffect(new SearchLibraryPutInHandEffect(
|
||||
new TargetCardInLibrary(StaticFilters.FILTER_CARD_BASIC_LAND), true
|
||||
));
|
||||
|
||||
// * Target creature gets +2/+2 until end of turn.
|
||||
this.getSpellAbility().addMode(new Mode(new BoostTargetEffect(2, 2))
|
||||
.addTarget(new TargetCreaturePermanent()));
|
||||
}
|
||||
|
||||
private GoForth(final GoForth card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public GoForth copy() {
|
||||
return new GoForth(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -299,6 +299,7 @@ public final class FoundationsJumpstart extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Gluttonous Guest", 445, Rarity.COMMON, mage.cards.g.GluttonousGuest.class));
|
||||
cards.add(new SetCardInfo("Gnarlid Colony", 664, Rarity.COMMON, mage.cards.g.GnarlidColony.class));
|
||||
cards.add(new SetCardInfo("Gnawing Zombie", 446, Rarity.COMMON, mage.cards.g.GnawingZombie.class));
|
||||
cards.add(new SetCardInfo("Go Forth", 20, Rarity.COMMON, mage.cards.g.GoForth.class));
|
||||
cards.add(new SetCardInfo("Go for the Throat", 447, Rarity.UNCOMMON, mage.cards.g.GoForTheThroat.class));
|
||||
cards.add(new SetCardInfo("Goblin Arsonist", 555, Rarity.COMMON, mage.cards.g.GoblinArsonist.class));
|
||||
cards.add(new SetCardInfo("Goblin Dark-Dwellers", 556, Rarity.RARE, mage.cards.g.GoblinDarkDwellers.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue