Examples of LoseLifeSourceControllerEffect


Examples of mage.abilities.effects.common.LoseLifeSourceControllerEffect

        this.subtype.add("Horror");
        this.color.setBlack(true);
        this.power = new MageInt(4);
        this.toughness = new MageInt(4);
        Ability ability = new EntersBattlefieldTriggeredAbility(new DrawCardSourceControllerEffect(2), false);
        ability.addEffect(new LoseLifeSourceControllerEffect(2));
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.effects.common.LoseLifeSourceControllerEffect

        // Target creature gets +2/+0 until end of turn.  Regenerate it.  You lose 2 life.
        this.getSpellAbility().addEffect(new BoostTargetEffect(2,0, Duration.EndOfTurn));
        this.getSpellAbility().addTarget(new TargetCreaturePermanent());
        this.getSpellAbility().addEffect(new RegenerateTargetEffect());
        this.getSpellAbility().addEffect(new LoseLifeSourceControllerEffect(2));
    }
View Full Code Here

Examples of mage.abilities.effects.common.LoseLifeSourceControllerEffect

        this.toughness = new MageInt(5);

        // Protection from white
        this.addAbility(new ProtectionAbility(filter));
        // When Eviscerator enters the battlefield, you lose 5 life.
        this.addAbility(new EntersBattlefieldTriggeredAbility(new LoseLifeSourceControllerEffect(5)));
    }
View Full Code Here

Examples of mage.abilities.effects.common.LoseLifeSourceControllerEffect

        this.color.setBlue(true);

        //When Delusions of Mediocrity enters the battlefield, you gain 10 life.
        this.addAbility(new EntersBattlefieldTriggeredAbility(new GainLifeEffect(10), false));
        //When Delusions of Mediocrity leaves the battlefield, you lose 10 life.
        this.addAbility(new LeavesBattlefieldTriggeredAbility(new LoseLifeSourceControllerEffect(10), false));
    }
View Full Code Here

Examples of mage.abilities.effects.common.LoseLifeSourceControllerEffect

        this.color.setBlack(true);

        // Target player reveals his or her hand. You choose a nonland card from it. That player discards that card. You lose 2 life.
        this.getSpellAbility().addTarget(new TargetPlayer());
        this.getSpellAbility().addEffect(new DiscardCardYouChooseTargetEffect(filter, TargetController.ANY));
        this.getSpellAbility().addEffect(new LoseLifeSourceControllerEffect(2));
    }
View Full Code Here

Examples of mage.abilities.effects.common.LoseLifeSourceControllerEffect

        this.color.setBlack(true);

        // You draw two cards and you lose 2 life.
        this.getSpellAbility().addEffect(new DrawCardSourceControllerEffect(2));
        this.getSpellAbility().addEffect(new LoseLifeSourceControllerEffect(2));
    }
View Full Code Here

Examples of mage.abilities.effects.common.LoseLifeSourceControllerEffect

        this.getSpellAbility().addEffect(new AttachEffect(Outcome.Regenerate));
        Ability ability = new EnchantAbility(auraTarget.getTargetName());
        this.addAbility(ability);

        // At the beginning of your upkeep, you lose 1 life.
        this.addAbility(new BeginningOfUpkeepTriggeredAbility(new LoseLifeSourceControllerEffect(1), TargetController.YOU, false));

        // {0}: Regenerate enchanted creature.
        this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new RegenerateAttachedEffect(AttachmentType.AURA),new GenericManaCost(0)));
    }
View Full Code Here

Examples of mage.abilities.effects.common.LoseLifeSourceControllerEffect

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

        // When Lord of Tresserhorn enters the battlefield, you lose 2 life, you sacrifice two creatures, and target opponent draws two cards.
        Ability ability = new EntersBattlefieldTriggeredAbility(new LoseLifeSourceControllerEffect(2), false);
        ability.addEffect(new SacrificeTargetEffect(", you sacrifice two creatures"));
        Target target = new TargetControlledCreaturePermanent(2,2, new FilterControlledCreaturePermanent(), true);
        ability.addTarget(target);
        Effect effect = new DrawCardTargetEffect(2);
        effect.setText(", and target opponent draws two cards");
View Full Code Here

Examples of mage.abilities.effects.common.LoseLifeSourceControllerEffect

        this.subtype.add("Warrior");
        this.power = new MageInt(2);
        this.toughness = new MageInt(2);
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DrawCardSourceControllerEffect(2), new ManaCostsImpl("{1}{B}"));
        ability.addCost(new SacrificeSourceCost());
        ability.addEffect(new LoseLifeSourceControllerEffect(2));
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.effects.common.LoseLifeSourceControllerEffect

        TargetPermanent auraTarget = new TargetCreaturePermanent();
        this.getSpellAbility().addTarget(auraTarget);
        this.getSpellAbility().addEffect(new AttachEffect(Outcome.BoostCreature));
        Ability ability = new EnchantAbility(auraTarget.getTargetName());
        this.addAbility(ability);
        this.addAbility(new EntersBattlefieldTriggeredAbility(new LoseLifeSourceControllerEffect(1), false));
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new BoostEnchantedEffect(3, 1, Duration.WhileOnBattlefield)));
    }
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.