[FDN] Implement Searslicer Goblin

This commit is contained in:
theelk801 2024-10-26 14:37:26 -04:00
parent 0d5ff830d9
commit c7050a2a3b
2 changed files with 47 additions and 0 deletions

View file

@ -0,0 +1,46 @@
package mage.cards.s;
import mage.MageInt;
import mage.abilities.common.BeginningOfEndStepTriggeredAbility;
import mage.abilities.condition.common.RaidCondition;
import mage.abilities.effects.common.CreateTokenEffect;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.AbilityWord;
import mage.constants.CardType;
import mage.constants.SubType;
import mage.constants.TargetController;
import mage.game.permanent.token.GoblinToken;
import mage.watchers.common.PlayerAttackedWatcher;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class SearslicerGoblin extends CardImpl {
public SearslicerGoblin(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{1}{R}");
this.subtype.add(SubType.GOBLIN);
this.subtype.add(SubType.WARRIOR);
this.power = new MageInt(2);
this.toughness = new MageInt(1);
// Raid -- At the beginning of your end step, if you attacked this turn, create a 1/1 red Goblin creature token.
this.addAbility(new BeginningOfEndStepTriggeredAbility(
new CreateTokenEffect(new GoblinToken()), TargetController.YOU,
RaidCondition.instance, false
).setAbilityWord(AbilityWord.RAID), new PlayerAttackedWatcher());
}
private SearslicerGoblin(final SearslicerGoblin card) {
super(card);
}
@Override
public SearslicerGoblin copy() {
return new SearslicerGoblin(this);
}
}

View file

@ -77,6 +77,7 @@ public final class Foundations extends ExpansionSet {
cards.add(new SetCardInfo("Progenitus", 244, Rarity.MYTHIC, mage.cards.p.Progenitus.class));
cards.add(new SetCardInfo("Pyromancer's Goggles", 677, Rarity.MYTHIC, mage.cards.p.PyromancersGoggles.class));
cards.add(new SetCardInfo("Savannah Lions", 146, Rarity.UNCOMMON, mage.cards.s.SavannahLions.class));
cards.add(new SetCardInfo("Searslicer Goblin", 93, Rarity.RARE, mage.cards.s.SearslicerGoblin.class));
cards.add(new SetCardInfo("Serra Angel", 147, Rarity.UNCOMMON, mage.cards.s.SerraAngel.class));
cards.add(new SetCardInfo("Shivan Dragon", 206, Rarity.UNCOMMON, mage.cards.s.ShivanDragon.class));
cards.add(new SetCardInfo("Solemn Simulacrum", 257, Rarity.RARE, mage.cards.s.SolemnSimulacrum.class));