Package mage.abilities.common

Examples of mage.abilities.common.BeginningOfUpkeepTriggeredAbility.addEffect()


        Effect effect = new LoseLifeTargetEffect(2);
        effect.setText("that player loses 2 life");
        Ability ability = new BeginningOfUpkeepTriggeredAbility(effect, TargetController.ANY, false);
        effect = new DrawCardTargetEffect(2);
        effect.setText("and draws two cards");
        ability.addEffect(effect);
        this.addAbility(ability);

    }

    public SeizanPerverterOfTruth (final SeizanPerverterOfTruth card) {
View Full Code Here


        this.color.setBlue(true);
        this.power = new MageInt(4);
        this.toughness = new MageInt(4);
        this.addAbility(FlyingAbility.getInstance());
        Ability ability = new BeginningOfUpkeepTriggeredAbility(new GainControlTargetEffect(Duration.EndOfTurn), TargetController.YOU, true);
        ability.addEffect(new UntapTargetEffect());
        ability.addEffect(new GainAbilityTargetEffect(HasteAbility.getInstance(), Duration.EndOfTurn));
        ability.addTarget(new TargetPermanent());
        this.addAbility(ability);
    }
View Full Code Here

        this.power = new MageInt(4);
        this.toughness = new MageInt(4);
        this.addAbility(FlyingAbility.getInstance());
        Ability ability = new BeginningOfUpkeepTriggeredAbility(new GainControlTargetEffect(Duration.EndOfTurn), TargetController.YOU, true);
        ability.addEffect(new UntapTargetEffect());
        ability.addEffect(new GainAbilityTargetEffect(HasteAbility.getInstance(), Duration.EndOfTurn));
        ability.addTarget(new TargetPermanent());
        this.addAbility(ability);
    }

    public DominusOfFealty(final DominusOfFealty card) {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.