Examples of TargetCreatureOrPlayerAmount


Examples of mage.target.common.TargetCreatureOrPlayerAmount

        // 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.
        // Draw a card.
        getRightHalfCard().getColor().setBlue(true);
View Full Code Here

Examples of mage.target.common.TargetCreatureOrPlayerAmount

        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.target.common.TargetCreatureOrPlayerAmount

        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);
        this.getSpellAbility().addTarget(new TargetOpponent());
View Full Code Here

Examples of mage.target.common.TargetCreatureOrPlayerAmount

        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.target.common.TargetCreatureOrPlayerAmount

        // 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.target.common.TargetCreatureOrPlayerAmount

        // 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.target.common.TargetCreatureOrPlayerAmount

    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

Examples of mage.target.common.TargetCreatureOrPlayerAmount

class InfernoTitanAbility extends TriggeredAbilityImpl {

    public InfernoTitanAbility() {
        super(Zone.BATTLEFIELD, new DamageMultiEffect(3), false);
        this.addTarget(new TargetCreatureOrPlayerAmount(3));
    }
View Full Code Here

Examples of mage.target.common.TargetCreatureOrPlayerAmount

        this.color.setRed(true);

        // Volley of Boulders deals 6 damage divided as you choose among any number of target creatures and/or players.
        this.getSpellAbility().addEffect(new DamageMultiEffect(6));
        this.getSpellAbility().addTarget(new TargetCreatureOrPlayerAmount(6));
        // Flashback {R}{R}{R}{R}{R}{R}
        this.addAbility(new FlashbackAbility(new ManaCostsImpl("{R}{R}{R}{R}{R}{R}"),TimingRule.SORCERY));
    }
View Full Code Here

Examples of mage.target.common.TargetCreatureOrPlayerAmount

        this.color.setRed(true);

        // Boulderfall deals 5 damage divided as you choose among any number of target creatures and/or players.
        this.getSpellAbility().addEffect(new DamageMultiEffect(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.