Package mage.abilities.common

Examples of mage.abilities.common.AttacksTriggeredAbility


    this.color.setBlue(true);
    this.power = new MageInt(4);
    this.toughness = new MageInt(4);

    this.addAbility(FlyingAbility.getInstance());
    this.addAbility(new AttacksTriggeredAbility(new ConundrumSphinxEffect(), false));
  }
View Full Code Here


    subtype.add("Elemental");
    color.setRed(true);
    color.setGreen(true);
    power = new MageInt(3);
    toughness = new MageInt(3);
    addAbility(new AttacksTriggeredAbility(new AddPlusOneCountersSourceEffect(1), false));
  }
View Full Code Here

    this.subtype.add("Warrior");
    this.color.setRed(true);
    this.power = new MageInt(4);
    this.toughness = new MageInt(4);

    Ability ability = new AttacksTriggeredAbility(new CyclopsGladiatorEffect(), true);
    this.addAbility(ability);
  }
View Full Code Here

    this.subtype.add("Goblin");
    this.subtype.add("Scout");
    this.power = new MageInt(2);
    this.toughness = new MageInt(2);
    this.addAbility(HasteAbility.getInstance());
    this.addAbility(new AttacksTriggeredAbility(new GoblinGuideEffect(), false));
  }
View Full Code Here

        this.color.setBlue(true);
        this.power = new MageInt(8);
        this.toughness = new MageInt(8);

        // Whenever Lorthos, the Tidemaker attacks, you may pay {8}. If you do, tap up to eight target permanents. Those permanents don't untap during their controllers' next untap steps.
        AttacksTriggeredAbility ability = new AttacksTriggeredAbility(new LorthosTheTideMakerEffect(), true);
        ability.addTarget(new TargetPermanent(0, 8, filter, false));
        this.addAbility(ability);
    }
View Full Code Here

        this.addAbility(FlyingAbility.getInstance());
        this.addAbility(HasteAbility.getInstance());


        // Whenever Hellkite Charger attacks, you may pay {5}{R}{R}. If you do, untap all attacking creatures and after this phase, there is an additional combat phase.
        this.addAbility(new AttacksTriggeredAbility(new HellkiteChargerEffect(),false));
    }
View Full Code Here

        this.color.setGreen(true);
        this.power = new MageInt(2);
        this.toughness = new MageInt(2);

        PermanentsOnBattlefieldCount value = new PermanentsOnBattlefieldCount(filter);
        this.addAbility(new AttacksTriggeredAbility(new BoostSourceEffect(value, value, Duration.EndOfTurn), false));
    }
View Full Code Here

        this.subtype.add("Kithkin");
        this.subtype.add("Soldier");
        this.color.setWhite(true);
        this.power = new MageInt(3);
        this.toughness = new MageInt(3);
        Ability ability = new AttacksTriggeredAbility(new BoostTargetEffect(0, 3, Duration.EndOfTurn), false);
        ability.addTarget(new TargetCreaturePermanent());
        this.addAbility(ability);
    }
View Full Code Here

        this.color.setRed(true);
        this.power = new MageInt(2);
        this.toughness = new MageInt(2);

        // Whenever Riot Ringleader attacks, Human creatures you control get +1/+0 until end of turn.
        this.addAbility(new AttacksTriggeredAbility(new BoostControlledEffect(1, 0, Duration.EndOfTurn, filter), false));
    }
View Full Code Here

        this.color.setWhite(true);
        this.power = new MageInt(1);
        this.toughness = new MageInt(4);

        // Whenever Haazda Snare Squad attacks you may pay {W}. If you do, tap target creature an opponent controls.
        Ability ability = new AttacksTriggeredAbility(new DoIfCostPaid(new TapTargetEffect(""), new ManaCostsImpl("{W}")),false,
                "Whenever {this} attacks you may pay {W}. If you do, tap target creature an opponent controls.");
        Target target = new TargetCreaturePermanent(filter);
        ability.addTarget(target);
        this.addAbility(ability);

    }
View Full Code Here

TOP

Related Classes of mage.abilities.common.AttacksTriggeredAbility

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.