Package mage.abilities.common.delayed

Examples of mage.abilities.common.delayed.AtTheEndOfTurnStepPostDelayedTriggeredAbility


            Player player = game.getPlayer(playerId);
            if (!player.hasLeft()&& !player.hasLost()) {
                player.setGameUnderYourControl(false);
                player.setTurnControlledBy(this.getId());
            }
            DelayedTriggeredAbility ability = new AtTheEndOfTurnStepPostDelayedTriggeredAbility(new LoseControlOnOtherPlayersControllerEffect());
            ability.setSourceId(getId());
            ability.setControllerId(getId());
            game.addDelayedTriggeredAbility(ability);
        }
    }
View Full Code Here

TOP

Related Classes of mage.abilities.common.delayed.AtTheEndOfTurnStepPostDelayedTriggeredAbility

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.