Examples of LoseLifeTargetEffect


Examples of mage.abilities.effects.common.LoseLifeTargetEffect

    super(ownerId, 112, "Sign in Blood", Rarity.COMMON, new CardType[]{CardType.SORCERY}, "{B}{B}");
    this.expansionSetCode = "M10";
    this.color.setBlack(true);
    this.getSpellAbility().addTarget(new TargetPlayer());
    this.getSpellAbility().addEffect(new DrawCardTargetEffect(2));
    this.getSpellAbility().addEffect(new LoseLifeTargetEffect(2));
  }
View Full Code Here

Examples of mage.abilities.effects.common.LoseLifeTargetEffect

        this.getSpellAbility().addAlternativeCost(
                new NeedlebiteTrapAlternativeCost());
        this.addWatcher(new PlayerGainedLifeWatcher());

        // Target player loses 5 life and you gain 5 life.
        this.getSpellAbility().addEffect(new LoseLifeTargetEffect(5));
        this.getSpellAbility().addEffect(new GainLifeEffect(5));
        this.getSpellAbility().addTarget(new TargetPlayer());
    }
View Full Code Here

Examples of mage.abilities.effects.common.LoseLifeTargetEffect

    }
}

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

Examples of mage.abilities.effects.common.LoseLifeTargetEffect

        super(ownerId, 222, "Piranha Marsh", Rarity.COMMON, new CardType[]{CardType.LAND}, "");
        this.expansionSetCode = "ZEN";

        this.addAbility(new EntersBattlefieldTappedAbility());
        this.addAbility(new BlackManaAbility());
        EntersBattlefieldTriggeredAbility ability = new EntersBattlefieldTriggeredAbility(new LoseLifeTargetEffect(1));
        ability.addTarget(new TargetPlayer());
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.effects.common.LoseLifeTargetEffect

        this.color.setBlack(true);
        this.power = new MageInt(3);
        this.toughness = new MageInt(2);

        Ability ability = new AllyEntersBattlefieldTriggeredAbility(new LoseLifeTargetEffect(new PermanentsOnBattlefieldCount(filter)), true);
        ability.addTarget(new TargetPlayer());
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.effects.common.LoseLifeTargetEffect

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

        Ability ability = new LandfallAbility(new LoseLifeTargetEffect(3), true);
        ability.addEffect(new AddCountersSourceEffect(CounterType.P1P1.createInstance(3)));
        ability.addTarget(new TargetPlayer());
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.effects.common.LoseLifeTargetEffect

class BloodchiefAscensionTriggeredAbility extends TriggeredAbilityImpl {

    private Condition condition;

    public BloodchiefAscensionTriggeredAbility() {
        super(Zone.BATTLEFIELD, new LoseLifeTargetEffect(2), true);
        this.addEffect(new GainLifeEffect(2));
        condition = new SourceHasCounterCondition(CounterType.QUEST, 3);
    }
View Full Code Here

Examples of mage.abilities.effects.common.LoseLifeTargetEffect

        this.color.setBlack(true);
        this.power = new MageInt(1);
        this.toughness = new MageInt(1);

        // Whenever an artifact is put into a graveyard from the battlefield, you may have target opponent lose 1 life.
        Effect effect = new LoseLifeTargetEffect(1);
        effect.setText("you may have target opponent lose 1 life");
        Ability ability = new ZoneChangeAllTriggeredAbility(Zone.BATTLEFIELD, Zone.BATTLEFIELD, Zone.GRAVEYARD,
                effect, new FilterArtifactPermanent(),
                "Whenever an artifact is put into a graveyard from the battlefield, ", true);
        ability.addTarget(new TargetOpponent());
        this.addAbility(ability);
View Full Code Here

Examples of mage.abilities.effects.common.LoseLifeTargetEffect

}

class LilianasCaressAbility extends TriggeredAbilityImpl<LilianasCaressAbility> {

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

Examples of mage.abilities.effects.common.LoseLifeTargetEffect

    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
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.