Examples of LoseLifeSourceControllerEffect


Examples of mage.abilities.effects.common.LoseLifeSourceControllerEffect

        this.color.setBlack(true);

        // Search your library for a card, then shuffle your library and put that card on top of it. You lose 2 life.
        this.getSpellAbility().addEffect(new SearchLibraryPutOnLibraryEffect(new TargetCardInLibrary()));
        this.getSpellAbility().addEffect(new LoseLifeSourceControllerEffect(2));
    }
View Full Code Here

Examples of mage.abilities.effects.common.LoseLifeSourceControllerEffect

        // You draw X cards and you lose X life, where X is your devotion to black.
        DynamicValue blackDevotion = new DevotionCount(ColoredManaSymbol.B);
        Effect effect = new DrawCardSourceControllerEffect(blackDevotion);
        effect.setText("You draw X cards");
        this.getSpellAbility().addEffect(effect);
        effect = new LoseLifeSourceControllerEffect(blackDevotion);
        effect.setText("and you lose X life, where X is your devotion to black");       
        this.getSpellAbility().addEffect(effect);
    }
View Full Code Here

Examples of mage.abilities.effects.common.LoseLifeSourceControllerEffect

        // Search your library for a card and put that card into your hand, then shuffle your library.
        TargetCardInLibrary target = new TargetCardInLibrary();
        this.getSpellAbility().addEffect(new SearchLibraryPutInHandEffect(target));
        // You lose 3 life.
        this.getSpellAbility().addEffect(new LoseLifeSourceControllerEffect(3));
       
    }
View Full Code Here

Examples of mage.abilities.effects.common.LoseLifeSourceControllerEffect

        this.color.setBlack(true);

        // Search your library for a card, then shuffle your library and put that card on top of it. You lose 2 life.
        TargetCardInLibrary target = new TargetCardInLibrary();
        this.getSpellAbility().addEffect(new SearchLibraryPutOnLibraryEffect(target, false, true));
        this.getSpellAbility().addEffect(new LoseLifeSourceControllerEffect(2));
    }
View Full Code Here

Examples of mage.abilities.effects.common.LoseLifeSourceControllerEffect

        this.getSpellAbility().addEffect(new ExileTargetEffect());

        // *You draw two cards and you lose 2 life
        Mode mode = new Mode();
        mode.getEffects().add(new DrawCardSourceControllerEffect(2));
        mode.getEffects().add(new LoseLifeSourceControllerEffect(2));
        this.getSpellAbility().addMode(mode);

        // *Distribute two +1/+1 counters among one or two target creatures.
        mode = new Mode();
        mode.getEffects().add(new AbzanCharmDistributeEffect());
View Full Code Here

Examples of mage.abilities.effects.common.LoseLifeSourceControllerEffect

        this.color.setBlack(true);

        // Look at the top four cards of your library. Put two of them into your hand and the rest into your graveyard. You lose 2 life.
        this.getSpellAbility().addEffect(new BitterRevelationEffect());
        this.getSpellAbility().addEffect(new LoseLifeSourceControllerEffect(2));
    }
View Full Code Here

Examples of mage.abilities.effects.common.LoseLifeSourceControllerEffect

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

Examples of mage.abilities.effects.common.LoseLifeSourceControllerEffect

                    Cost cost = new ManaCostsImpl<>("{1}{W}");
                    if (cost.pay(source, game, source.getSourceId(), source.getControllerId(), false)) {
                        continue;
                    }
                }
                new LoseLifeSourceControllerEffect(1).apply(game, source);
            }
            return true;
        }
        return false;
    }
View Full Code Here

Examples of mage.abilities.effects.common.LoseLifeSourceControllerEffect

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

        // When Serpent Warrior enters the battlefield, you lose 3 life.
        this.addAbility(new EntersBattlefieldTriggeredAbility(new LoseLifeSourceControllerEffect(3)));
    }
View Full Code Here

Examples of mage.abilities.effects.common.LoseLifeSourceControllerEffect

        this.expansionSetCode = "SOM";
        this.subtype.add("Horror");
        this.color.setBlack(true);
        this.power = new MageInt(3);
        this.toughness = new MageInt(3);
        this.addAbility(new EntersBattlefieldTriggeredAbility(new LoseLifeSourceControllerEffect(3)));
        this.addAbility(FlyingAbility.getInstance());
    }
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.