Examples of DamageMultiEffect


Examples of mage.abilities.effects.common.DamageMultiEffect

}

class InfernoTitanAbility extends TriggeredAbilityImpl<InfernoTitanAbility> {

  public InfernoTitanAbility() {
    super(Zone.BATTLEFIELD, new DamageMultiEffect(3), false);
    this.addTarget(new TargetCreatureOrPlayerAmount(3));
  }
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

        // If four or more creatures are attacking, you may pay {1}{W} rather than pay Arrow Volley Trap's mana cost.
        this.getSpellAbility().addAlternativeCost(new ArrowVolleyTrapAlternativeCost());

        // Arrow Volley Trap deals 5 damage divided as you choose among any number of target attacking creatures.
        this.getSpellAbility().addEffect(new DamageMultiEffect(5));
        this.getSpellAbility().addTarget(new TargetCreaturePermanentAmount(5, filter));

    }
View Full Code Here

Examples of mage.abilities.effects.common.DamageMultiEffect

        this.color.setRed(true);
        this.power = new MageInt(3);
        this.toughness = new MageInt(3);

        // When Gang of Devils dies, it deals 3 damage divided as you choose among one, two, or three target creatures and/or players.
        Ability ability = new DiesTriggeredAbility(new DamageMultiEffect(3));
        ability.addTarget(new TargetCreatureOrPlayerAmount(3));
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamageMultiEffect

        this.expansionSetCode = "7ED";

        this.color.setRed(true);

        // Pyrotechnics deals 4 damage divided as you choose among any number of target creatures and/or players.
        this.getSpellAbility().addEffect(new DamageMultiEffect(4));
        this.getSpellAbility().addTarget(new TargetCreatureOrPlayerAmount(4));
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamageMultiEffect

        this.expansionSetCode = "M13";

        this.color.setRed(true);

        // Flames of the Firebrand deals 3 damage divided as you choose among one, two, or three target creatures and/or players.
        this.getSpellAbility().addEffect(new DamageMultiEffect(3));
        this.getSpellAbility().addTarget(new TargetCreatureOrPlayerAmount(3));
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamageMultiEffect

        this.expansionSetCode = "TOR";

        this.color.setRed(true);

        // Violent Eruption deals 4 damage divided as you choose among any number of target creatures and/or players.
        this.getSpellAbility().addEffect(new DamageMultiEffect(4));
        this.getSpellAbility().addTarget(new TargetCreatureOrPlayerAmount(4));

        // Madness {1}{R}{R}
        this.addAbility(new MadnessAbility(this, new ManaCostsImpl("{1}{R}{R}")));
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamageMultiEffect

        this.color.setRed(true);

        // Conflagrate deals X damage divided as you choose among any number of target creatures and/or players.
        DynamicValue xValue = new ManacostVariableValue();
        this.getSpellAbility().addEffect(new DamageMultiEffect(xValue));
        this.getSpellAbility().addTarget(new TargetCreatureOrPlayerAmount(xValue));       
       
        // Flashback-{R}{R}, Discard X cards.
        Ability ability = new FlashbackAbility(new ManaCostsImpl("{R}{R}"), TimingRule.SORCERY);
        ability.addCost(new DiscardXTargetCost(new FilterCard("cards")));
View Full Code Here

Examples of mage.abilities.effects.common.DamageMultiEffect

        this.expansionSetCode = "SOK";

        this.color.setWhite(true);

        // Hail of Arrows deals X damage divided as you choose among any number of target attacking creatures.
        this.getSpellAbility().addEffect(new DamageMultiEffect(new ManacostVariableValue()));
        this.getSpellAbility().addTarget(new TargetAttackingCreature(0, Integer.MAX_VALUE, new FilterAttackingCreature(), true));
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamageMultiEffect

        this.color.setRed(true);

        // Fire
        // Fire deals 2 damage divided as you choose among one or two target creatures and/or players.
        getLeftHalfCard().getColor().setRed(true);
        Effect effect = new DamageMultiEffect(2);
        effect.setText("Fire deals 2 damage divided as you choose among one or two target creatures and/or players");
        getLeftHalfCard().getSpellAbility().addEffect(effect);
        getLeftHalfCard().getSpellAbility().addTarget(new TargetCreatureOrPlayerAmount(2));

        // Ice
        // Tap target permanent.
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.