mirror of
https://github.com/correl/mage.git
synced 2024-11-15 03:00:16 +00:00
Implemented Earthshaker Giant
This commit is contained in:
parent
1693762fa8
commit
24efd96edb
2 changed files with 54 additions and 0 deletions
53
Mage.Sets/src/mage/cards/e/EarthshakerGiant.java
Normal file
53
Mage.Sets/src/mage/cards/e/EarthshakerGiant.java
Normal file
|
@ -0,0 +1,53 @@
|
|||
package mage.cards.e;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
|
||||
import mage.abilities.effects.common.continuous.BoostControlledEffect;
|
||||
import mage.abilities.effects.common.continuous.GainAbilityControlledEffect;
|
||||
import mage.abilities.keyword.TrampleAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Duration;
|
||||
import mage.constants.SubType;
|
||||
import mage.filter.StaticFilters;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class EarthshakerGiant extends CardImpl {
|
||||
|
||||
public EarthshakerGiant(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{4}{G}{G}");
|
||||
|
||||
this.subtype.add(SubType.GIANT);
|
||||
this.subtype.add(SubType.DRUID);
|
||||
this.power = new MageInt(6);
|
||||
this.toughness = new MageInt(6);
|
||||
|
||||
// Trample
|
||||
this.addAbility(TrampleAbility.getInstance());
|
||||
|
||||
// When Earthshaker Giant enters the battlefield, other creatures you control get +3/+3 and gain trample until end of turn.
|
||||
Ability ability = new EntersBattlefieldTriggeredAbility(new BoostControlledEffect(
|
||||
3, 3, Duration.EndOfTurn, true
|
||||
).setText("other creatures you control get +3/+3"));
|
||||
ability.addEffect(new GainAbilityControlledEffect(
|
||||
TrampleAbility.getInstance(), Duration.EndOfTurn,
|
||||
StaticFilters.FILTER_PERMANENT_CREATURE, true
|
||||
).setText("and gain trample until end of turn"));
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
||||
private EarthshakerGiant(final EarthshakerGiant card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public EarthshakerGiant copy() {
|
||||
return new EarthshakerGiant(this);
|
||||
}
|
||||
}
|
|
@ -19,6 +19,7 @@ public final class GameNight2019 extends ExpansionSet {
|
|||
super("Game Night 2019", "GN2", ExpansionSet.buildDate(2019, 11, 15), SetType.SUPPLEMENTAL);
|
||||
this.hasBasicLands = false; // TODO: change when spoiled
|
||||
|
||||
cards.add(new SetCardInfo("Earthshaker Giant", 5, Rarity.MYTHIC, mage.cards.e.EarthshakerGiant.class));
|
||||
cards.add(new SetCardInfo("Highcliff Felidar", 1, Rarity.MYTHIC, mage.cards.h.HighcliffFelidar.class));
|
||||
cards.add(new SetCardInfo("Sphinx of Enlightenment", 2, Rarity.MYTHIC, mage.cards.s.SphinxOfEnlightenment.class));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue