@Override public PutIntoGraveFromAnywhereSourceTriggeredAbility copy() { return new PutIntoGraveFromAnywhereSourceTriggeredAbility(this); } }
public SerraAvatar(UUID ownerId, CardSetInfo setInfo) { super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{4}{W}{W}{W}"); this.subtype.add(SubType.AVATAR); this.power = new MageInt(0); this.toughness = new MageInt(0); // Serra Avatar's power and toughness are each equal to your life total. this.addAbility(new SimpleStaticAbility(Zone.ALL, new SetPowerToughnessSourceEffect(ControllerLifeCount.instance, Duration.EndOfGame))); // When Serra Avatar is put into a graveyard from anywhere, shuffle it into its owner's library. this.addAbility(new PutIntoGraveFromAnywhereSourceTriggeredAbility(new ShuffleIntoLibrarySourceEffect())); }
public Dread(UUID ownerId, CardSetInfo setInfo) { super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{3}{B}{B}{B}"); this.subtype.add(SubType.ELEMENTAL); this.subtype.add(SubType.INCARNATION); this.power = new MageInt(6); this.toughness = new MageInt(6); // Fear this.addAbility(FearAbility.getInstance()); // Whenever a creature deals damage to you, destroy it. this.addAbility(new DreadTriggeredAbility()); // When Dread is put into a graveyard from anywhere, shuffle it into its owner's library. this.addAbility(new PutIntoGraveFromAnywhereSourceTriggeredAbility(new ShuffleIntoLibrarySourceEffect())); }
public Vigor(UUID ownerId, CardSetInfo setInfo) { super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{3}{G}{G}{G}"); this.subtype.add(SubType.ELEMENTAL); this.subtype.add(SubType.INCARNATION); this.power = new MageInt(6); this.toughness = new MageInt(6); // Trample this.addAbility(TrampleAbility.getInstance()); // If damage would be dealt to a creature you control other than Vigor, prevent that damage. Put a +1/+1 counter on that creature for each 1 damage prevented this way. this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new VigorReplacementEffect())); // When Vigor is put into a graveyard from anywhere, shuffle it into its owner's library. this.addAbility(new PutIntoGraveFromAnywhereSourceTriggeredAbility(new ShuffleIntoLibrarySourceEffect())); }
public KozilekButcherOfTruth(UUID ownerId, CardSetInfo setInfo) { super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{10}"); addSuperType(SuperType.LEGENDARY); this.subtype.add(SubType.ELDRAZI); this.power = new MageInt(12); this.toughness = new MageInt(12); // When you cast Kozilek, Butcher of Truth, draw four cards. this.addAbility(new CastSourceTriggeredAbility(new DrawCardSourceControllerEffect(4))); // Annihilator 4 (Whenever this creature attacks, defending player sacrifices four permanents.) this.addAbility(new AnnihilatorAbility(4)); // When Kozilek is put into a graveyard from anywhere, its owner shuffles their graveyard into their library. this.addAbility(new PutIntoGraveFromAnywhereSourceTriggeredAbility(new ShuffleIntoLibraryGraveOfSourceOwnerEffect(), false)); }
public Purity(UUID ownerId, CardSetInfo setInfo) { super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{3}{W}{W}{W}"); this.subtype.add(SubType.ELEMENTAL); this.subtype.add(SubType.INCARNATION); this.power = new MageInt(6); this.toughness = new MageInt(6); // Flying this.addAbility(FlyingAbility.getInstance()); // If noncombat damage would be dealt to you, prevent that damage. You gain life equal to the damage prevented this way. this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new PurityEffect())); // When Purity is put into a graveyard from anywhere, shuffle it into its owner's library. this.addAbility(new PutIntoGraveFromAnywhereSourceTriggeredAbility(new ShuffleIntoLibrarySourceEffect())); }
public Hostility(UUID ownerId, CardSetInfo setInfo) { super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{3}{R}{R}{R}"); this.subtype.add(SubType.ELEMENTAL); this.subtype.add(SubType.INCARNATION); this.power = new MageInt(6); this.toughness = new MageInt(6); // Haste this.addAbility(HasteAbility.getInstance()); // If a spell you control would deal damage to an opponent, prevent that damage. // Create a 3/1 red Elemental Shaman creature token with haste for each 1 damage prevented this way. this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new HostilityEffect())); // When Hostility is put into a graveyard from anywhere, shuffle it into its owner's library. this.addAbility(new PutIntoGraveFromAnywhereSourceTriggeredAbility(new ShuffleIntoLibrarySourceEffect())); }
public WorldspineWurm(UUID ownerId, CardSetInfo setInfo) { super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{8}{G}{G}{G}"); this.subtype.add(SubType.WURM); this.power = new MageInt(15); this.toughness = new MageInt(15); // Trample this.addAbility(TrampleAbility.getInstance()); // When Worldspine Wurm dies, create three 5/5 green Wurm creature tokens with trample. this.addAbility(new DiesTriggeredAbility(new CreateTokenEffect(new WurmToken2(), 3))); // When Worldspine Wurm is put into a graveyard from anywhere, shuffle it into its owner's library. this.addAbility(new PutIntoGraveFromAnywhereSourceTriggeredAbility(new ShuffleIntoLibrarySourceEffect())); }
public Guile(UUID ownerId, CardSetInfo setInfo) { super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{3}{U}{U}{U}"); this.subtype.add(SubType.ELEMENTAL); this.subtype.add(SubType.INCARNATION); this.power = new MageInt(6); this.toughness = new MageInt(6); // Guile can't be blocked except by three or more creatures. this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new CantBeBlockedByOneEffect(3))); // If a spell or ability you control would counter a spell, instead exile that spell and you may play that card without paying its mana cost. this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new GuileReplacementEffect())); // When Guile is put into a graveyard from anywhere, shuffle it into its owner's library. this.addAbility(new PutIntoGraveFromAnywhereSourceTriggeredAbility(new ShuffleIntoLibrarySourceEffect())); }
public UlamogTheInfiniteGyre(UUID ownerId, CardSetInfo setInfo) { super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{11}"); addSuperType(SuperType.LEGENDARY); this.subtype.add(SubType.ELDRAZI); this.power = new MageInt(10); this.toughness = new MageInt(10); // When you cast Ulamog, the Infinite Gyre, destroy target permanent. Ability ability = new CastSourceTriggeredAbility(new DestroyTargetEffect()); ability.addTarget(new TargetPermanent()); this.addAbility(ability); // Annihilator 4 (Whenever this creature attacks, defending player sacrifices four permanents.) this.addAbility(new AnnihilatorAbility(4)); // Indestructible this.addAbility(IndestructibleAbility.getInstance()); // When Ulamog is put into a graveyard from anywhere, its owner shuffles their graveyard into their library. this.addAbility(new PutIntoGraveFromAnywhereSourceTriggeredAbility(new ShuffleIntoLibraryGraveOfSourceOwnerEffect(), false)); }
public EmrakulTheAeonsTorn(UUID ownerId, CardSetInfo setInfo) { super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{15}"); addSuperType(SuperType.LEGENDARY); this.subtype.add(SubType.ELDRAZI); this.power = new MageInt(15); this.toughness = new MageInt(15); // Emrakul, the Aeons Torn can't be countered. this.addAbility(new CantBeCounteredAbility()); // When you cast Emrakul, take an extra turn after this one. this.addAbility(new CastSourceTriggeredAbility(new AddExtraTurnControllerEffect())); // Flying, protection from colored spells, annihilator 6 this.addAbility(FlyingAbility.getInstance()); this.addAbility(new ProtectionAbility(filter)); this.addAbility(new AnnihilatorAbility(6)); // When Emrakul is put into a graveyard from anywhere, its owner shuffles their graveyard into their library. this.addAbility(new PutIntoGraveFromAnywhereSourceTriggeredAbility(new ShuffleIntoLibraryGraveOfSourceOwnerEffect(), false)); }