@Override public PreventAllDamageFromChosenSourceToYouEffect copy() { return new PreventAllDamageFromChosenSourceToYouEffect(this); }
public ConsulateSurveillance(UUID ownerId, CardSetInfo setInfo) { super(ownerId,setInfo,new CardType[]{CardType.ENCHANTMENT},"{3}{W}"); // When Consulate Surveillance enters the battlefield, you get {E}{E}{E}{E}. this.addAbility(new EntersBattlefieldTriggeredAbility(new GetEnergyCountersControllerEffect(4))); // Pay {E}{E}: Prevent all damage that would be dealt to you this turn by a source of your choice. this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new PreventAllDamageFromChosenSourceToYouEffect(Duration.EndOfTurn, new FilterObject("source"), false), new PayEnergyCost(2))); }