Package mage.abilities.dynamicvalue.common

Examples of mage.abilities.dynamicvalue.common.DomainValue


        this.expansionSetCode = "INV";

        this.color.setRed(true);

        // Domain - Tribal Flames deals X damage to target creature or player, where X is the number of basic land types among lands you control.
        this.getSpellAbility().addEffect(new DamageTargetEffect(new DomainValue()));
        this.getSpellAbility().addTarget(new TargetCreatureOrPlayer());
    }
View Full Code Here


        if (player == null) {
            return false;
        }

        Cards cards = new CardsImpl(Zone.PICK);
        int count = (new DomainValue()).calculate(game, source, this);
        count = Math.min(player.getLibrary().size(), count);
        for (int i = 0; i < count; i++) {
            Card card = player.getLibrary().removeFromTop(game);
            if (card != null) {
                cards.add(card);
View Full Code Here

        super(ownerId, 139, "Manaforce Mace", Rarity.UNCOMMON, new CardType[]{CardType.ARTIFACT}, "{4}");
        this.expansionSetCode = "CON";
        this.subtype.add("Equipment");

        // Domain - Equipped creature gets +1/+1 for each basic land type among lands you control.
        DomainValue value = new DomainValue();
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new BoostEquippedEffect(value, value)));
        // Equip {3}
        this.addAbility(new EquipAbility(Outcome.BoostCreature, new GenericManaCost(3)));
    }
View Full Code Here

        this.expansionSetCode = "CON";

        this.color.setBlack(true);

        // Domain - Target player discards a card for each basic land type among lands you control.
        this.getSpellAbility().addEffect(new DiscardTargetEffect(new DomainValue()));
        this.getSpellAbility().addTarget(new TargetPlayer());
    }
View Full Code Here

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

        // Domain - {3}: Wandering Goblins gets +1/+0 until end of turn for each basic land type among lands you control.
        this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostSourceEffect(new DomainValue(), new StaticValue(0), Duration.EndOfTurn), new GenericManaCost(3)));
    }
View Full Code Here

        // Flying
        this.addAbility(FlyingAbility.getInstance());
       
        // Domain - Aven Trailblazer's toughness is equal to the number of basic land types among lands you control.
        this.addAbility(new SimpleStaticAbility(Zone.ALL, new SetToughnessSourceEffect(new DomainValue(), Duration.EndOfGame)));
       
    }
View Full Code Here

        // Domain - Until end of turn, creatures you control gain trample and get +1/+1 for each basic land type among lands you control.
        Effect effect = new GainAbilityControlledEffect(TrampleAbility.getInstance(), Duration.EndOfTurn);
        effect.setText("<i>Domain</i> - Until end of turn, creatures you control gain Trample");
        this.getSpellAbility().addEffect(effect);
        DynamicValue domain = new DomainValue();
        effect = new BoostControlledEffect(domain, domain, Duration.EndOfTurn, new FilterCreaturePermanent(), false);
        effect.setText(" and get +1/+1 for each basic land type among lands you control");
        this.getSpellAbility().addEffect(effect);

    }
View Full Code Here

        this.expansionSetCode = "CON";

        this.color.setBlack(true);

        // Domain - Target creature gets -1/-1 until end of turn for each basic land type among lands you control.
        this.getSpellAbility().addEffect(new BoostTargetEffect(new DomainValue(-1), new DomainValue(-1), Duration.EndOfTurn, true));
        this.getSpellAbility().addTarget(new TargetCreaturePermanent());
    }
View Full Code Here

        this.color.setGreen(true);
        this.power = new MageInt(0);
        this.toughness = new MageInt(0);

        // Domain - Matca Rioters's power and toughness are each equal to the number of basic land types among lands you control.
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new BoostSourceEffect(new DomainValue(), new DomainValue(), Duration.EndOfGame)));
    }
View Full Code Here

        this.expansionSetCode = "CON";

        this.color.setGreen(true);

        // Domain - Put a 1/1 green Saproling creature token onto the battlefield for each basic land type among lands you control.
        this.getSpellAbility().addEffect(new CreateTokenEffect(new SaprolingToken(), new DomainValue()));
    }
View Full Code Here

TOP

Related Classes of mage.abilities.dynamicvalue.common.DomainValue

Copyright © 2018 www.massapicom. 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.