示例#1
0
  public KorSanctifiers(UUID ownerId) {
    super(
        ownerId,
        22,
        "Kor Sanctifiers",
        Rarity.COMMON,
        new CardType[] {CardType.CREATURE},
        "{2}{W}");
    this.expansionSetCode = "ZEN";
    this.subtype.add("Kor");
    this.subtype.add("Cleric");
    this.color.setWhite(true);
    this.power = new MageInt(2);
    this.toughness = new MageInt(3);

    // Kicker {W} (You may pay an additional {W} as you cast this spell.)
    this.addAbility(new KickerAbility("{W}"));

    // When Kor Sanctifiers enters the battlefield, if it was kicked, destroy target artifact or
    // enchantment.
    EntersBattlefieldTriggeredAbility ability =
        new EntersBattlefieldTriggeredAbility(new DestroyTargetEffect(), false);
    ability.addTarget(new TargetPermanent(filter));
    this.addAbility(
        new ConditionalTriggeredAbility(
            ability,
            KickedCondition.getInstance(),
            "When {this} enters the battlefield, if it was kicked, destroy target artifact or enchantment."));
  }
示例#2
0
  public GoblinRuinblaster(UUID ownerId, CardSetInfo setInfo) {
    super(ownerId, setInfo, new CardType[] {CardType.CREATURE}, "{2}{R}");

    this.subtype.add("Goblin");
    this.subtype.add("Shaman");
    this.power = new MageInt(2);
    this.toughness = new MageInt(1);

    // Kicker {R} (You may pay an additional {R} as you cast this spell.)
    this.addAbility(new KickerAbility("{R}"));

    // Haste
    this.addAbility(HasteAbility.getInstance());

    // When Goblin Ruinblaster enters the battlefield, if it was kicked, destroy target nonbasic
    // land.
    EntersBattlefieldTriggeredAbility ability =
        new EntersBattlefieldTriggeredAbility(new DestroyTargetEffect(), false);
    ability.addTarget(new TargetNonBasicLandPermanent());
    this.addAbility(
        new ConditionalTriggeredAbility(
            ability,
            KickedCondition.getInstance(),
            "When {this} enters the battlefield, if it was kicked, destroy target nonbasic land."));
  }
示例#3
0
  public AgonizingDemise(UUID ownerId) {
    super(
        ownerId,
        66,
        "Agonizing Demise",
        Rarity.COMMON,
        new CardType[] {CardType.INSTANT},
        "{3}{B}");
    this.expansionSetCode = "DDH";

    // Kicker {1}{R}
    this.addAbility(new KickerAbility("{1}{R}"));

    // Destroy target nonblack creature. It can't be regenerated.
    this.getSpellAbility().addEffect(new DestroyTargetEffect(true));
    this.getSpellAbility().addTarget(new TargetCreaturePermanent(filterNonBlackCreature));

    // If Agonizing Demise was kicked, it deals damage equal to that creature's power to the
    // creature's controller.
    this.getSpellAbility()
        .addEffect(
            new ConditionalOneShotEffect(
                new AgonizingDemiseEffect(),
                KickedCondition.getInstance(),
                "If {this} was kicked, it deals damage equal to that creature's power to the creature's controller."));
  }
示例#4
0
  public MoldShambler(UUID ownerId) {
    super(
        ownerId, 169, "Mold Shambler", Rarity.COMMON, new CardType[] {CardType.CREATURE}, "{3}{G}");
    this.expansionSetCode = "ZEN";
    this.subtype.add("Fungus");
    this.subtype.add("Beast");

    this.power = new MageInt(3);
    this.toughness = new MageInt(3);

    // Kicker {1}{G} (You may pay an additional {1}{G} as you cast this spell.)
    this.addAbility(new KickerAbility("{1}{G}"));

    // When Mold Shambler enters the battlefield, if it was kicked, destroy target noncreature
    // permanent.
    EntersBattlefieldTriggeredAbility ability =
        new EntersBattlefieldTriggeredAbility(new DestroyTargetEffect(), false);
    Target target = new TargetPermanent(filter);
    ability.addTarget(target);
    this.addAbility(
        new ConditionalTriggeredAbility(
            ability,
            KickedCondition.getInstance(),
            "When {this} enters the battlefield, if it was kicked, destroy target noncreature permanent."));
  }
示例#5
0
  public KangeeAerieKeeper(UUID ownerId) {
    super(
        ownerId,
        253,
        "Kangee, Aerie Keeper",
        Rarity.RARE,
        new CardType[] {CardType.CREATURE},
        "{2}{W}{U}");
    this.expansionSetCode = "INV";
    this.supertype.add("Legendary");
    this.subtype.add("Bird");
    this.subtype.add("Wizard");

    this.power = new MageInt(2);
    this.toughness = new MageInt(2);

    // Kicker {X}{2}
    this.addAbility(new KickerAbility("{X}{2}"));

    // Flying
    this.addAbility(FlyingAbility.getInstance());

    // When Kangee, Aerie Keeper enters the battlefield, if it was kicked, put X feather counters on
    // it.
    TriggeredAbility ability =
        new EntersBattlefieldTriggeredAbility(
            new AddCountersSourceEffect(
                CounterType.FEATHER.createInstance(),
                new KangeeAerieKeeperGetKickerXValue(),
                true));
    this.addAbility(
        new ConditionalTriggeredAbility(
            ability,
            KickedCondition.getInstance(),
            "When {this} enters the battlefield, if it was kicked, put X feather counters on it."));

    // Other Bird creatures get +1/+1 for each feather counter on Kangee, Aerie Keeper.
    this.addAbility(
        new SimpleStaticAbility(
            Zone.BATTLEFIELD,
            new BoostAllEffect(
                new CountersSourceCount(CounterType.FEATHER),
                new CountersSourceCount(CounterType.FEATHER),
                Duration.WhileOnBattlefield,
                filter,
                true,
                "Other Bird creatures get +1/+1 for each feather counter on {this}.")));
  }
