Package mage.abilities.effects.common

Examples of mage.abilities.effects.common.LoseLifeTargetEffect


        this.expansionSetCode = "NPH";

        this.color.setBlack(true);

        this.getSpellAbility().addEffect(new DrawCardTargetEffect(3));
        this.getSpellAbility().addEffect(new LoseLifeTargetEffect(3));
        this.getSpellAbility().addEffect(new AddPoisonCounterTargetEffect(3));
        this.getSpellAbility().addTarget(new TargetPlayer());
    }
View Full Code Here


}

class AshenmoorLiegeTriggeredAbility extends TriggeredAbilityImpl {

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

        this.subtype.add("Spirit");
        this.color.setBlack(true);
        this.power = new MageInt(1);
        this.toughness = new MageInt(1);
        // Sacrifice Bile Urchin: Target player loses 1 life.
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new LoseLifeTargetEffect(1), new SacrificeSourceCost());
        ability.addTarget(new TargetPlayer());
        this.addAbility(ability);
    }
View Full Code Here

    public GethsVerdict (UUID ownerId) {
        super(ownerId, 61, "Geth's Verdict", Rarity.COMMON, new CardType[]{CardType.INSTANT}, "{B}{B}");
        this.expansionSetCode = "NPH";
        this.color.setBlack(true);
        this.getSpellAbility().addEffect(new SacrificeEffect(new FilterCreaturePermanent(), 1, "Target player"));
        this.getSpellAbility().addEffect(new LoseLifeTargetEffect(1));
        this.getSpellAbility().addTarget(new TargetPlayer());
    }
View Full Code Here

        this.getSpellAbility().addTarget(auraTarget);
        this.getSpellAbility().addEffect(new AttachEffect(Outcome.AddAbility));
        Ability ability = new EnchantAbility(auraTarget.getTargetName());
        this.addAbility(ability);
        // Enchanted creature has "{1}{B}, {T}: Target player loses 2 life."
        Ability grantedAbility = new SimpleActivatedAbility(Zone.BATTLEFIELD, new LoseLifeTargetEffect(2), new ManaCostsImpl("{1}{B}"));
        grantedAbility.addCost(new TapSourceCost());
        grantedAbility.addTarget(new TargetPlayer());
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new GainAbilityAttachedEffect(grantedAbility, AttachmentType.AURA, Duration.WhileOnBattlefield)));
       
       
View Full Code Here

        this.subtype.add("Vampire");
        this.subtype.add("Shaman");
        this.color.setBlack(true);
        this.power = new MageInt(3);
        this.toughness = new MageInt(1);
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new LoseLifeTargetEffect(3), new GenericManaCost(8));
        ability.addEffect(new GainLifeEffect(3));
        ability.addTarget(new TargetPlayer());
        this.addAbility(ability);
    }
View Full Code Here

    }
}

class KalastriaHighbornTriggeredAbility extends TriggeredAbilityImpl {
    KalastriaHighbornTriggeredAbility ( ) {
        super(Zone.ALL, new LoseLifeTargetEffect(2), false);
        this.addCost(new ManaCostsImpl("{B}"));
        this.addTarget(new TargetPlayer());
        this.getEffects().add(new GainLifeEffect(2));
    }
View Full Code Here

    }
}

class SuturePriestSecondTriggeredAbility extends TriggeredAbilityImpl {
    SuturePriestSecondTriggeredAbility() {
        super(Zone.BATTLEFIELD, new LoseLifeTargetEffect(1), true);
    }
View Full Code Here

    }
}

class ContaminatedGroundAbility extends TriggeredAbilityImpl {
    ContaminatedGroundAbility() {
        super(Zone.BATTLEFIELD, new LoseLifeTargetEffect(2));
    }
View Full Code Here

}

class FalseCureTriggeredAbility extends DelayedTriggeredAbility {
   
    FalseCureTriggeredAbility() {
        super(new LoseLifeTargetEffect(0), Duration.EndOfTurn, false);
    }
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.