Package mage.abilities.condition.common

Examples of mage.abilities.condition.common.IsPhaseCondition


        // {tap}: Exchange control of two target nonlegendary creatures. You can't activate this ability during combat.
        Ability ability = new ActivateIfConditionActivatedAbility(
                Zone.BATTLEFIELD,
                new ExchangeControlTargetEffect(Duration.EndOfGame, rule),
                new TapSourceCost(),
                new InvertCondition(new IsPhaseCondition(TurnPhase.COMBAT)));
        ability.addTarget(new TargetCreaturePermanent(2,2, filter, false));
        this.addAbility(ability);
    }
View Full Code Here

TOP

Related Classes of mage.abilities.condition.common.IsPhaseCondition

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.