Examples of SwitchPowerToughnessAllEffect


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

        this.color.setRed(true);
        this.power = new MageInt(1);
        this.toughness = new MageInt(2);

        // {1}{R}: Switch each creature's power and toughness until end of turn.
        this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new SwitchPowerToughnessAllEffect(Duration.EndOfTurn), new ManaCostsImpl("{1}{R}")));
    }
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.