Examples of PreventDamageToTargetMultiAmountEffect


Examples of mage.abilities.effects.common.PreventDamageToTargetMultiAmountEffect

        this.addAbility(FlashAbility.getInstance());
        this.addAbility(new ConvokeAbility());
        // Flying
        this.addAbility(FlyingAbility.getInstance());
        // When Angel of Salvation enters the battlefield, prevent the next 5 damage that would be dealt this turn to any number of target creatures and/or players, divided as you choose.
        Ability ability = new EntersBattlefieldTriggeredAbility(new PreventDamageToTargetMultiAmountEffect(Duration.EndOfTurn, 5));
        ability.addTarget(new TargetCreatureOrPlayerAmount(5));
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.effects.common.PreventDamageToTargetMultiAmountEffect

        this.expansionSetCode = "VIS";

        this.color.setWhite(true);

        // Prevent the next 5 damage that would be dealt this turn to any number of target creatures and/or players, divided as you choose.
        this.getSpellAbility().addEffect(new PreventDamageToTargetMultiAmountEffect(Duration.EndOfTurn, 5));
        this.getSpellAbility().addTarget(new TargetCreatureOrPlayerAmount(5));
    }
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.