Package mage.abilities.effects.common.continious

Examples of mage.abilities.effects.common.continious.CommanderReplacementEffect


                if (player.getSideboard().size() > 0){
                    Card commander =  getCard((UUID)player.getSideboard().toArray()[0]);
                    if (commander != null) {
                        player.setCommanderId(commander.getId());
                        commander.moveToZone(Zone.COMMAND, null, this, true);
                        ability.addEffect(new CommanderReplacementEffect(commander.getId(), alsoLibrary));
                        ability.addEffect(new CommanderCostModification(commander.getId()));
                        ability.addEffect(new CommanderManaReplacementEffect(player.getId(), commander.getSpellAbility().getManaCosts().getMana()));
                        getState().setValue(commander.getId() + "_castCount", 0);
                        CommanderCombatDamageWatcher watcher = new CommanderCombatDamageWatcher(commander.getId());
                        getState().getWatchers().add(watcher);
View Full Code Here

TOP

Related Classes of mage.abilities.effects.common.continious.CommanderReplacementEffect

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.