Examples of LoseLifeSourceControllerEffect


Examples of mage.abilities.effects.common.LoseLifeSourceControllerEffect

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

        this.addAbility(new BeginningOfUpkeepTriggeredAbility(
            new ConditionalOneShotEffect(
                    new LoseLifeSourceControllerEffect(1),
                    new InvertCondition( new TenOrLessLifeCondition(TenOrLessLifeCondition.CheckType.AN_OPPONENT) ),
                    "you lose 1 life unless an opponent has 10 or less life"), TargetController.YOU, false));
    }
View Full Code Here

Examples of mage.abilities.effects.common.LoseLifeSourceControllerEffect

        this.color.setBlack(true);

        // Put target creature card from a graveyard onto the battlefield under your control. You lose life equal to its converted mana cost.
        getSpellAbility().addTarget(new TargetCardInGraveyard(new FilterCreatureCard("creature card from a graveyard")));
        getSpellAbility().addEffect(new ReturnFromGraveyardToBattlefieldTargetEffect())
        Effect effect = new LoseLifeSourceControllerEffect(new TargetConvertedManaCost());
        effect.setText("You lose life equal to its converted mana cost");
        getSpellAbility().addEffect(effect)
    }
View Full Code Here

Examples of mage.abilities.effects.common.LoseLifeSourceControllerEffect

        super(ownerId, 46, "Reckless Spite", Rarity.UNCOMMON, new CardType[]{CardType.INSTANT}, "{1}{B}{B}");
        this.expansionSetCode = "TMP";
        this.color.setBlack(true);
        this.getSpellAbility().addEffect(new DestroyTargetEffect());
        this.getSpellAbility().addTarget(new TargetCreaturePermanent(2, 2, filter, false));
        this.getSpellAbility().addEffect(new LoseLifeSourceControllerEffect(5));
    }
View Full Code Here

Examples of mage.abilities.effects.common.LoseLifeSourceControllerEffect

        this.color.setBlack(true);

        // Whenever a creature you control dies, you draw a card and lose 1 life.
        Ability ability = new DiesCreatureTriggeredAbility(new DrawCardSourceControllerEffect(1), false, filter);
        ability.addEffect(new LoseLifeSourceControllerEffect(1));
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.effects.common.LoseLifeSourceControllerEffect

        this.color.setBlack(true);

        // Target creature gets -3/-3 until end of turn. You lose 3 life.
        this.getSpellAbility().addTarget(new TargetCreaturePermanent());
        this.getSpellAbility().addEffect(new BoostTargetEffect(-3, -3, Duration.EndOfTurn));
        this.getSpellAbility().addEffect(new LoseLifeSourceControllerEffect(3));
    }
View Full Code Here

Examples of mage.abilities.effects.common.LoseLifeSourceControllerEffect

        this.expansionSetCode = "MOR";
        this.subtype.add("Faerie");
        this.color.setBlack(true);

        // At the beginning of your upkeep, you lose 1 life and put a 1/1 black Faerie Rogue creature token with flying onto the battlefield.
        Ability ability = new BeginningOfUpkeepTriggeredAbility(new LoseLifeSourceControllerEffect(1), TargetController.YOU, false);
        ability.addEffect(new CreateTokenEffect(new FaerieToken(), 1));
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.effects.common.LoseLifeSourceControllerEffect

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

        this.nightCard = true;

        this.addAbility(new BeginningOfYourEndStepTriggeredAbility(new LoseLifeSourceControllerEffect(1), false));
    }
View Full Code Here

Examples of mage.abilities.effects.common.LoseLifeSourceControllerEffect

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

        // At the beginning of your upkeep, you draw X cards and you lose X life, where X is the number of Zombies you control.
        Ability ability = new BeginningOfUpkeepTriggeredAbility(new DrawCardSourceControllerEffect(new PermanentsOnBattlefieldCount(filter)), TargetController.YOU, false);
        ability.addEffect(new LoseLifeSourceControllerEffect(new PermanentsOnBattlefieldCount(filter)));
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.effects.common.LoseLifeSourceControllerEffect

        // Flying
        this.addAbility(FlyingAbility.getInstance());

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

        // Enchanted creature gets +3/+3 and has flying.
        Ability ability = new SimpleStaticAbility(Zone.BATTLEFIELD, new BoostEnchantedEffect(3, 3));
        Effect effect = new GainAbilityAttachedEffect(FlyingAbility.getInstance(), AttachmentType.AURA);
        effect.setText("and has flying");
View Full Code Here

Examples of mage.abilities.effects.common.LoseLifeSourceControllerEffect

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

        // Raid - When Bellowing Saddlebrute enters the battlefield, you lose 4 life unless you attacked with a creature this turn
        this.addAbility(new ConditionalTriggeredAbility(
                new EntersBattlefieldTriggeredAbility(new LoseLifeSourceControllerEffect(4)),
                new InvertCondition(RaidCondition.getInstance()),
                "<i>Raid</i> - When {this} enters the battlefield, you lose 4 life unless you attacked with a creature this turn"
        ));
        this.addWatcher(new PlayerAttackedWatcher());
    }
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.