Examples of chooseNewTargets()


Examples of mage.game.stack.Spell.chooseNewTargets()

        if (spell != null) {
            Spell copy = spell.copySpell();
            copy.setControllerId(source.getControllerId());
            copy.setCopiedSpell(true);
            game.getStack().push(copy);
            copy.chooseNewTargets(game, source.getControllerId());
            Player player = game.getPlayer(source.getControllerId());
            String activateMessage = copy.getActivatedMessage(game);
            if (activateMessage.startsWith(" casts ")) {
                activateMessage = activateMessage.substring(6);
            }
View Full Code Here

Examples of mage.game.stack.Spell.chooseNewTargets()

                    if (player.chooseUse(Outcome.Copy, chooseMessage, game)) {
                        Spell copy = spell.copySpell();
                        copy.setControllerId(playerId);
                        copy.setCopiedSpell(true);
                        game.getStack().push(copy);
                        copy.chooseNewTargets(game, playerId);
                    }
                }
            }
            return true;
        }
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.