Package mage.abilities.effects.common

Examples of mage.abilities.effects.common.TransformSourceEffect.apply()


        Permanent p = game.getPermanent(source.getSourceId());
        if (p != null) {
            if (p.getCounters().getCount(CounterType.HATCHLING) >= 5) {
                p.getCounters().removeCounter(CounterType.HATCHLING, p.getCounters().getCount(CounterType.HATCHLING));
                TransformSourceEffect effect = new TransformSourceEffect(true);
                return effect.apply(game, source);
            }
        }
        return false;
    }
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.