Package mage.abilities.effects.common.continious

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


       
        // Target creature gets +3/-3 and loses all creature types until end of turn.
        Effect effect = new BoostTargetEffect(3, -3, Duration.EndOfTurn);
        effect.setText("Target creature gets +3/-3");
        this.getSpellAbility().addEffect(effect);
        effect = new LoseAllCreatureTypesTargetEffect(Duration.EndOfTurn);
        effect.setText("and loses all creature types until end of turn");
        this.getSpellAbility().addEffect(effect);
        this.getSpellAbility().addTarget(new TargetCreaturePermanent());
    }
View Full Code Here

TOP

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

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.