Package mage.abilities.common

Examples of mage.abilities.common.SimpleActivatedAbility


        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("Snake");
    this.power = new MageInt(2);
    this.toughness = new MageInt(1);
    this.addAbility(IslandwalkAbility.getInstance());
    this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new RegenerateSourceEffect(), new ManaCostsImpl("{G}")));
  }
View Full Code Here

        this.subtype.add("Knight");
        this.color.setBlue(true);
        this.power = new MageInt(4);
        this.toughness = new MageInt(4);
        this.addAbility(FlyingAbility.getInstance());
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DestroyTargetEffect(), new ManaCostsImpl("{1}{W}{B}"));
        ability.addCost(new TapSourceCost());
        ability.addTarget(new TargetControlledPermanent(filter));
        this.addAbility(ability);
        this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new UntapSourceEffect(), new ManaCostsImpl("{2}{U}")));
    }
View Full Code Here

    this.toughness = new MageInt(2);

    Costs<Cost> costs = new CostsImpl();
    costs.add(new GenericManaCost(1));
    costs.add(new SacrificeSourceCost());
    Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(2), costs);
    ability.addTarget(new TargetCreatureOrPlayer());
    this.addAbility(ability);
  }
View Full Code Here

        this.color.setRed(true);
        this.color.setGreen(true);
        this.subtype.add("Lizard");
        this.power = new MageInt(2);
        this.toughness = new MageInt(2);
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new AddPlusOneCountersSourceEffect(1), new ManaCostsImpl());
        ability.addCost(new SacrificeTargetCost(new TargetControlledCreaturePermanent()));
        this.addAbility(ability);
    }
View Full Code Here

    public ScepterOfInsight(UUID ownerId) {
        super(ownerId, 33, "Scepter of Insight", Rarity.RARE, new CardType[]{CardType.ARTIFACT}, "{1}{U}{U}");
        this.expansionSetCode = "CON";
        this.color.setBlue(true);

        SimpleActivatedAbility ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DrawCardControllerEffect(1), new ManaCostsImpl("{3}{U}"));
        ability.addCost(new TapSourceCost());
        this.addAbility(ability);
    }
View Full Code Here

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

    this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new ScryEffect(1), new SacrificeTargetCost(new TargetControlledCreaturePermanent())));
  }
View Full Code Here

        this.expansionSetCode = "CON";
        this.subtype.add("Zombie");
        this.color.setBlack(true);
        this.power = new MageInt(1);
  this.toughness = new MageInt(1);
        SimpleActivatedAbility ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostSourceEffect(3, 0, Duration.EndOfTurn), new ManaCostsImpl(("{1}{U}{B}")));
        ability.getEffects().add(new GainAbilitySourceEffect(FlyingAbility.getInstance(), Duration.EndOfTurn));
        this.addAbility(ability);
    }
View Full Code Here

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

    Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new GainAbilityTargetEffect(UnblockableAbility.getInstance(), Duration.EndOfTurn), new TapSourceCost());
    ability.addTarget(new TargetCreaturePermanent(filter));
    this.addAbility(ability);
  }
View Full Code Here

        this.expansionSetCode = "ZEN";

        this.color.setBlue(true);

        this.addAbility(new LandfallAbility(new AddCountersSourceEffect(CounterType.QUEST.createInstance()), true));
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DrawCardSourceControllerEffect(3), new RemoveCountersSourceCost(CounterType.QUEST.createInstance(3)));
        ability.addCost(new SacrificeSourceCost());
        this.addAbility(ability);
    }
View Full Code Here

TOP

Related Classes of mage.abilities.common.SimpleActivatedAbility

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.