Package mage.abilities

Examples of mage.abilities.Ability


        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


    this.subtype.add("Aura");

    TargetPermanent auraTarget = new TargetCreaturePermanent();
    this.getSpellAbility().addTarget(auraTarget);
    this.getSpellAbility().addEffect(new AttachEffect(Outcome.BoostCreature));
    Ability ability = new EnchantAbility(auraTarget.getTargetName());
    this.addAbility(ability);
    this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new UnholyStrengthEffect()));

  }
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.power = new MageInt(3);
    this.toughness = new MageInt(3);

    this.addAbility(new OnEventTriggeredAbility(EventType.UPKEEP_STEP_PRE, "beginning of your upkeep", new CreateTokenEffect(wolfToken)));
    Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new MasterOfTheWildHuntEffect(), new TapSourceCost());
    ability.addTarget(new TargetCreaturePermanent());
    this.addAbility(ability);
  }
View Full Code Here

    this.expansionSetCode = "M11";
    Costs costs = new CostsImpl();
    costs.add(new GenericManaCost(4));
    costs.add(new TapSourceCost());
    costs.add(new ExileSourceCost());
    Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new ExileTargetEffect(), costs);
    ability.addTarget(new TargetCreaturePermanent());
    this.addAbility(ability);
  }
View Full Code Here

        this.subtype.add("Human");
        this.subtype.add("Assassin");
        this.power = new MageInt(1);
        this.toughness = new MageInt(1);

    Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DestroyTargetEffect(), new TapSourceCost());
    ability.addTarget(new TargetCreaturePermanent(filter));
        this.addAbility(ability);
    }
View Full Code Here

    this.color.setGreen(true);
    this.subtype.add("Human");
    this.subtype.add("Druid");
    this.power = new MageInt(1);
    this.toughness = new MageInt(1);
    Ability ability = new EntersBattlefieldTriggeredAbility(new AwakenerDruidEffect(), false);
    ability.addTarget(new TargetLandPermanent(filter));
    this.addAbility(ability);
  }
View Full Code Here

        this.color.setWhite(true);
        this.subtype.add("Elf");
        this.subtype.add("Druid");
        this.power = new MageInt(2);
  this.toughness = new MageInt(2);
        Ability ability = new KnotvineMysticManaAbility();
        ability.addCost(new ManaCostsImpl("{1}"));
        this.addAbility(ability);
    }
View Full Code Here

    this.subtype.add("Goblin");
    this.subtype.add("Shaman");
    this.power = new MageInt(2);
    this.toughness = new MageInt(1);
    this.addAbility(HasteAbility.getInstance());
    Ability ability1 = new EntersBattlefieldTriggeredAbility(new DestroyTargetEffect());
    ability1.addTarget(new TargetNonBasicLandPermanent());
    KickerAbility ability2 = new KickerAbility(new GainAbilitySourceEffect(ability1, Duration.WhileOnBattlefield), false);
    ability2.addManaCost(new ColoredManaCost(ColoredManaSymbol.R));
    this.addAbility(ability2);

  }
View Full Code Here

    this.subtype.add("Aura");

    TargetPermanent auraTarget = new TargetCreaturePermanent();
    this.getSpellAbility().addTarget(auraTarget);
    this.getSpellAbility().addEffect(new AttachEffect(Outcome.BoostCreature));
    Ability ability = new EnchantAbility(auraTarget.getTargetName());
    this.addAbility(ability);
    this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new HolyStrengthEffect()));

  }
View Full Code Here

TOP

Related Classes of mage.abilities.Ability

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.