public MoldgrafMonstrosity(UUID ownerId, CardSetInfo setInfo) { super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{4}{G}{G}{G}"); this.subtype.add(SubType.INSECT); this.power = new MageInt(8); this.toughness = new MageInt(8); this.addAbility(TrampleAbility.getInstance()); // When Moldgraf Monstrosity dies, exile it, then return two creature cards at random from your graveyard to the battlefield. Effect effect = new ExileSourceEffect(); effect.setText(""); DiesTriggeredAbility ability = new DiesTriggeredAbility(effect); ability.addEffect(new MoldgrafMonstrosityEffect()); this.addAbility(ability); }
public CyclopeanGiant(UUID ownerId, CardSetInfo setInfo) { super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{B}{B}"); this.subtype.add(SubType.ZOMBIE); this.subtype.add(SubType.GIANT); this.power = new MageInt(4); this.toughness = new MageInt(2); // When Cyclopean Giant dies, target land becomes a Swamp. Exile Cyclopean Giant. DiesTriggeredAbility ability = new DiesTriggeredAbility(new BecomesBasicLandTargetEffect(Duration.EndOfGame, SubType.SWAMP)); ability.addEffect(new ExileSourceEffect()); ability.addTarget(new TargetLandPermanent()); this.addAbility(ability); }
public CelestialGatekeeper(UUID ownerId, CardSetInfo setInfo) { super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{3}{W}{W}"); this.subtype.add(SubType.BIRD); this.subtype.add(SubType.CLERIC); this.power = new MageInt(2); this.toughness = new MageInt(2); // Flying this.addAbility(FlyingAbility.getInstance()); // When Celestial Gatekeeper dies, exile it, then return up to two target Bird and/or Cleric permanent cards from your graveyard to the battlefield. Effect effect = new ExileSourceEffect(); effect.setText(""); DiesTriggeredAbility ability = new DiesTriggeredAbility(effect); effect = new ReturnFromGraveyardToBattlefieldTargetEffect(); effect.setText("exile it, then return up to two target Bird and/or Cleric permanent cards from your graveyard to the battlefield"); ability.addEffect(effect); ability.addTarget(new TargetCardInGraveyard(0, 2, filter)); this.addAbility(ability); }