Examples of addLoyaltyUsed()


Examples of mage.game.permanent.Permanent.addLoyaltyUsed()

            if (amount > 0) {
                planeswalker.getCounters().addCounter(CounterType.LOYALTY.createInstance(amount));
            } else if (amount < 0) {
                planeswalker.getCounters().removeCounter(CounterType.LOYALTY, Math.abs(amount));
            }
            planeswalker.addLoyaltyUsed();
            this.paid = true;
        }
        return paid;
    }
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.