@Override public DevouredCreaturesCount copy() { return new DevouredCreaturesCount(this); }
public Skullmulcher(UUID ownerId, CardSetInfo setInfo) { super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{4}{G}"); this.subtype.add(SubType.ELEMENTAL); this.power = new MageInt(3); this.toughness = new MageInt(3); // Devour 1 (As this enters the battlefield, you may sacrifice any number of creatures. This creature enters the battlefield with twice that many +1/+1 counters on it.) this.addAbility(new DevourAbility(DevourFactor.Devour1)); // When Skullmulcher enters the battlefield, draw a card for each creature it devoured. this.addAbility(new EntersBattlefieldTriggeredAbility( new DrawCardSourceControllerEffect(new DevouredCreaturesCount()),false)); }
public MarrowChomper(UUID ownerId, CardSetInfo setInfo) { super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{3}{B}{G}"); this.subtype.add(SubType.ZOMBIE); this.subtype.add(SubType.LIZARD); this.power = new MageInt(3); this.toughness = new MageInt(3); // Devour 2 (As this enters the battlefield, you may sacrifice any number of creatures. This creature enters the battlefield with twice that many +1/+1 counters on it.) this.addAbility(new DevourAbility(DevourEffect.DevourFactor.Devour2)); // When Marrow Chomper enters the battlefield, you gain 2 life for each creature it devoured. this.addAbility(new EntersBattlefieldTriggeredAbility(new GainLifeEffect(new DevouredCreaturesCount(2)))); }
public TarFiend(UUID ownerId, CardSetInfo setInfo) { super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{5}{B}"); this.subtype.add(SubType.ELEMENTAL); this.power = new MageInt(4); this.toughness = new MageInt(4); // Devour 2 (As this enters the battlefield, you may sacrifice any number of creatures. This creature enters the battlefield with twice that many +1/+1 counters on it.) this.addAbility(new DevourAbility(DevourFactor.Devour2)); // When Tar Fiend enters the battlefield, target player discards a card for each creature it devoured. Ability ability = new EntersBattlefieldTriggeredAbility(new DiscardTargetEffect(new DevouredCreaturesCount())); ability.addTarget(new TargetPlayer()); this.addAbility(ability); }