Package mage.abilities.dynamicvalue.common

Examples of mage.abilities.dynamicvalue.common.MultikickerCount


        // Multikicker (You may pay an additional {B} any number of times as you cast this spell.)
        this.addAbility(new MultikickerAbility("{B}"));

        // When Bloodhusk Ritualist enters the battlefield, target opponent discards a card for each time it was kicked.
        Ability ability = new ConditionalTriggeredAbility(
                new EntersBattlefieldTriggeredAbility(new DiscardTargetEffect(new MultikickerCount())),
                KickedCondition.getInstance(),
                "");
        ability.addTarget(new TargetOpponent());
        this.addAbility(ability);
    }
View Full Code Here


        // Multikicker {1}{U}
        this.addAbility(new MultikickerAbility("{1}{U}"));
       
        // Counter target spell unless its controller pays {2}. Draw a card for each time Spell Contortion was kicked.
        this.getSpellAbility().addEffect(new CounterUnlessPaysEffect(new GenericManaCost(2)));
        this.getSpellAbility().addEffect(new DrawCardSourceControllerEffect(new MultikickerCount()));
        this.getSpellAbility().addTarget(new TargetSpell());
       
    }
View Full Code Here

        // Haste
        this.addAbility(HasteAbility.getInstance());

        // Skitter of Lizards enters the battlefield with a +1/+1 counter on it for each time it was kicked.
        this.addAbility(new EntersBattlefieldAbility(
                new AddCountersSourceEffect(CounterType.P1P1.createInstance(0), new MultikickerCount(), true),
                "with a +1/+1 counter on it for each time it was kicked"));

    }
View Full Code Here

    @Override
    public void adjustTargets(Ability ability, Game game) {
        if (ability instanceof SpellAbility) {
            ability.getTargets().clear();
            int numbTargets = new MultikickerCount().calculate(game, ability, null) + 1;
            ability.addTarget(new TargetCreatureOrPlayer(numbTargets));
        }
    }
View Full Code Here

        // Flying
        this.addAbility(FlyingAbility.getInstance());

        // Apex Hawks enters the battlefield with a +1/+1 counter on it for each time it was kicked.
        this.addAbility(new EntersBattlefieldAbility(
                new AddCountersSourceEffect(CounterType.P1P1.createInstance(0), new MultikickerCount(), true)
                ,"with a +1/+1 counter on it for each time it was kicked"));
    }
View Full Code Here

        // Islandwalk
        this.addAbility(new IslandwalkAbility());

        // Enclave Elite enters the battlefield with a +1/+1 counter on it for each time it was kicked.
        this.addAbility(new EntersBattlefieldAbility(
                new AddCountersSourceEffect(CounterType.P1P1.createInstance(0), new MultikickerCount(), true),
                "with a +1/+1 counter on it for each time it was kicked"));
    }
View Full Code Here

        // Swampwalk
        this.addAbility(new SwampwalkAbility());

        // Quag Vampires enters the battlefield with a +1/+1 counter on it for each time it was kicked.
        this.addAbility(new EntersBattlefieldAbility(
                new AddCountersSourceEffect(CounterType.P1P1.createInstance(0), new MultikickerCount(), true),
                "with a +1/+1 counter on it for each time it was kicked"));
    }
View Full Code Here

        // Multikicker (You may pay an additional any number of times as you cast this spell.)
        this.addAbility(new MultikickerAbility("{1}{G}"));

        // Gnarlid Pack enters the battlefield with a +1/+1 counter on it for each time it was kicked.
        this.addAbility(new EntersBattlefieldAbility(
                new AddCountersSourceEffect(CounterType.P1P1.createInstance(0), new MultikickerCount(), true),
                "with a +1/+1 counter on it for each time it was kicked"));
    }
View Full Code Here

        // Multikicker (You may pay an additional {G} any number of times as you cast this spell.)
        this.addAbility(new MultikickerAbility("{G}"));

        // When Wolfbriar Elemental enters the battlefield, put a 2/2 green Wolf creature token onto the battlefield for each time it was kicked.
        this.addAbility(new EntersBattlefieldTriggeredAbility(new CreateTokenEffect(new WolfToken(), new MultikickerCount())));
    }
View Full Code Here

        // Multikicker {2} (You may pay an additional {2} any number of times as you cast this spell.)
        this.addAbility(new MultikickerAbility("{2}"));

        // Everflowing Chalice enters the battlefield with a charge counter on it for each time it was kicked.
        this.addAbility(new EntersBattlefieldAbility(
                new AddCountersSourceEffect(CounterType.CHARGE.createInstance(0), new MultikickerCount(), true),
                "with a charge counter on it for each time it was kicked"));

        // {T}: Add {1} to your mana pool for each charge counter on Everflowing Chalice.
        this.addAbility(new DynamicManaAbility(Mana.ColorlessMana, new CountersCount(CounterType.CHARGE)));
    }
View Full Code Here

TOP

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

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.