Examples of SourceOnBattlefieldControlUnchangedCondition


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

Examples of mage.abilities.condition.common.SourceOnBattlefieldControlUnchangedCondition

        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
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.