Package mage.abilities.costs.mana

Examples of mage.abilities.costs.mana.ManaCostsImpl


    this.subtype.add("Druid");
    this.color.setGreen(true);
    this.power = new MageInt(1);
    this.toughness = new MageInt(1);

    this.addAbility(new LevelUpAbility(new ManaCostsImpl("{1}{G}")));
    Abilities<Ability> abilities1 = new AbilitiesImpl<Ability>();
    abilities1.add(new JoragaManaAbility());
    this.getLevels().add(new LevelAbility(1, 4, abilities1, 1, 2));
    Abilities<Ability> abilities2 = new AbilitiesImpl<Ability>();
    abilities2.add(new SimpleStaticAbility(Zone.BATTLEFIELD, new GainAbilityControlledEffect(new JoragaManaAbility(), Duration.WhileOnBattlefield, filter)));
View Full Code Here


        this.color.setWhite(true);
        this.subtype.add("Gargoyle");
  this.power = new MageInt(1);
  this.toughness = new MageInt(2);
        this.addAbility(FlyingAbility.getInstance());
        this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostSourceEffect(2, -1, Duration.EndOfTurn), new ManaCostsImpl(("{B}"))));
    }
View Full Code Here

        this.color.setBlack(true);
        this.subtype.add("Human");
        this.subtype.add("Rogue");
        this.power = new MageInt(4);
  this.toughness = new MageInt(3);
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostSourceEffect(-2, -0, Duration.EndOfTurn), new ManaCostsImpl("{U}{B}"));
        ability.addEffect(new GainAbilitySourceEffect(UnblockableAbility.getInstance(), Duration.EndOfTurn));
        this.addAbility(ability);
    }
View Full Code Here

        this.subtype.add("Zombie");
        this.subtype.add("Giant");
        this.power = new MageInt(4);
  this.toughness = new MageInt(4);
        this.addAbility(new LeavesBattlefieldTriggeredAbility(new CreateTokenEffect(new ZombieToken()), false));
        this.addAbility(new UnearthAbility(new ManaCostsImpl("{3}{B}")));
    }
View Full Code Here

    this.color.setGreen(true);
    this.subtype.add("Troll");
    this.power = new MageInt(4);
    this.toughness = new MageInt(3);

    this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new RegenerateSourceEffect(), new ManaCostsImpl("{G}")));
  }
View Full Code Here

        this.subtype.add("Beast");
        this.color.setGreen(true);
        this.power = new MageInt(5);
        this.toughness = new MageInt(3);

        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new GainAbilityTargetEffect(VigilanceAbility.getInstance(), Duration.EndOfTurn), new ManaCostsImpl("{1}"));
        ability.addTarget(new TargetCreaturePermanent(filter));
        this.addAbility(ability);
    }
View Full Code Here

        super(ownerId, 22, "Constricting Tendrils", Rarity.COMMON, new CardType[]{CardType.INSTANT}, "{U}");
        this.expansionSetCode = "CON";
        this.color.setBlue(true);
        this.getSpellAbility().addTarget(new TargetCreaturePermanent());
        this.getSpellAbility().addEffect(new BoostTargetEffect(-3, 0, Duration.EndOfTurn));
        this.addAbility(new CyclingAbility(new ManaCostsImpl("{2}")));
    }
View Full Code Here

    this.subtype.add("Warrior");
    this.color.setRed(true);
    this.power = new MageInt(2);
    this.toughness = new MageInt(2);

    this.addAbility(new LevelUpAbility(new ManaCostsImpl("{R}")));
    Abilities<Ability> abilities1 = new AbilitiesImpl<Ability>();
    abilities1.add(FlyingAbility.getInstance());
    this.getLevels().add(new LevelAbility(4, 7, abilities1, 4, 4));
    Abilities<Ability> abilities2 = new AbilitiesImpl<Ability>();
    abilities2.add(FlyingAbility.getInstance());
    abilities2.add(TrampleAbility.getInstance());
    abilities2.add(new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostSourceEffect(1, 0, Duration.EndOfTurn), new ManaCostsImpl("{R}")));
    this.getLevels().add(new LevelAbility(8, -1, abilities2, 8, 8));
  }
View Full Code Here

        this.subtype.add("Shaman");
        this.color.setRed(true);
        this.power = new MageInt(2);
  this.toughness = new MageInt(2);
        this.addAbility(HasteAbility.getInstance());
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new CreateTokenEffect(token), new ManaCostsImpl("{R}"));
        ability.addCost(new TapSourceCost());
        this.addAbility(ability);
    }
View Full Code Here

    this.color.setGreen(true);
    this.subtype.add("Elemental");
    this.subtype.add("Shapeshifter");
    this.power = new MageInt(4);
    this.toughness = new MageInt(4);
    this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new GainAbilitySourceEffect(HasteAbility.getInstance(), Duration.EndOfTurn), new ManaCostsImpl("{G}")));
    this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new GainAbilitySourceEffect(TrampleAbility.getInstance(), Duration.EndOfTurn), new ManaCostsImpl("{G}")));
    this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new GainAbilitySourceEffect(IndestructibleAbility.getInstance(), Duration.EndOfTurn), new ManaCostsImpl("{G}")));
    this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostSourceEffect(1, -1, Duration.EndOfTurn), new ManaCostsImpl("{1}")));
    this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostSourceEffect(-1, 1, Duration.EndOfTurn), new ManaCostsImpl("{1}")));
  }
View Full Code Here

TOP

Related Classes of mage.abilities.costs.mana.ManaCostsImpl

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.