Package mage.abilities.common

Examples of mage.abilities.common.LeavesBattlefieldTriggeredAbility


       
        // When Illusions of Grandeur enters the battlefield, you gain 20 life.
        this.addAbility(new EntersBattlefieldTriggeredAbility(new GainLifeEffect(20)));
       
        // When Illusions of Grandeur leaves the battlefield, you lose 20 life.
        this.addAbility(new LeavesBattlefieldTriggeredAbility(new LoseLifeSourceControllerEffect(20), false));
    }
View Full Code Here

TOP

Related Classes of mage.abilities.common.LeavesBattlefieldTriggeredAbility

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.