Package mage.abilities.keyword

Examples of mage.abilities.keyword.SunburstAbility


        this.subtype.add("Myr");
        this.power = new MageInt(0);
        this.toughness = new MageInt(0);

        // Sunburst
        this.addAbility(new SunburstAbility(this));
    }
View Full Code Here


    public PentadPrism(UUID ownerId) {
        super(ownerId, 122, "Pentad Prism", Rarity.COMMON, new CardType[]{CardType.ARTIFACT}, "{2}");
        this.expansionSetCode = "HOP";

        // Sunburst
        this.addAbility(new SunburstAbility(this));
        // Remove a charge counter from Pentad Prism: Add one mana of any color to your mana pool.
        this.addAbility(new AnyColorManaAbility(new RemoveCountersSourceCost(CounterType.CHARGE.createInstance(1))));
    }
View Full Code Here

        this.subtype.add("Wizard");
        this.power = new MageInt(0);
        this.toughness = new MageInt(0);

        // Sunburst (This enters the battlefield with a +1/+1 counter on it for each color of mana spent to cast it.)
        this.addAbility(new SunburstAbility(this));
        // {1}, Remove four +1/+1 counters from Etched Oracle: Target player draws three cards.
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DrawCardTargetEffect(3), new ManaCostsImpl("{1}"));
        ability.addCost(new RemoveCountersSourceCost(CounterType.P1P1.createInstance(4)));
        ability.addTarget(new TargetPlayer());
        this.addAbility(ability);
View Full Code Here

        this.expansionSetCode = "5DN";

        // Flash
        this.addAbility(FlashAbility.getInstance());
        // Sunburst
        this.addAbility(new SunburstAbility(this));
        // Remove a charge counter from Baton of Courage: Target creature gets +1/+1 until end of turn.
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostTargetEffect(1, 1, Duration.EndOfTurn), new RemoveCountersSourceCost(CounterType.CHARGE.createInstance(1)));
        ability.addTarget(new TargetCreaturePermanent());
        this.addAbility(ability);
    }
View Full Code Here

        this.power = new MageInt(1);
        this.toughness = new MageInt(1);

        // Sunburst
        this.addAbility(new SunburstAbility(this));
        // Remove two +1/+1 counters from Sawtooth Thresher: Sawtooth Thresher gets +4/+4 until end of turn.
        this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostSourceEffect(4, 4, Duration.EndOfTurn), new RemoveCountersSourceCost(CounterType.P1P1.createInstance(2))));
    }
View Full Code Here

    public Heliophial(UUID ownerId) {
        super(ownerId, 130, "Heliophial", Rarity.COMMON, new CardType[]{CardType.ARTIFACT}, "{5}");
        this.expansionSetCode = "5DN";

        // Sunburst
        this.addAbility(new SunburstAbility(this));
        // {2}, Sacrifice Heliophial: Heliophial deals damage equal to the number of charge counters on it to target creature or player.
        Effect effect = new DamageTargetEffect(new CountersCount(CounterType.CHARGE));
        effect.setText("{this} deals damage equal to the number of charge counters on it to target creature or player");
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, effect, new ManaCostsImpl("{2}"));
        ability.addCost(new SacrificeSourceCost());
View Full Code Here

        super(ownerId, 141, "Opaline Bracers", Rarity.COMMON, new CardType[]{CardType.ARTIFACT}, "{4}");
        this.expansionSetCode = "5DN";
        this.subtype.add("Equipment");

        // Sunburst
        this.addAbility(new SunburstAbility(this));
        // Equipped creature gets +X/+X, where X is the number of charge counters on Opaline Bracers.
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new BoostEquippedEffect(new CountersCount(CounterType.CHARGE), new CountersCount(CounterType.CHARGE))));
        // Equip {2}
        this.addAbility(new EquipAbility(Outcome.BoostCreature, new GenericManaCost(2)));
    }
View Full Code Here

    public ClearwaterGoblet(UUID ownerId) {
        super(ownerId, 109, "Clearwater Goblet", Rarity.RARE, new CardType[]{CardType.ARTIFACT}, "{5}");
        this.expansionSetCode = "5DN";

        // Sunburst
        this.addAbility(new SunburstAbility(this));
        // At the beginning of your upkeep, you may gain life equal to the number of charge counters on Clearwater Goblet.
        this.addAbility(new BeginningOfUpkeepTriggeredAbility(Zone.BATTLEFIELD, new GainLifeEffect(new CountersCount(CounterType.CHARGE)), TargetController.YOU, true));
    }
View Full Code Here

        this.subtype.add("Construct");
        this.power = new MageInt(0);
        this.toughness = new MageInt(0);

        // Sunburst
        this.addAbility(new SunburstAbility(this));
        // {tap}: Double the number of +1/+1 counters on Solarion.
        Effect effect = new AddCountersSourceEffect(CounterType.P1P1.createInstance(1), new CountersCount(CounterType.P1P1), true);
        effect.setText("Double the number of +1/+1 counters on {this}");
        this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, effect, new TapSourceCost()));
    }
View Full Code Here

        this.power = new MageInt(3);
        this.toughness = new MageInt(3);

        // Sunburst
        this.addAbility(new SunburstAbility(this));
        // {4}, {tap}, Remove a +1/+1 counter from Suncrusher: Destroy target creature.
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DestroyTargetEffect(), new GenericManaCost(4));
        ability.addCost(new TapSourceCost());
        ability.addCost(new RemoveCountersSourceCost(CounterType.P1P1.createInstance(1)));
        ability.addTarget(new TargetCreaturePermanent());
View Full Code Here

TOP

Related Classes of mage.abilities.keyword.SunburstAbility

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.