Examples of GainLifeTargetEffect


Examples of mage.abilities.effects.common.GainLifeTargetEffect

  public HuntersFeast(UUID ownerId) {
    super(ownerId, 182, "Hunters' Feast", Rarity.COMMON, new CardType[]{CardType.SORCERY}, "{3}{G}");
    this.expansionSetCode = "M11";
    this.color.setGreen(true);
    this.getSpellAbility().addTarget(new TargetPlayer(0));
    this.getSpellAbility().addEffect(new GainLifeTargetEffect(6));
  }
View Full Code Here

Examples of mage.abilities.effects.common.GainLifeTargetEffect

        super(ownerId, 133, "Natural Spring", Rarity.COMMON, new CardType[]{CardType.SORCERY}, "{3}{G}{G}");
        this.expansionSetCode = "TMP";
        this.color.setGreen(true);

        // Target player gains 8 life.
        this.getSpellAbility().addEffect(new GainLifeTargetEffect(8));
        this.getSpellAbility().addTarget(new TargetPlayer());
    }
View Full Code Here

Examples of mage.abilities.effects.common.GainLifeTargetEffect

        this.expansionSetCode = "7ED";

        this.color.setWhite(true);

        // Choose one - Target player gains 3 life; or prevent the next 3 damage that would be dealt to target creature or player this turn.
        this.getSpellAbility().addEffect(new GainLifeTargetEffect(3));
        this.getSpellAbility().addTarget(new TargetPlayer());
       
        Mode mode = new Mode();
        mode.getEffects().add(new PreventDamageToTargetEffect(Duration.EndOfTurn, 3));
        mode.getTargets().add(new TargetCreatureOrPlayer());
View Full Code Here

Examples of mage.abilities.effects.common.GainLifeTargetEffect

        this.expansionSetCode = "7ED";

        this.color.setGreen(true);

        // Target player gains X life.
        this.getSpellAbility().addEffect(new GainLifeTargetEffect(new ManacostVariableValue()));
        this.getSpellAbility().addTarget(new TargetPlayer());
    }
View Full Code Here

Examples of mage.abilities.effects.common.GainLifeTargetEffect

        this.color.setWhite(true);

        // Target player gains 4 life.
        // Landfall - If you had a land enter the battlefield under your control this turn, that player gains 8 life instead.
        this.addWatcher(new LandfallWatcher());
        this.getSpellAbility().addEffect(new ConditionalOneShotEffect(new GainLifeTargetEffect(8), new GainLifeTargetEffect(4), LandfallCondition.getInstance(), "Target player gains 4 life. Landfall - If you had a land enter the battlefield under your control this turn, that player gains 8 life instead"));
        this.getSpellAbility().addTarget(new TargetPlayer());
    }
View Full Code Here

Examples of mage.abilities.effects.common.GainLifeTargetEffect

        this.color.setGreen(true);
        this.color.setWhite(true);

        // Target player gains 7 life.
        this.getSpellAbility().addEffect(new GainLifeTargetEffect(7));
        this.getSpellAbility().addTarget(new TargetPlayer());
    }
View Full Code Here

Examples of mage.abilities.effects.common.GainLifeTargetEffect

        // Choose two -
        this.getSpellAbility().getModes().setMinModes(2);
        this.getSpellAbility().getModes().setMaxModes(2);
        // Target player gains 7 life;
        this.getSpellAbility().addEffect(new GainLifeTargetEffect(7));
        this.getSpellAbility().addTarget(new TargetPlayer());
        // or put target noncreature permanent on top of its owner's library;
        Mode mode = new Mode();
        mode.getEffects().add(new PutOnLibraryTargetEffect(true));
        Target target = new TargetPermanent(filterNonCreature);
View Full Code Here

Examples of mage.abilities.effects.common.GainLifeTargetEffect

    public HuntersFeast(UUID ownerId) {
        super(ownerId, 182, "Hunters' Feast", Rarity.COMMON, new CardType[]{CardType.SORCERY}, "{3}{G}");
        this.expansionSetCode = "M11";
        this.color.setGreen(true);
        this.getSpellAbility().addTarget(new TargetPlayer(0, Integer.MAX_VALUE, false));
        this.getSpellAbility().addEffect(new GainLifeTargetEffect(6));
    }
View Full Code Here

Examples of mage.abilities.effects.common.GainLifeTargetEffect

        this.expansionSetCode = "USG";

        this.color.setWhite(true);

        // Target player gains 2 life for each creature on the battlefield.
        this.getSpellAbility().addEffect(new GainLifeTargetEffect(new PermanentsOnBattlefieldCount(new FilterCreaturePermanent("creature on the battlefield"), 2)));
        this.getSpellAbility().addTarget(new TargetPlayer());
    }
View Full Code Here

Examples of mage.abilities.effects.common.GainLifeTargetEffect

        this.expansionSetCode = "CON";

        this.color.setGreen(true);

        // Target player gains 8 life.
        this.getSpellAbility().addEffect(new GainLifeTargetEffect(8));
        this.getSpellAbility().addTarget(new TargetPlayer());
        this.addAbility(new BasicLandcyclingAbility(new ManaCostsImpl("{1}{G}")));
    }
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.