Package mage.abilities.keyword

Examples of mage.abilities.keyword.ChannelAbility.addTarget()


        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostSourceEffect(2, 2, Duration.EndOfTurn), new ManaCostsImpl("{2}{G}"));
        ability.addCost(new TapSourceCost());
        this.addAbility(ability);
        // Channel - {3}{G}, Discard Ghost-Lit Nourisher: Target creature gets +4/+4 until end of turn.
        Ability ability2 = new ChannelAbility("{3}{G}", new BoostTargetEffect(4, 4, Duration.EndOfTurn));
        ability2.addTarget(new TargetCreaturePermanent());
        this.addAbility(ability2);
    }

    public GhostLitNourisher(final GhostLitNourisher card) {
        super(card);
View Full Code Here


        ability.addCost(new TapSourceCost());
        ability.addTarget(new TargetCreaturePermanent());
        this.addAbility(ability);
        // Channel - {3}{R}, Discard Ghost-Lit Raider: Ghost-Lit Raider deals 4 damage to target creature.
        Ability ability2 = new ChannelAbility("{3}{R}", new DamageTargetEffect(4));
        ability2.addTarget(new TargetCreaturePermanent());
        this.addAbility(ability2);
    }

    public GhostLitRaider(final GhostLitRaider card) {
        super(card);
View Full Code Here

        // Haste
        this.addAbility(HasteAbility.getInstance());
        // Channel - {R}, Discard Shinen of Fury's Fire: Target creature gains haste until end of turn.
        Ability ability = new ChannelAbility("{R}", new GainAbilityTargetEffect(HasteAbility.getInstance(), Duration.EndOfTurn));
        ability.addTarget(new TargetCreaturePermanent());
        this.addAbility(ability);
    }

    public ShinenOfFurysFire(final ShinenOfFurysFire card) {
        super(card);
View Full Code Here

        // Shinen of Fear's Chill can't block.
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new CantBlockSourceEffect(Duration.WhileOnBattlefield)));
        // Channel - {1}{B}, Discard Shinen of Fear's Chill: Target creature can't block this turn.
        Ability ability = new ChannelAbility("{1}{B}", new CantBlockTargetEffect(Duration.EndOfTurn));
        ability.addTarget(new TargetCreaturePermanent());
        this.addAbility(ability);
    }

    public ShinenOfFearsChill(final ShinenOfFearsChill card) {
        super(card);
View Full Code Here

        ability.addCost(new TapSourceCost());
        ability.addTarget(new TargetPlayer());
        this.addAbility(ability);
        // Channel - {5}{B}{B}, Discard Ghost-Lit Stalker: Target player discards four cards. Activate this ability only any time you could cast a sorcery.
        Ability ability2 = new ChannelAbility("{5}{B}{B}", new DiscardTargetEffect(4), TimingRule.SORCERY);
        ability2.addTarget(new TargetPlayer());
        this.addAbility(ability2);
    }

    public GhostLitStalker(final GhostLitStalker card) {
        super(card);
View Full Code Here

        // Flying
        this.addAbility(FlyingAbility.getInstance());
        // Channel - {U}, Discard Shinen of Flight's Wings: Target creature gains flying until end of turn.
        Ability ability = new ChannelAbility("{U}", new GainAbilityTargetEffect(FlyingAbility.getInstance(), Duration.EndOfTurn));
        ability.addTarget(new TargetCreaturePermanent());
        this.addAbility(ability);
    }

    public ShinenOfFlightsWings(final ShinenOfFlightsWings card) {
        super(card);
View Full Code Here

        ability.addCost(new TapSourceCost());
        ability.addTarget(new TargetSpell());
        this.addAbility(ability);
        // Channel - {3}{U}, Discard Ghost-Lit Warder: Counter target spell unless its controller pays {4}.
        Ability ability2 = new ChannelAbility("{3}{U}", new CounterUnlessPaysEffect(new ManaCostsImpl("{4}")));
        ability2.addTarget(new TargetSpell());
        this.addAbility(ability2);
       
    }

    public GhostLitWarder(final GhostLitWarder card) {
View Full Code Here

        // All creatures able to block Shinen of Life's Roar do so.
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new MustBeBlockedByAllSourceEffect()));
        // Channel - {2}{G}{G}, Discard Shinen of Life's Roar: All creatures able to block target creature this turn do so.
        Ability ability = new ChannelAbility("{2}{G}{G}", new MustBeBlockedByAllTargetEffect(Duration.EndOfTurn));
        ability.addTarget(new TargetCreaturePermanent());
        this.addAbility(ability);
    }

    public ShinenOfLifesRoar(final ShinenOfLifesRoar card) {
        super(card);
View Full Code Here

        // First strike
        this.addAbility(FirstStrikeAbility.getInstance());
        // Channel - {1}{W}, Discard Shinen of Stars' Light: Target creature gains first strike until end of turn.
        Ability ability = new ChannelAbility("{1}{W}", new GainAbilityTargetEffect(FirstStrikeAbility.getInstance(), Duration.EndOfTurn));
        ability.addTarget(new TargetCreaturePermanent());
        this.addAbility(ability);
    }

    public ShinenOfStarsLight(final ShinenOfStarsLight card) {
        super(card);
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.