@Override public SacrificeOpponentsUnlessPayEffect copy() { return new SacrificeOpponentsUnlessPayEffect(this); }
public SacrificeOpponentsUnlessPayEffect(Cost cost, FilterPermanent filter, DynamicValue amount) { super(Outcome.Sacrifice); this.cost = cost; this.amount = amount; this.filter = filter; setText(); }
public RishadanCutpurse(UUID ownerId, CardSetInfo setInfo) { super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{2}{U}"); this.subtype.add(SubType.HUMAN); this.subtype.add(SubType.PIRATE); this.power = new MageInt(1); this.toughness = new MageInt(1); // When Rishadan Cutpurse enters the battlefield, each opponent sacrifices a permanent unless he or she pays {1}. this.addAbility(new EntersBattlefieldTriggeredAbility(new SacrificeOpponentsUnlessPayEffect(1))); }
public SacrificeOpponentsUnlessPayEffect(DynamicValue dynamicGenericMana, FilterPermanent filter, DynamicValue amount) { super(Outcome.Sacrifice); this.dynamicGenericMana = dynamicGenericMana; this.amount = amount; this.filter = filter; setText(); }
public RishadanFootpad(UUID ownerId, CardSetInfo setInfo) { super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{3}{U}"); this.subtype.add(SubType.HUMAN); this.subtype.add(SubType.PIRATE); this.power = new MageInt(2); this.toughness = new MageInt(2); // When Rishadan Footpad enters the battlefield, each opponent sacrifices a permanent unless he or she pays {2}. this.addAbility(new EntersBattlefieldTriggeredAbility(new SacrificeOpponentsUnlessPayEffect(2))); }
public RishadanBrigand(UUID ownerId, CardSetInfo setInfo) { super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{4}{U}"); this.subtype.add(SubType.HUMAN); this.subtype.add(SubType.PIRATE); this.power = new MageInt(3); this.toughness = new MageInt(2); // Flying this.addAbility(FlyingAbility.getInstance()); // When Rishadan Brigand enters the battlefield, each opponent sacrifices a permanent unless he or she pays {3}. this.addAbility(new EntersBattlefieldTriggeredAbility(new SacrificeOpponentsUnlessPayEffect(3))); // Rishadan Brigand can block only creatures with flying. this.addAbility(new CanBlockOnlyFlyingAbility()); }