1
0
Fork 0
mirror of https://github.com/correl/mage.git synced 2025-02-18 12:54:22 +00:00

[BRO] Implement Sarinth Greatwurm

This commit is contained in:
Evan Kranzler 2022-11-04 19:15:52 -04:00
parent b14e5702c9
commit c25cb24152
2 changed files with 46 additions and 0 deletions
Mage.Sets/src/mage

View file

@ -0,0 +1,45 @@
package mage.cards.s;
import mage.MageInt;
import mage.abilities.common.EntersBattlefieldAllTriggeredAbility;
import mage.abilities.effects.common.CreateTokenEffect;
import mage.abilities.keyword.TrampleAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.SubType;
import mage.filter.StaticFilters;
import mage.game.permanent.token.PowerstoneToken;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class SarinthGreatwurm extends CardImpl {
public SarinthGreatwurm(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{4}{R}{G}");
this.subtype.add(SubType.WURM);
this.power = new MageInt(7);
this.toughness = new MageInt(6);
// Trample
this.addAbility(TrampleAbility.getInstance());
// Whenever a land enters the battlefield, create a tapped Powerstone token.
this.addAbility(new EntersBattlefieldAllTriggeredAbility(
new CreateTokenEffect(new PowerstoneToken(), 1, true), StaticFilters.FILTER_LAND_A
));
}
private SarinthGreatwurm(final SarinthGreatwurm card) {
super(card);
}
@Override
public SarinthGreatwurm copy() {
return new SarinthGreatwurm(this);
}
}

View file

@ -158,6 +158,7 @@ public final class TheBrothersWar extends ExpansionSet {
cards.add(new SetCardInfo("Roc Hunter", 150, Rarity.COMMON, mage.cards.r.RocHunter.class));
cards.add(new SetCardInfo("Rust Goliath", 204, Rarity.COMMON, mage.cards.r.RustGoliath.class));
cards.add(new SetCardInfo("Sardian Cliffstomper", 151, Rarity.UNCOMMON, mage.cards.s.SardianCliffstomper.class));
cards.add(new SetCardInfo("Sarinth Greatwurm", 220, Rarity.MYTHIC, mage.cards.s.SarinthGreatwurm.class));
cards.add(new SetCardInfo("Sarinth Steelseeker", 189, Rarity.UNCOMMON, mage.cards.s.SarinthSteelseeker.class));
cards.add(new SetCardInfo("Scrapwork Cohort", 37, Rarity.COMMON, mage.cards.s.ScrapworkCohort.class));
cards.add(new SetCardInfo("Scrapwork Mutt", 164, Rarity.COMMON, mage.cards.s.ScrapworkMutt.class));