Examples of DamageMultiEffect


Examples of mage.abilities.effects.common.DamageMultiEffect

        this.expansionSetCode = "M10";

        this.color.setRed(true);

        // Ignite Disorder deals 3 damage divided as you choose among one, two, or three target white and/or blue creatures.
        this.getSpellAbility().addEffect(new DamageMultiEffect(3));
        this.getSpellAbility().addTarget(new TargetCreaturePermanentAmount(3, filter));
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamageMultiEffect

        // As an additional cost to cast Fire Covenant, pay X life.
        this.getSpellAbility().addCost(new PayVariableLifeCost(true));

        // Fire Covenant deals X damage divided as you choose among any number of target creatures.
        DynamicValue xValue = new GetXValue();
        this.getSpellAbility().addEffect(new DamageMultiEffect(xValue));
        this.getSpellAbility().addTarget(new TargetCreaturePermanentAmount(xValue));
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamageMultiEffect

        this.color.setRed(true);
        this.color.setWhite(true);

        // Fire at Will deals 3 damage divided as you choose among one, two, or three target attacking or blocking creatures.
        this.getSpellAbility().addEffect(new DamageMultiEffect(3));
        this.getSpellAbility().addTarget(new TargetCreaturePermanentAmount(3, filter));

    }
View Full Code Here

Examples of mage.abilities.effects.common.DamageMultiEffect

        this.power = new MageInt(5);
        this.toughness = new MageInt(5);

        this.addAbility(FlashAbility.getInstance());
        this.addAbility(FlyingAbility.getInstance());
        Ability ability = new EntersBattlefieldTriggeredAbility(new DamageMultiEffect(5), false);
        ability.addTarget(new TargetCreatureOrPlayerAmount(5));
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamageMultiEffect

        this.color.setRed(true);
        this.color.setGreen(true);
        this.color.setWhite(true);

        // Fiery Justice deals 5 damage divided as you choose among any number of target creatures and/or players. Target opponent gains 5 life.
        this.getSpellAbility().addEffect(new DamageMultiEffect(5));
        this.getSpellAbility().addTarget(new TargetCreatureOrPlayerAmount(5));
        Effect effect = new GainLifeTargetEffect(5);
        effect.setTargetPointer(new SecondTargetPointer());
        effect.setText("Target opponent gains 5 life");
        this.getSpellAbility().addEffect(effect);
View Full Code Here

Examples of mage.abilities.effects.common.DamageMultiEffect

        this.power = new MageInt(4);
        this.toughness = new MageInt(4);

        // When Kuldotha Flamefiend enters the battlefield, you may sacrifice an artifact. If you do, Kuldotha Flamefiend deals 4 damage divided as you choose among any number of target creatures and/or players.
        EntersBattlefieldTriggeredAbility ability =
                new EntersBattlefieldTriggeredAbility(new DoIfCostPaid(new DamageMultiEffect(4), new SacrificeTargetCost(new TargetControlledPermanent(new FilterControlledArtifactPermanent("an artifact")))), false);
        ability.addTarget(new TargetCreatureOrPlayerAmount(4));
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamageMultiEffect

        filter.add(new ColorPredicate(ObjectColor.RED));
        filter.add(Predicates.not(new CardIdPredicate(this.getId()))); // the exile cost can never be paid with the card itself
        this.addAbility(new AlternativeCostSourceAbility(new ExileFromHandCost(new TargetCardInHand(filter))));
       
        // Pyrokinesis deals 4 damage divided as you choose among any number of target creatures.
        this.getSpellAbility().addEffect(new DamageMultiEffect(4));
        this.getSpellAbility().addTarget(new TargetCreaturePermanentAmount(4));
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamageMultiEffect

        this.expansionSetCode = "ROE";

        this.color.setRed(true);

        // Forked Bolt deals 2 damage divided as you choose among one or two target creatures and/or players.
        Effect effect = new DamageMultiEffect(2);
        effect.setText("{this} deals 2 damage divided as you choose among one or two target creatures and/or players");
        this.getSpellAbility().addEffect(effect);
        this.getSpellAbility().addTarget(new TargetCreatureOrPlayerAmount(2));
       
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamageMultiEffect

        this.color.setWhite(true);

        // Aurelia's Fury deals X damage divided as you choose among any number of target creatures and/or players.
        // Tap each creature dealt damage this way. Players dealt damage this way can't cast noncreature spells this turn.
        DynamicValue xValue = new ManacostVariableValue();
        this.getSpellAbility().addEffect(new DamageMultiEffect(xValue));
        this.getSpellAbility().addEffect(new AureliasFuryEffect());
        this.getSpellAbility().addTarget(new TargetCreatureOrPlayerAmount(xValue));
        this.addWatcher(new AureliasFuryDamagedByWatcher());

    }
View Full Code Here

Examples of mage.abilities.effects.common.DamageMultiEffect

    public ArcLightning(UUID ownerId) {
        super(ownerId, 174, "Arc Lightning", Rarity.COMMON, new CardType[]{CardType.SORCERY}, "{2}{R}");
        this.expansionSetCode = "USG";
        this.color.setRed(true);
        this.getSpellAbility().addEffect(new DamageMultiEffect(3));
        this.getSpellAbility().addTarget(new TargetCreatureOrPlayerAmount(3));
    }
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.