Package mage.abilities.effects.common

Examples of mage.abilities.effects.common.LoseGameSourceControllerEffect


        this.power = new MageInt(4);
        this.toughness = new MageInt(4);

        // When Phage the Untouchable enters the battlefield, if you didn't cast it from your hand, you lose the game.
        this.addAbility(new ConditionalTriggeredAbility(
                new EntersBattlefieldTriggeredAbility(new LoseGameSourceControllerEffect(), false),
                new InvertCondition(new CastFromHandCondition()),
                "When {this} enters the battlefield, if you didn't cast it from your hand, you lose the game"
        ));
        this.addWatcher(new CastFromHandWatcher());
View Full Code Here

TOP

Related Classes of mage.abilities.effects.common.LoseGameSourceControllerEffect

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.