예제 #1
0
  public KalemneDiscipleOfIroas(UUID ownerId) {
    super(
        ownerId,
        999,
        "Kalemne, Disciple of Iroas",
        Rarity.MYTHIC,
        new CardType[] {CardType.CREATURE},
        "{2}{R}{W}");
    this.expansionSetCode = "C15";
    this.supertype.add("Legendary");
    this.subtype.add("Giant");
    this.subtype.add("Soldier");
    this.power = new MageInt(3);
    this.toughness = new MageInt(3);

    // Double strike
    this.addAbility(DoubleStrikeAbility.getInstance());

    // Vigilance
    this.addAbility(VigilanceAbility.getInstance());

    // Whenever you cast a creature spell with converted mana cost 5 or greater, you get an
    // experience counter.
    Effect effect =
        new AddCountersControllerEffect(CounterType.EXPERIENCE.createInstance(1), false);
    effect.setText("you get an experience counter");
    Ability ability = new SpellCastControllerTriggeredAbility(effect, filterSpell, false);
    this.addAbility(ability);

    // Kalemne, Disciple of Iroas gets +1/+1 for each experience counter you have.
    DynamicValue value = new SourceControllerExperienceCountersCount();
    this.addAbility(
        new SimpleStaticAbility(
            Zone.BATTLEFIELD, new BoostSourceEffect(value, value, Duration.WhileOnBattlefield)));
  }
예제 #2
0
  public AvatarOfSlaughter(UUID ownerId) {
    super(
        ownerId,
        111,
        "Avatar of Slaughter",
        Rarity.RARE,
        new CardType[] {CardType.CREATURE},
        "{6}{R}{R}");
    this.expansionSetCode = "CMD";
    this.subtype.add("Avatar");
    this.power = new MageInt(8);
    this.toughness = new MageInt(8);

    // All creatures have double strike and attack each turn if able.
    Effect effect =
        new GainAbilityAllEffect(
            DoubleStrikeAbility.getInstance(),
            Duration.WhileOnBattlefield,
            new FilterCreaturePermanent("creatures"));
    effect.setText("All creatures have double strike");
    Ability ability = new SimpleStaticAbility(Zone.BATTLEFIELD, effect);
    effect = new AttacksIfAbleAllEffect(new FilterCreaturePermanent("creatures"));
    effect.setText("and attack each turn if able");
    ability.addEffect(effect);
    this.addAbility(ability, new AttackedThisTurnWatcher());
  }
예제 #3
0
  public TwoHeadedCerberus(UUID ownerId, CardSetInfo setInfo) {
    super(ownerId, setInfo, new CardType[] {CardType.CREATURE}, "{1}{R}{R}");
    this.subtype.add("Hound");

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

    // Double strike
    this.addAbility(DoubleStrikeAbility.getInstance());
  }
예제 #4
0
 BorosKeyruneToken() {
   super("Soldier", "1/1 red and white Soldier artifact creature with double strike");
   cardType.add(CardType.ARTIFACT);
   cardType.add(CardType.CREATURE);
   color.setRed(true);
   color.setWhite(true);
   subtype.add("Soldier");
   power = new MageInt(1);
   toughness = new MageInt(1);
   this.addAbility(DoubleStrikeAbility.getInstance());
 }
예제 #5
0
  public MarisisTwinclaws(UUID ownerId) {
    super(
        ownerId,
        140,
        "Marisi's Twinclaws",
        Rarity.UNCOMMON,
        new CardType[] {CardType.CREATURE},
        "{2}{R/W}{G}");
    this.expansionSetCode = "ARB";
    this.subtype.add("Cat");
    this.subtype.add("Warrior");

    this.power = new MageInt(2);
    this.toughness = new MageInt(4);
    this.addAbility(DoubleStrikeAbility.getInstance());
  }
예제 #6
0
 public KinsbaileCavalier(UUID ownerId) {
   super(
       ownerId,
       15,
       "Kinsbaile Cavalier",
       Rarity.RARE,
       new CardType[] {CardType.CREATURE},
       "{3}{W}");
   this.expansionSetCode = "MOR";
   this.subtype.add("Kithkin");
   this.subtype.add("Knight");
   this.color.setWhite(true);
   this.power = new MageInt(2);
   this.toughness = new MageInt(2);
   this.addAbility(
       new SimpleStaticAbility(
           Zone.BATTLEFIELD,
           new GainAbilityControlledEffect(
               DoubleStrikeAbility.getInstance(), Duration.WhileOnBattlefield, filter, false)));
 }
예제 #7
0
 private boolean hasDoubleStrike(Permanent perm) {
   return perm.getAbilities().containsKey(DoubleStrikeAbility.getInstance().getId());
 }
예제 #8
0
 public RafiqOfTheManyAbility() {
   super(
       Zone.BATTLEFIELD,
       new GainAbilityTargetEffect(DoubleStrikeAbility.getInstance(), Duration.EndOfTurn));
 }