Package mage.abilities.effects.common

Examples of mage.abilities.effects.common.LoseLifeTargetEffect


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

        //When Obzedat, Ghost Council enters the battlefield, target opponent loses 2 life and you gain 2 life.
        Ability ability = new EntersBattlefieldTriggeredAbility(new LoseLifeTargetEffect(2));
        ability.addEffect(new GainLifeEffect(2));
        ability.addTarget(new TargetOpponent());
        this.addAbility(ability);
        //At the beginning of your end step you may exile Obzedat. If you do, return it to the battlefield under it's owner's control at the beginning of your next upkeep. It gains haste.
        Ability ability2 = new BeginningOfYourEndStepTriggeredAbility(new ObzedatGhostCouncilExileSourceEffect(), true);
View Full Code Here


    public OrzhovaTheChurchOfDeals(UUID ownerId) {
        super(ownerId, 162, "Orzhova, the Church of Deals", Rarity.UNCOMMON, new CardType[]{CardType.LAND}, "");
        this.expansionSetCode = "GPT";
        this.addAbility(new ColorlessManaAbility());
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new LoseLifeTargetEffect(1), new ManaCostsImpl("{3}{W}{B}"));
        ability.addCost(new TapSourceCost());
        ability.addEffect(new GainLifeEffect(1));
        ability.addTarget(new TargetPlayer(1));
        this.addAbility(ability);
    }
View Full Code Here

        this.toughness = new MageInt(2);

        // Flying
        this.addAbility(FlyingAbility.getInstance());
        // When Bloodhunter Bat enters the battlefield, target player loses 2 life and you gain 2 life.
        Ability ability = new EntersBattlefieldTriggeredAbility(new LoseLifeTargetEffect(2));
        ability.addEffect(new GainLifeEffect(2));
        ability.addTarget(new TargetPlayer());
        this.addAbility(ability);
    }
View Full Code Here

        SimpleActivatedAbility ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostTargetEffect(-1, -1, Duration.EndOfTurn),new ManaCostsImpl("{B}{R}"));
        ability.addTarget(new TargetCreaturePermanent(filter));
        this.addAbility(ability);

        // {B}{R}: Target player who lost life this turn loses 1 life.
        ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new LoseLifeTargetEffect(1), new ManaCostsImpl("{B}{R}"));
        ability.addTarget(new TargetPlayer(1,1,false, playerFilter));
        this.addAbility(ability);
    }
View Full Code Here

    public LastCaress(UUID ownerId) {
        super(ownerId, 41, "Last Caress", Rarity.COMMON, new CardType[]{CardType.SORCERY}, "{2}{B}");
        this.expansionSetCode = "APC";
        this.color.setBlack(true);
        this.getSpellAbility().addEffect(new LoseLifeTargetEffect(1));
        this.getSpellAbility().addTarget(new TargetPlayer());
        this.getSpellAbility().addEffect(new GainLifeEffect(1));
        this.getSpellAbility().addEffect(new DrawCardSourceControllerEffect(1));
    }
View Full Code Here

        this.subtype.add("Human");
        this.subtype.add("Cleric");
        this.color.setBlack(true);
        this.power = new MageInt(0);
        this.toughness = new MageInt(1);
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new LoseLifeTargetEffect(1), new ManaCostsImpl("{1}{B}"));
        ability.addCost(new TapSourceCost());
        ability.addTarget(new TargetPlayer());
        this.addAbility(ability);
    }
View Full Code Here

}

class VedalkenGhoulTriggeredAbility extends TriggeredAbilityImpl {

    public VedalkenGhoulTriggeredAbility() {
        super(Zone.BATTLEFIELD, new LoseLifeTargetEffect(4), false);
    }
View Full Code Here

        this.toughness = new MageInt(2);

        // Geralf's Messenger enters the battlefield tapped.
        this.addAbility(new EntersBattlefieldTappedAbility());
        // When Geralf's Messenger enters the battlefield, target opponent loses 2 life.
        Ability ability = new EntersBattlefieldTriggeredAbility(new LoseLifeTargetEffect(2));
        ability.addTarget(new TargetOpponent());
        this.addAbility(ability);
        // Undying
        this.addAbility(new UndyingAbility());
    }
View Full Code Here

        this.expansionSetCode = "EVE";

        this.color.setBlack(true);

        // Target player loses 2 life and you gain 2 life.
        this.getSpellAbility().addEffect(new LoseLifeTargetEffect(2));
        this.getSpellAbility().addTarget(new TargetPlayer());
        this.getSpellAbility().addEffect(new GainLifeEffect(2));
        // Retrace
        this.addAbility(new RetraceAbility(new ManaCostsImpl("{1}{B}{B}"), TimingRule.SORCERY));
    }
View Full Code Here

        // Flying
        this.addAbility(FlyingAbility.getInstance());
        // Haunt
        // When Blind Hunter enters the battlefield or the creature it haunts dies, target player loses 2 life and you gain 2 life.
        Ability ability = new HauntAbility(this, new LoseLifeTargetEffect(2));
        ability.addTarget(new TargetPlayer());
        ability.addEffect(new GainLifeEffect(2));
        this.addAbility(ability);

    }
View Full Code Here

TOP

Related Classes of mage.abilities.effects.common.LoseLifeTargetEffect

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.