示例#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 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."));
  }
示例#3
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."));
  }
示例#4
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."));
  }
示例#5
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."));
  }