Example #1
0
 public GolemFoundryAbility1(GameState state) {
   super(
       state,
       "Remove three charge counters from Golem Foundry: Put a 3/3 colorless Golem artifact creature token onto the battlefield.");
   this.addCost(
       removeCounters(
           3,
           Counter.CounterType.CHARGE,
           ABILITY_SOURCE_OF_THIS,
           "Remove three charge counters from Golem Foundry"));
   CreateTokensFactory factory =
       new CreateTokensFactory(
           1, 3, 3, "Put a 3/3 colorless Golem artifact creature token onto the battlefield.");
   factory.setSubTypes(SubType.GOLEM);
   factory.setArtifact();
   this.addEffect(factory.getEventFactory());
 }