public EnergyChamber(UUID ownerId) {
super(ownerId, 64, "Energy Chamber", Rarity.UNCOMMON, new CardType[]{CardType.ARTIFACT}, "{2}");
this.expansionSetCode = "DDF";
// At the beginning of your upkeep, choose one - Put a +1/+1 counter on target artifact creature;
Ability ability = new BeginningOfUpkeepTriggeredAbility(Zone.BATTLEFIELD, new AddCountersTargetEffect(CounterType.P1P1.createInstance(), Outcome.BoostCreature), TargetController.YOU, false);
ability.addTarget(new TargetPermanent(filter));
// or put a charge counter on target noncreature artifact.
Mode mode = new Mode();
mode.getEffects().add(new AddCountersTargetEffect(CounterType.CHARGE.createInstance(), Outcome.BoostCreature));
mode.getTargets().add(new TargetPermanent(filter2));
ability.addMode(mode);
this.addAbility(ability);