Examples of DiscardTargetCost


Examples of mage.abilities.costs.common.DiscardTargetCost

        // Trample
        this.addAbility(TrampleAbility.getInstance());

        // Discard a creature card: Put a +1/+1 counter on Lotleth Troll.
        this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new AddCountersSourceEffect(CounterType.P1P1.createInstance()), new DiscardTargetCost(new TargetCardInHand(filter))));

        // {B}: Regenerate Lotleth Troll.
        this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new RegenerateSourceEffect(), new ManaCostsImpl("{B}")));
    }
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.