Esempio n. 1
0
  public HanweirWatchkeep(UUID ownerId) {
    super(
        ownerId,
        145,
        "Hanweir Watchkeep",
        Rarity.UNCOMMON,
        new CardType[] {CardType.CREATURE},
        "{2}{R}");
    this.expansionSetCode = "ISD";
    this.subtype.add("Human");
    this.subtype.add("Warrior");
    this.subtype.add("Werewolf");

    this.canTransform = true;
    this.secondSideCard = new BaneOfHanweir(ownerId);

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

    this.addAbility(DefenderAbility.getInstance());
    // At the beginning of each upkeep, if no spells were cast last turn, transform Hanweir
    // Watchkeep.
    this.addAbility(new TransformAbility());
    TriggeredAbility ability =
        new BeginningOfUpkeepTriggeredAbility(
            new TransformSourceEffect(true), TargetController.ANY, false);
    this.addAbility(
        new ConditionalTriggeredAbility(
            ability,
            NoSpellsWereCastLastTurnCondition.getInstance(),
            TransformAbility.NO_SPELLS_TRANSFORM_RULE));
  }
Esempio n. 2
0
  public WolfbittenCaptive(UUID ownerId) {
    super(
        ownerId, 133, "Wolfbitten Captive", Rarity.RARE, new CardType[] {CardType.CREATURE}, "{G}");
    this.expansionSetCode = "DKA";
    this.subtype.add("Human");
    this.subtype.add("Werewolf");

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

    this.canTransform = true;
    this.secondSideCard = new KrallenhordeKiller(ownerId);

    // {1}{G}: Wolfbitten Captive gets +2/+2 until end of turn. Activate this ability only once each
    // turn.
    this.addAbility(
        new LimitedTimesPerTurnActivatedAbility(
            Zone.BATTLEFIELD,
            new BoostSourceEffect(2, 2, Duration.EndOfTurn),
            new ManaCostsImpl("{1}{G}")));

    // At the beginning of each upkeep, if no spells were cast last turn, transform Wolfbitten
    // Captive.
    this.addAbility(new TransformAbility());
    TriggeredAbility ability =
        new BeginningOfUpkeepTriggeredAbility(
            new TransformSourceEffect(true), TargetController.ANY, false);
    this.addAbility(
        new ConditionalTriggeredAbility(
            ability,
            NoSpellsWereCastLastTurnCondition.getInstance(),
            TransformAbility.NO_SPELLS_TRANSFORM_RULE));
  }
Esempio n. 3
0
  public GeierReachBandit(UUID ownerId) {
    super(
        ownerId,
        159,
        "Geier Reach Bandit",
        Rarity.RARE,
        new CardType[] {CardType.CREATURE},
        "{2}{R}");
    this.expansionSetCode = "SOI";
    this.subtype.add("Human");
    this.subtype.add("Rogue");
    this.subtype.add("Werewolf");
    this.power = new MageInt(3);
    this.toughness = new MageInt(2);

    this.canTransform = true;
    this.secondSideCard = new VildinPackAlpha(ownerId);

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

    // At the beginning of each upkeep, if no spells were cast last turn, transform Geier Reach
    // Bandit.
    this.addAbility(new TransformAbility());
    TriggeredAbility ability =
        new BeginningOfUpkeepTriggeredAbility(
            new TransformSourceEffect(true), TargetController.ANY, false);
    this.addAbility(
        new ConditionalTriggeredAbility(
            ability,
            NoSpellsWereCastLastTurnCondition.getInstance(),
            TransformAbility.NO_SPELLS_TRANSFORM_RULE));
  }