Package mage.abilities.effects.common

Examples of mage.abilities.effects.common.CipherEffect


        // Target player discards a card.
        this.getSpellAbility().addEffect(new DiscardTargetEffect(1));
        this.getSpellAbility().addTarget(new TargetPlayer());
       
        // Cipher (Then you may exilce this spell card encoded on a creature you control. Whenever that creature deals combat damage to a player, its controller may cast a copy of the encoded card without paying its mana cost.)
        this.getSpellAbility().addEffect(new CipherEffect());

    }
View Full Code Here


        // Put a 1/1/ blue and black Horror creature token with flying onto the battlefield.
        this.getSpellAbility().addEffect(new CreateTokenEffect(new NightwingHorrorToken(),1));

        // Cipher (Then you may exile this spell card encoded on a creature you control. Whenever that creature deals combat damage to a player, its controller may cast a copy of the encoded card without paying its mana cost.)
        this.getSpellAbility().addEffect(new CipherEffect());

    }
View Full Code Here

TOP

Related Classes of mage.abilities.effects.common.CipherEffect

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.