Renamed Live to Life.

This commit is contained in:
LevelX2 2014-02-18 17:11:15 +01:00
parent 3774f6b36a
commit 7dec7dc307
4 changed files with 14 additions and 14 deletions

View file

@ -30,7 +30,7 @@ package mage.sets.nemesis;
import java.util.UUID;
import mage.abilities.condition.common.ControlsPermanentCondition;
import mage.abilities.costs.AlternativeCostSourceAbility;
import mage.abilities.costs.common.GainLivePlayersCost;
import mage.abilities.costs.common.GainLifePlayersCost;
import mage.abilities.effects.common.DestroyAllEffect;
import mage.cards.CardImpl;
import mage.constants.CardType;
@ -58,7 +58,7 @@ public class ReverentSilence extends CardImpl<ReverentSilence> {
this.color.setGreen(true);
// If you control a Forest, rather than pay Reverent Silence's mana cost, you may have each other player gain 6 life.
this.addAbility(new AlternativeCostSourceAbility(new GainLivePlayersCost(6), new ControlsPermanentCondition(filter)));
this.addAbility(new AlternativeCostSourceAbility(new GainLifePlayersCost(6), new ControlsPermanentCondition(filter)));
// Destroy all enchantments.
this.getSpellAbility().addEffect(new DestroyAllEffect(new FilterEnchantmentPermanent("enchantments")));

View file

@ -31,7 +31,7 @@ import java.util.UUID;
import mage.MageInt;
import mage.abilities.condition.common.ControlsPermanentCondition;
import mage.abilities.costs.AlternativeCostSourceAbility;
import mage.abilities.costs.common.GainLivePlayersCost;
import mage.abilities.costs.common.GainLifePlayersCost;
import mage.cards.CardImpl;
import mage.constants.CardType;
import mage.constants.Rarity;
@ -60,7 +60,7 @@ public class SkyshroudCutter extends CardImpl<SkyshroudCutter> {
this.toughness = new MageInt(2);
// If you control a Forest, rather than pay Skyshroud Cutter's mana cost, you may have each other player gain 5 life.
this.addAbility(new AlternativeCostSourceAbility(new GainLivePlayersCost(6), new ControlsPermanentCondition(filter)));
this.addAbility(new AlternativeCostSourceAbility(new GainLifePlayersCost(6), new ControlsPermanentCondition(filter)));
}
public SkyshroudCutter(final SkyshroudCutter card) {

View file

@ -22,7 +22,7 @@ import mage.target.TargetPlayer;
*
* @author LevelX2
*/
public class GainLiveOpponentCost extends CostImpl<GainLiveOpponentCost> {
public class GainLifeOpponentCost extends CostImpl<GainLifeOpponentCost> {
private static final FilterPlayer filter = new FilterPlayer("opponent that can gain life");
@ -33,12 +33,12 @@ public class GainLiveOpponentCost extends CostImpl<GainLiveOpponentCost> {
private final int amount;
public GainLiveOpponentCost(int amount) {
public GainLifeOpponentCost(int amount) {
this.amount = amount;
this.text = new StringBuilder("you may have an opponent gain ").append(amount).append(" life").toString();
}
public GainLiveOpponentCost(GainLiveOpponentCost cost) {
public GainLifeOpponentCost(GainLifeOpponentCost cost) {
super(cost);
this.amount = cost.amount;
}
@ -77,8 +77,8 @@ public class GainLiveOpponentCost extends CostImpl<GainLiveOpponentCost> {
}
@Override
public GainLiveOpponentCost copy() {
return new GainLiveOpponentCost(this);
public GainLifeOpponentCost copy() {
return new GainLifeOpponentCost(this);
}
}

View file

@ -38,16 +38,16 @@ import mage.players.Player;
*
* @author LevelX2
*/
public class GainLivePlayersCost extends CostImpl<GainLivePlayersCost> {
public class GainLifePlayersCost extends CostImpl<GainLifePlayersCost> {
private final int amount;
public GainLivePlayersCost(int amount) {
public GainLifePlayersCost(int amount) {
this.amount = amount;
this.text = new StringBuilder("you may have each other player gain ").append(amount).append(" life").toString();
}
public GainLivePlayersCost(GainLivePlayersCost cost) {
public GainLifePlayersCost(GainLifePlayersCost cost) {
super(cost);
this.amount = cost.amount;
}
@ -88,8 +88,8 @@ public class GainLivePlayersCost extends CostImpl<GainLivePlayersCost> {
}
@Override
public GainLivePlayersCost copy() {
return new GainLivePlayersCost(this);
public GainLifePlayersCost copy() {
return new GainLifePlayersCost(this);
}
}