Package mage.abilities.condition.common

Examples of mage.abilities.condition.common.SourceOnBattlefieldControlUnchangedCondition


        // When Aegis Angel enters the battlefield, another target permanent is indestructible for as long as you control Aegis Angel.

        ConditionalContinousEffect effect = new ConditionalContinousEffect(
                new GainAbilityTargetEffect(IndestructibleAbility.getInstance(), Duration.Custom),
                new SourceOnBattlefieldControlUnchangedCondition(),
                "another target permanent is indestructible for as long as you control Aegis Angel");
        Ability ability = new EntersBattlefieldTriggeredAbility(effect, false);
        Target target = new TargetPermanent(filter);
        ability.addTarget(target);
        this.addAbility(ability);
View Full Code Here


        this.toughness = new MageInt(2);

        // When Master Thief enters the battlefield, gain control of target artifact for as long as you control Master Thief.
        ConditionalContinousEffect effect = new ConditionalContinousEffect(
                new GainControlTargetEffect(Duration.Custom),
                new SourceOnBattlefieldControlUnchangedCondition(),
                "gain control of target artifact for as long as you control Master Thief");
        Ability ability = new EntersBattlefieldTriggeredAbility(effect, false);
        ability.addTarget(new TargetPermanent(filter));
        this.addAbility(ability);
    }
View Full Code Here

TOP

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

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.