Package mage.abilities.common

Examples of mage.abilities.common.PutIntoGraveFromBattlefieldAllTriggeredAbility


        this.toughness = new MageInt(4);

        // Whenever a legendary permanent other than Yomiji, Who Bars the Way is put into a graveyard from the battlefield, return that card to its owner's hand.
        Effect effect = new ReturnToHandTargetEffect();
        effect.setText("return that card to its owner's hand");
        this.addAbility(new PutIntoGraveFromBattlefieldAllTriggeredAbility(effect, false, filter, true));
    }
View Full Code Here

TOP

Related Classes of mage.abilities.common.PutIntoGraveFromBattlefieldAllTriggeredAbility

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.