Examples of HeroicAbility


Examples of mage.abilities.keyword.HeroicAbility

        this.color.setWhite(true);
        this.power = new MageInt(1);
        this.toughness = new MageInt(1);

        // <i>Heroic</i> Whenever you cast a spell that targets Phalanx Leader, put a +1/+1 counter on each creature you control.
        this.addAbility(new HeroicAbility(new AddCountersAllEffect(CounterType.P1P1.createInstance(), new FilterControlledCreaturePermanent())));
    }
View Full Code Here

Examples of mage.abilities.keyword.HeroicAbility

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

        // <i>Heroic</i> - Whenever you cast a spell that targets Meletis Astronomer, look at the top three cards of your library. You may reveal an enchantment card from among them and put it into your hand. Put the rest on the bottom of your library in any order.
        this.addAbility(new HeroicAbility(new LookLibraryAndPickControllerEffect(3, 1, filter, true, false, Zone.HAND, true), false));
    }
View Full Code Here

Examples of mage.abilities.keyword.HeroicAbility

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

        // <i>Heroic</i> - Whenever you cast a spell that targets Hero of Leina Tower, you may pay {X}. If you do, put X +1/+1 counters on Hero of Leina Tower.
        this.addAbility(new HeroicAbility(new HeroOfLeinaTowerEffect()));

    }
View Full Code Here

Examples of mage.abilities.keyword.HeroicAbility

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

        // Heroic - Whenever you cast a spell that targets Centaur Battlemaster, put three +1/+1 counters on Centaur Battlemaster.
        this.addAbility(new HeroicAbility(new AddCountersSourceEffect(CounterType.P1P1.createInstance(3))));
    }
View Full Code Here

Examples of mage.abilities.keyword.HeroicAbility

        this.toughness = new MageInt(2);

        // Deathtouch
        this.addAbility(DeathtouchAbility.getInstance());
        // Heroic - Whenever you cast a spell that targets Agent of the Fates, each opponent sacrifices a creature.
        this.addAbility(new HeroicAbility(new SacrificeOpponentsEffect(new FilterControlledCreaturePermanent("a creature"))));
    }
View Full Code Here

Examples of mage.abilities.keyword.HeroicAbility

        this.toughness = new MageInt(1);

        // <i>Heroic</i> - Whenever you cast a spell that targets Artisan of Forms, you may have Artisan of Forms become a copy of target creature and gain this ability.
        Effect effect = new CopyPermanentEffect(new FilterCreaturePermanent(), new ArtisanOfFormsApplyToPermanent(), false);
        effect.setText("have {this} become a copy of target creature and gain this ability");
        this.addAbility(new HeroicAbility(effect, true));
    }
View Full Code Here

Examples of mage.abilities.keyword.HeroicAbility

    @Override
    public Boolean apply(Game game, Permanent permanent) {
        Effect effect = new CopyPermanentEffect(new ArtisanOfFormsApplyToPermanent());
        effect.setText("have {this} become a copy of target creature and gain this ability");
        permanent.addAbility(new HeroicAbility(effect, true), game);
        return true;
    }
View Full Code Here

Examples of mage.abilities.keyword.HeroicAbility

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

        // <i>Heroic</i> - Whenever you cast a spell that targets Anthousa, Setessan Hero, up to three target lands you control each become 2/2 Warrior creatures until end of turn. They're still lands.
        Ability ability = new HeroicAbility(new BecomesCreatureTargetEffect(new AnthousaWarriorToken(), "lands", Duration.EndOfTurn));
        ability.addTarget(new TargetControlledPermanent(0,3,new FilterLandPermanent("lands"), false));
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.keyword.HeroicAbility

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

        // <i>Heroic</i>  Whenever you cast a spell that targets Akroan Crusader, put a 1/1 red Soldier creature token with haste onto the battlefield.
        this.addAbility(new HeroicAbility(new CreateTokenEffect(new SoldierToken())));
    }
View Full Code Here

Examples of mage.abilities.keyword.HeroicAbility

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

        // Heroic - Whenever you cast a spell that targets Setessan Battle Priest, you gain 2 life.
        this.addAbility(new HeroicAbility(new GainLifeEffect(2), false));
    }
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.