Package mage.abilities.effects.common.combat

Examples of mage.abilities.effects.common.combat.BlocksIfAbleAttachedEffect


        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new BlocksIfAbleSourceEffect(Duration.WhileOnBattlefield)));
        // Enchanted creature gets +4/+1 and blocks each turn if able.
        Effect effect = new BoostEnchantedEffect(4,1, Duration.WhileOnBattlefield);
        effect.setText("Enchanted creature gets +4/+1");
        Ability ability = new SimpleStaticAbility(Zone.BATTLEFIELD, effect);
        effect = new BlocksIfAbleAttachedEffect(Duration.WhileOnBattlefield, AttachmentType.AURA);
        effect.setText("and blocks each turn if able");
        ability.addEffect(effect);
        this.addAbility(ability);
    }
View Full Code Here

TOP

Related Classes of mage.abilities.effects.common.combat.BlocksIfAbleAttachedEffect

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.