Package mage.abilities.common

Examples of mage.abilities.common.EntersBattlefieldTriggeredAbility.addEffect()


        effect.setText("it deals 1 damage to target creature");
        Ability ability = new EntersBattlefieldTriggeredAbility(effect);
        ability.addTarget(new TargetCreaturePermanent());
        effect = new DamageControllerEffect(1);
        effect.setText("and 1 damage to you");
        ability.addEffect(effect);
        this.addAbility(ability);
    }

    public ForgeDevil(final ForgeDevil card) {
        super(card);
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.