示例#6
0
  public IntoTheRoil(UUID ownerId) {
    super(ownerId, 48, "Into the Roil", Rarity.COMMON, new CardType[] {CardType.INSTANT}, "{1}{U}");
    this.expansionSetCode = "ZEN";

    // Kicker {1}{U} (You may pay an additional {1}{U} as you cast this spell.)
    this.addAbility(new KickerAbility("{1}{U}"));

    // Return target nonland permanent to its owner's hand. If Into the Roil was kicked, draw a
    // card.
    this.getSpellAbility().addEffect(new ReturnToHandTargetEffect());
    this.getSpellAbility()
        .addEffect(
            new ConditionalOneShotEffect(
                new DrawCardSourceControllerEffect(1),
                KickedCondition.getInstance(),
                "If {this} was kicked, draw a card"));
    this.getSpellAbility().addTarget(new TargetNonlandPermanent());
  }
示例#7
0
  public Duskwalker(UUID ownerId, CardSetInfo setInfo) {
    super(ownerId, setInfo, new CardType[] {CardType.CREATURE}, "{B}");
    this.subtype.add("Human");
    this.subtype.add("Minion");
    this.power = new MageInt(1);
    this.toughness = new MageInt(1);

    // Kicker {3}{B}
    this.addAbility(new KickerAbility("{3}{B}"));

    // If Duskwalker was kicked, it enters the battlefield with two +1/+1 counters on it and with
    // fear.
    Ability ability =
        new EntersBattlefieldAbility(
            new AddCountersSourceEffect(CounterType.P1P1.createInstance(2)),
            KickedCondition.getInstance(),
            "If {this} was kicked, it enters the battlefield with two +1/+1 counters on it and with fear.",
            "");
    ability.addEffect(
        new GainAbilitySourceEffect(FearAbility.getInstance(), Duration.WhileOnBattlefield));
    this.addAbility(ability);
  }
示例#8
0
  public LlanowarElite(UUID ownerId, CardSetInfo setInfo) {
    super(ownerId, setInfo, new CardType[] {CardType.CREATURE}, "{G}");
    this.subtype.add("Elf");
    this.power = new MageInt(1);
    this.toughness = new MageInt(1);

    // Kicker {8}
    this.addAbility(new KickerAbility("{8}"));

    // Trample
    this.addAbility(TrampleAbility.getInstance());

    // If Llanowar Elite was kicked, it enters the battlefield with five +1/+1 counters on it.
    Ability ability =
        new EntersBattlefieldAbility(
            new ConditionalOneShotEffect(
                new AddCountersSourceEffect(CounterType.P1P1.createInstance(5)),
                KickedCondition.getInstance(),
                ""),
            "If {this} was kicked, it enters the battlefield with five +1/+1 counters on it.");
    this.addAbility(ability);
  }
示例#9
0
  public TempestOwl(UUID ownerId) {
    super(ownerId, 72, "Tempest Owl", Rarity.COMMON, new CardType[] {CardType.CREATURE}, "{1}{U}");
    this.expansionSetCode = "ZEN";
    this.subtype.add("Bird");

    this.power = new MageInt(1);
    this.toughness = new MageInt(2);

    // Flying
    this.addAbility(FlyingAbility.getInstance());

    // Kicker {4}{U}
    this.addAbility(new KickerAbility("{4}{U}"));

    // When Tempest Owl enters the battlefield, if it was kicked, tap up to three target permanents.
    EntersBattlefieldTriggeredAbility ability =
        new EntersBattlefieldTriggeredAbility(new TapTargetEffect(), false);
    ability.addTarget(new TargetPermanent(0, 3, new FilterPermanent(), false));
    this.addAbility(
        new ConditionalTriggeredAbility(
            ability,
            KickedCondition.getInstance(),
            "When {this} enters the battlefield, if it was kicked, tap up to three target permanents."));
  }
示例#10
0
  public TorchSlinger(UUID ownerId) {
    super(
        ownerId, 151, "Torch Slinger", Rarity.COMMON, new CardType[] {CardType.CREATURE}, "{2}{R}");
    this.expansionSetCode = "ZEN";
    this.subtype.add("Goblin");
    this.subtype.add("Shaman");

    this.power = new MageInt(2);
    this.toughness = new MageInt(2);

    // Kicker {1}{R} (You may pay an additional {1}{R} as you cast this spell.)
    this.addAbility(new KickerAbility("{1}{R}"));

    // When Torch Slinger enters the battlefield, if it was kicked, it deals 2 damage to target
    // creature.
    EntersBattlefieldTriggeredAbility ability =
        new EntersBattlefieldTriggeredAbility(new DamageTargetEffect(2), false);
    ability.addTarget(new TargetCreaturePermanent());
    this.addAbility(
        new ConditionalTriggeredAbility(
            ability,
            KickedCondition.getInstance(),
            "When {this} enters the battlefield, if it was kicked, it deals 2 damage to target creature."));
  }