diff --git a/Mage.Sets/src/mage/sets/bornofthegods/EvanescentIntellect.java b/Mage.Sets/src/mage/sets/bornofthegods/EvanescentIntellect.java index 2ee4280cc9..6df8f14055 100644 --- a/Mage.Sets/src/mage/sets/bornofthegods/EvanescentIntellect.java +++ b/Mage.Sets/src/mage/sets/bornofthegods/EvanescentIntellect.java @@ -34,7 +34,7 @@ import mage.abilities.common.SimpleStaticAbility; import mage.abilities.costs.common.TapSourceCost; import mage.abilities.costs.mana.ManaCostsImpl; import mage.abilities.effects.common.AttachEffect; -import mage.abilities.effects.common.PutTopCardOfTargetPlayerLibraryIntoGraveEffect; +import mage.abilities.effects.common.PutTopCardOfLibraryIntoGraveTargetEffect; import mage.abilities.effects.common.continious.GainAbilityAttachedEffect; import mage.abilities.keyword.EnchantAbility; import mage.cards.CardImpl; @@ -68,7 +68,7 @@ public class EvanescentIntellect extends CardImpl { Ability ability = new EnchantAbility(auraTarget.getTargetName()); this.addAbility(ability); // Enchanted creature has "{1}{U}, {T}: Target player puts the top three cards of his or her library into his or her graveyard." - ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new PutTopCardOfTargetPlayerLibraryIntoGraveEffect(3), new ManaCostsImpl("{1}{U}")); + ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new PutTopCardOfLibraryIntoGraveTargetEffect(3), new ManaCostsImpl("{1}{U}")); ability.addCost(new TapSourceCost()); ability.addTarget(new TargetPlayer(true)); this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new GainAbilityAttachedEffect(ability, AttachmentType.AURA, Duration.WhileOnBattlefield))); diff --git a/Mage.Sets/src/mage/sets/bornofthegods/PhenaxGodOfDeception.java b/Mage.Sets/src/mage/sets/bornofthegods/PhenaxGodOfDeception.java index 2de0a2a82d..c403cb7a76 100644 --- a/Mage.Sets/src/mage/sets/bornofthegods/PhenaxGodOfDeception.java +++ b/Mage.Sets/src/mage/sets/bornofthegods/PhenaxGodOfDeception.java @@ -36,7 +36,7 @@ import mage.abilities.costs.common.TapSourceCost; import mage.abilities.dynamicvalue.common.DevotionCount; import mage.abilities.dynamicvalue.common.SourcePermanentToughnessValue; import mage.abilities.effects.Effect; -import mage.abilities.effects.common.PutTopCardOfTargetPlayerLibraryIntoGraveEffect; +import mage.abilities.effects.common.PutTopCardOfLibraryIntoGraveTargetEffect; import mage.abilities.effects.common.continious.GainAbilityControlledEffect; import mage.abilities.effects.common.continious.LoseCreatureTypeSourceEffect; import mage.abilities.keyword.IndestructibleAbility; @@ -73,7 +73,7 @@ public class PhenaxGodOfDeception extends CardImpl { effect.setText("As long as your devotion to blue and black is less than seven, Phenax isn't a creature"); this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, effect)); // Creatures you control have "{T}: Target player puts the top X cards of his or her library into his or her graveyard, where X is this creature's toughness." - effect = new PutTopCardOfTargetPlayerLibraryIntoGraveEffect(SourcePermanentToughnessValue.getInstance()); + effect = new PutTopCardOfLibraryIntoGraveTargetEffect(SourcePermanentToughnessValue.getInstance()); effect.setText("Target player puts the top X cards of his or her library into his or her graveyard, where X is this creature's toughness"); Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, effect, new TapSourceCost()); ability.addTarget(new TargetPlayer(true)); diff --git a/Mage.Sets/src/mage/sets/bornofthegods/SirenOfTheSilentSong.java b/Mage.Sets/src/mage/sets/bornofthegods/SirenOfTheSilentSong.java index b6ad5228f9..c42d0ce6ac 100644 --- a/Mage.Sets/src/mage/sets/bornofthegods/SirenOfTheSilentSong.java +++ b/Mage.Sets/src/mage/sets/bornofthegods/SirenOfTheSilentSong.java @@ -32,7 +32,7 @@ import mage.MageInt; import mage.abilities.Ability; import mage.abilities.effects.Effect; import mage.abilities.effects.common.DiscardEachPlayerEffect; -import mage.abilities.effects.common.PutTopCardOfYourLibraryIntoGraveEachPlayerEffect; +import mage.abilities.effects.common.PutTopCardOfLibraryIntoGraveEachPlayerEffect; import mage.abilities.keyword.FlyingAbility; import mage.abilities.keyword.InspiredAbility; import mage.cards.CardImpl; @@ -61,7 +61,7 @@ public class SirenOfTheSilentSong extends CardImpl { this.addAbility(FlyingAbility.getInstance()); // Inspired - Whenever Siren of the Silent Song becomes untapped, each opponent discards a card, then puts the top card of his or her library into his or her graveyard. Ability ability = new InspiredAbility(new DiscardEachPlayerEffect(TargetController.OPPONENT)); - Effect effect = new PutTopCardOfYourLibraryIntoGraveEachPlayerEffect(1, TargetController.OPPONENT); + Effect effect = new PutTopCardOfLibraryIntoGraveEachPlayerEffect(1, TargetController.OPPONENT); effect.setText(", then puts the top card of his or her library into his or her graveyard"); ability.addEffect(effect); this.addAbility(ability); diff --git a/Mage.Sets/src/mage/sets/commander/SewerNemesis.java b/Mage.Sets/src/mage/sets/commander/SewerNemesis.java index 07a1513a65..c1ea1dfdf3 100644 --- a/Mage.Sets/src/mage/sets/commander/SewerNemesis.java +++ b/Mage.Sets/src/mage/sets/commander/SewerNemesis.java @@ -40,7 +40,7 @@ import mage.abilities.common.AsEntersBattlefieldAbility; import mage.abilities.common.SimpleStaticAbility; import mage.abilities.dynamicvalue.DynamicValue; import mage.abilities.effects.OneShotEffect; -import mage.abilities.effects.common.PutTopCardOfTargetPlayerLibraryIntoGraveEffect; +import mage.abilities.effects.common.PutTopCardOfLibraryIntoGraveTargetEffect; import mage.abilities.effects.common.continious.SetPowerToughnessSourceEffect; import mage.cards.CardImpl; import mage.game.Game; @@ -152,7 +152,7 @@ class CardsInTargetOpponentsGraveyardCount implements DynamicValue { class SewerNemesisTriggeredAbility extends TriggeredAbilityImpl { public SewerNemesisTriggeredAbility() { - super(Zone.BATTLEFIELD, new PutTopCardOfTargetPlayerLibraryIntoGraveEffect(1), false); + super(Zone.BATTLEFIELD, new PutTopCardOfLibraryIntoGraveTargetEffect(1), false); } public SewerNemesisTriggeredAbility(final SewerNemesisTriggeredAbility ability) { diff --git a/Mage.Sets/src/mage/sets/commander/SharedTrauma.java b/Mage.Sets/src/mage/sets/commander/SharedTrauma.java index f1dd6f71a1..e4ab5eb184 100644 --- a/Mage.Sets/src/mage/sets/commander/SharedTrauma.java +++ b/Mage.Sets/src/mage/sets/commander/SharedTrauma.java @@ -33,7 +33,7 @@ import mage.abilities.costs.Cost; import mage.abilities.costs.mana.GenericManaCost; import mage.abilities.effects.Effect; import mage.abilities.effects.OneShotEffect; -import mage.abilities.effects.common.PutTopCardOfTargetPlayerLibraryIntoGraveEffect; +import mage.abilities.effects.common.PutTopCardOfLibraryIntoGraveTargetEffect; import mage.cards.CardImpl; import mage.constants.CardType; import mage.constants.Outcome; @@ -101,7 +101,7 @@ class SharedTraumaEffect extends OneShotEffect { } if (xSum > 0) { for(UUID playerId : controller.getInRange()) { - Effect effect = new PutTopCardOfTargetPlayerLibraryIntoGraveEffect(xSum); + Effect effect = new PutTopCardOfLibraryIntoGraveTargetEffect(xSum); effect.setTargetPointer(new FixedTarget(playerId)); effect.apply(game, source); } diff --git a/Mage.Sets/src/mage/sets/darkascension/ScreechingSkaab.java b/Mage.Sets/src/mage/sets/darkascension/ScreechingSkaab.java index 7d1fdf98b6..d6fb27cc28 100644 --- a/Mage.Sets/src/mage/sets/darkascension/ScreechingSkaab.java +++ b/Mage.Sets/src/mage/sets/darkascension/ScreechingSkaab.java @@ -33,7 +33,7 @@ import mage.constants.CardType; import mage.constants.Rarity; import mage.MageInt; import mage.abilities.common.EntersBattlefieldTriggeredAbility; -import mage.abilities.effects.common.PutTopCardOfYourLibraryIntoGraveControllerEffect; +import mage.abilities.effects.common.PutTopCardOfLibraryIntoGraveControllerEffect; import mage.cards.CardImpl; /** @@ -52,7 +52,7 @@ public class ScreechingSkaab extends CardImpl { this.toughness = new MageInt(1); // When Screeching Skaab enters the battlefield, put the top two cards of your library into your graveyard. - this.addAbility(new EntersBattlefieldTriggeredAbility(new PutTopCardOfYourLibraryIntoGraveControllerEffect(2))); + this.addAbility(new EntersBattlefieldTriggeredAbility(new PutTopCardOfLibraryIntoGraveControllerEffect(2))); } public ScreechingSkaab(final ScreechingSkaab card) { diff --git a/Mage.Sets/src/mage/sets/dragonsmaze/BreakingEntering.java b/Mage.Sets/src/mage/sets/dragonsmaze/BreakingEntering.java index a4e567a11c..f1a06fcad9 100644 --- a/Mage.Sets/src/mage/sets/dragonsmaze/BreakingEntering.java +++ b/Mage.Sets/src/mage/sets/dragonsmaze/BreakingEntering.java @@ -37,7 +37,7 @@ import mage.constants.Zone; import mage.abilities.Ability; import mage.abilities.effects.ContinuousEffect; import mage.abilities.effects.OneShotEffect; -import mage.abilities.effects.common.PutTopCardOfTargetPlayerLibraryIntoGraveEffect; +import mage.abilities.effects.common.PutTopCardOfLibraryIntoGraveTargetEffect; import mage.abilities.effects.common.continious.GainAbilityTargetEffect; import mage.abilities.keyword.HasteAbility; import mage.cards.Card; @@ -71,7 +71,7 @@ public class BreakingEntering extends SplitCard { // Target player puts the top eight cards of his or her library into his or her graveyard. getLeftHalfCard().getColor().setBlue(true); getLeftHalfCard().getColor().setBlack(true); - getLeftHalfCard().getSpellAbility().addEffect(new PutTopCardOfTargetPlayerLibraryIntoGraveEffect(8)); + getLeftHalfCard().getSpellAbility().addEffect(new PutTopCardOfLibraryIntoGraveTargetEffect(8)); getLeftHalfCard().getSpellAbility().addTarget(new TargetPlayer(true)); // Entering diff --git a/Mage.Sets/src/mage/sets/dragonsmaze/DeadbridgeChant.java b/Mage.Sets/src/mage/sets/dragonsmaze/DeadbridgeChant.java index d47b01d348..961c45432d 100644 --- a/Mage.Sets/src/mage/sets/dragonsmaze/DeadbridgeChant.java +++ b/Mage.Sets/src/mage/sets/dragonsmaze/DeadbridgeChant.java @@ -37,7 +37,7 @@ import mage.abilities.Ability; import mage.abilities.common.BeginningOfUpkeepTriggeredAbility; import mage.abilities.common.EntersBattlefieldTriggeredAbility; import mage.abilities.effects.OneShotEffect; -import mage.abilities.effects.common.PutTopCardOfYourLibraryIntoGraveControllerEffect; +import mage.abilities.effects.common.PutTopCardOfLibraryIntoGraveControllerEffect; import mage.cards.Card; import mage.cards.CardImpl; import mage.constants.TargetController; @@ -60,7 +60,7 @@ public class DeadbridgeChant extends CardImpl { this.color.setGreen(true); // When Deadbridge Chant enters the battlefield, put the top ten cards of your library into your graveyard. - this.addAbility(new EntersBattlefieldTriggeredAbility(new PutTopCardOfYourLibraryIntoGraveControllerEffect(10))); + this.addAbility(new EntersBattlefieldTriggeredAbility(new PutTopCardOfLibraryIntoGraveControllerEffect(10))); // At the beginning of your upkeep, choose a card at random in your graveyard. If it's a creature card, put it onto the battlefield. Otherwise, put it into your hand. this.addAbility(new BeginningOfUpkeepTriggeredAbility(Zone.BATTLEFIELD, new DeadbridgeChantEffect(), TargetController.YOU, false)); diff --git a/Mage.Sets/src/mage/sets/dragonsmaze/DrownInFilth.java b/Mage.Sets/src/mage/sets/dragonsmaze/DrownInFilth.java index 7f7f58ef7a..2f37229955 100644 --- a/Mage.Sets/src/mage/sets/dragonsmaze/DrownInFilth.java +++ b/Mage.Sets/src/mage/sets/dragonsmaze/DrownInFilth.java @@ -35,7 +35,7 @@ import mage.abilities.dynamicvalue.DynamicValue; import mage.abilities.dynamicvalue.common.CardsInControllerGraveyardCount; import mage.abilities.dynamicvalue.common.SignInversionDynamicValue; import mage.abilities.effects.Effect; -import mage.abilities.effects.common.PutTopCardOfYourLibraryIntoGraveControllerEffect; +import mage.abilities.effects.common.PutTopCardOfLibraryIntoGraveControllerEffect; import mage.abilities.effects.common.continious.BoostTargetEffect; import mage.cards.CardImpl; import mage.filter.common.FilterLandCard; @@ -56,7 +56,7 @@ public class DrownInFilth extends CardImpl { // Choose target creature. Put the top four cards of your library into your graveyard, then that creature gets -1/-1 until end of turn for each land card in your graveyard. this.getSpellAbility().addTarget(new TargetCreaturePermanent(true)); - Effect effect = new PutTopCardOfYourLibraryIntoGraveControllerEffect(4); + Effect effect = new PutTopCardOfLibraryIntoGraveControllerEffect(4); effect.setText("Choose target creature. Put the top four cards of your library into your graveyard"); this.getSpellAbility().addEffect(effect); DynamicValue landCards = new SignInversionDynamicValue(new CardsInControllerGraveyardCount(new FilterLandCard())); diff --git a/Mage.Sets/src/mage/sets/fifthdawn/GrindingStation.java b/Mage.Sets/src/mage/sets/fifthdawn/GrindingStation.java index d51e60fcdc..63c7e28942 100644 --- a/Mage.Sets/src/mage/sets/fifthdawn/GrindingStation.java +++ b/Mage.Sets/src/mage/sets/fifthdawn/GrindingStation.java @@ -37,7 +37,7 @@ import mage.abilities.common.EntersBattlefieldAllTriggeredAbility; import mage.abilities.common.SimpleActivatedAbility; import mage.abilities.costs.common.SacrificeTargetCost; import mage.abilities.costs.common.TapSourceCost; -import mage.abilities.effects.common.PutTopCardOfTargetPlayerLibraryIntoGraveEffect; +import mage.abilities.effects.common.PutTopCardOfLibraryIntoGraveTargetEffect; import mage.abilities.effects.common.UntapSourceEffect; import mage.cards.CardImpl; import mage.filter.common.FilterArtifactPermanent; @@ -62,7 +62,7 @@ public class GrindingStation extends CardImpl { this.expansionSetCode = "5DN"; // {tap}, Sacrifice an artifact: Target player puts the top three cards of his or her library into his or her graveyard. - Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new PutTopCardOfTargetPlayerLibraryIntoGraveEffect(3), new TapSourceCost()); + Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new PutTopCardOfLibraryIntoGraveTargetEffect(3), new TapSourceCost()); ability.addCost(new SacrificeTargetCost(new TargetControlledPermanent(filter))); ability.addTarget(new TargetPlayer(true)); this.addAbility(ability); diff --git a/Mage.Sets/src/mage/sets/innistrad/ArmoredSkaab.java b/Mage.Sets/src/mage/sets/innistrad/ArmoredSkaab.java index 9e44c9f9d4..4e989ff8a6 100644 --- a/Mage.Sets/src/mage/sets/innistrad/ArmoredSkaab.java +++ b/Mage.Sets/src/mage/sets/innistrad/ArmoredSkaab.java @@ -36,7 +36,7 @@ import mage.MageInt; import mage.abilities.Ability; import mage.abilities.common.EntersBattlefieldTriggeredAbility; import mage.abilities.effects.OneShotEffect; -import mage.abilities.effects.common.PutTopCardOfYourLibraryIntoGraveControllerEffect; +import mage.abilities.effects.common.PutTopCardOfLibraryIntoGraveControllerEffect; import mage.cards.Card; import mage.cards.CardImpl; import mage.game.Game; @@ -59,7 +59,7 @@ public class ArmoredSkaab extends CardImpl { this.toughness = new MageInt(4); // When Armored Skaab enters the battlefield, put the top four cards of your library into your graveyard. - this.addAbility(new EntersBattlefieldTriggeredAbility(new PutTopCardOfYourLibraryIntoGraveControllerEffect(4))); + this.addAbility(new EntersBattlefieldTriggeredAbility(new PutTopCardOfLibraryIntoGraveControllerEffect(4))); } public ArmoredSkaab(final ArmoredSkaab card) { diff --git a/Mage.Sets/src/mage/sets/innistrad/Splinterfright.java b/Mage.Sets/src/mage/sets/innistrad/Splinterfright.java index 6ce1947967..3e5b11ad89 100644 --- a/Mage.Sets/src/mage/sets/innistrad/Splinterfright.java +++ b/Mage.Sets/src/mage/sets/innistrad/Splinterfright.java @@ -36,7 +36,7 @@ import mage.MageInt; import mage.abilities.common.OnEventTriggeredAbility; import mage.abilities.common.SimpleStaticAbility; import mage.abilities.dynamicvalue.common.CardsInControllerGraveyardCount; -import mage.abilities.effects.common.PutTopCardOfYourLibraryIntoGraveControllerEffect; +import mage.abilities.effects.common.PutTopCardOfLibraryIntoGraveControllerEffect; import mage.abilities.effects.common.continious.SetPowerToughnessSourceEffect; import mage.abilities.keyword.TrampleAbility; import mage.cards.CardImpl; @@ -63,7 +63,7 @@ public class Splinterfright extends CardImpl { CardsInControllerGraveyardCount count = new CardsInControllerGraveyardCount(new FilterCreatureCard("creature cards")); this.addAbility(new SimpleStaticAbility(Zone.ALL, new SetPowerToughnessSourceEffect(count, Duration.EndOfGame))); // At the beginning of your upkeep, put the top two cards of your library into your graveyard. - this.addAbility(new OnEventTriggeredAbility(EventType.UPKEEP_STEP_PRE, "beginning of your upkeep", new PutTopCardOfYourLibraryIntoGraveControllerEffect(2), false)); + this.addAbility(new OnEventTriggeredAbility(EventType.UPKEEP_STEP_PRE, "beginning of your upkeep", new PutTopCardOfLibraryIntoGraveControllerEffect(2), false)); } public Splinterfright(final Splinterfright card) { diff --git a/Mage.Sets/src/mage/sets/odyssey/Bloodcurdler.java b/Mage.Sets/src/mage/sets/odyssey/Bloodcurdler.java index 0c06f0ed83..f790ee9ce0 100644 --- a/Mage.Sets/src/mage/sets/odyssey/Bloodcurdler.java +++ b/Mage.Sets/src/mage/sets/odyssey/Bloodcurdler.java @@ -39,7 +39,7 @@ import mage.abilities.costs.common.ExileFromGraveCost; import mage.abilities.decorator.ConditionalContinousEffect; import mage.abilities.effects.ContinuousEffect; import mage.abilities.effects.common.ExileCardFromOwnGraveyardControllerEffect; -import mage.abilities.effects.common.PutTopCardOfYourLibraryIntoGraveControllerEffect; +import mage.abilities.effects.common.PutTopCardOfLibraryIntoGraveControllerEffect; import mage.abilities.effects.common.continious.BoostSourceEffect; import mage.abilities.effects.common.continious.GainAbilitySourceEffect; import mage.abilities.keyword.FlyingAbility; @@ -71,7 +71,7 @@ public class Bloodcurdler extends CardImpl { this.addAbility(FlyingAbility.getInstance()); // At the beginning of your upkeep, put the top card of your library into your graveyard. - this.addAbility(new BeginningOfUpkeepTriggeredAbility(Zone.BATTLEFIELD, new PutTopCardOfYourLibraryIntoGraveControllerEffect(1), TargetController.YOU, false)); + this.addAbility(new BeginningOfUpkeepTriggeredAbility(Zone.BATTLEFIELD, new PutTopCardOfLibraryIntoGraveControllerEffect(1), TargetController.YOU, false)); Condition thresholdCondition = new CardsInControllerGraveCondition(7); // Threshold - As long as seven or more cards are in your graveyard, Bloodcurdler gets +1/+1 and has "At the beginning of your end step, exile two cards from your graveyard." diff --git a/Mage/src/mage/abilities/effects/common/PutTopCardOfYourLibraryIntoGraveControllerEffect.java b/Mage/src/mage/abilities/effects/common/PutTopCardOfLibraryIntoGraveControllerEffect.java similarity index 84% rename from Mage/src/mage/abilities/effects/common/PutTopCardOfYourLibraryIntoGraveControllerEffect.java rename to Mage/src/mage/abilities/effects/common/PutTopCardOfLibraryIntoGraveControllerEffect.java index 3439ecdc07..3201296c84 100644 --- a/Mage/src/mage/abilities/effects/common/PutTopCardOfYourLibraryIntoGraveControllerEffect.java +++ b/Mage/src/mage/abilities/effects/common/PutTopCardOfLibraryIntoGraveControllerEffect.java @@ -42,24 +42,24 @@ import mage.util.CardUtil; * @author LevelX2 */ -public class PutTopCardOfYourLibraryIntoGraveControllerEffect extends OneShotEffect { +public class PutTopCardOfLibraryIntoGraveControllerEffect extends OneShotEffect { private final int numberCards; - public PutTopCardOfYourLibraryIntoGraveControllerEffect(int numberCards) { + public PutTopCardOfLibraryIntoGraveControllerEffect(int numberCards) { super(Outcome.Discard); this.numberCards = numberCards; this.staticText = setText(); } - public PutTopCardOfYourLibraryIntoGraveControllerEffect(final PutTopCardOfYourLibraryIntoGraveControllerEffect effect) { + public PutTopCardOfLibraryIntoGraveControllerEffect(final PutTopCardOfLibraryIntoGraveControllerEffect effect) { super(effect); this.numberCards = effect.numberCards; } @Override - public PutTopCardOfYourLibraryIntoGraveControllerEffect copy() { - return new PutTopCardOfYourLibraryIntoGraveControllerEffect(this); + public PutTopCardOfLibraryIntoGraveControllerEffect copy() { + return new PutTopCardOfLibraryIntoGraveControllerEffect(this); } @Override diff --git a/Mage/src/mage/abilities/effects/common/PutTopCardOfYourLibraryIntoGraveEachPlayerEffect.java b/Mage/src/mage/abilities/effects/common/PutTopCardOfLibraryIntoGraveEachPlayerEffect.java similarity index 88% rename from Mage/src/mage/abilities/effects/common/PutTopCardOfYourLibraryIntoGraveEachPlayerEffect.java rename to Mage/src/mage/abilities/effects/common/PutTopCardOfLibraryIntoGraveEachPlayerEffect.java index f3d6e6685f..6bf81b727a 100644 --- a/Mage/src/mage/abilities/effects/common/PutTopCardOfYourLibraryIntoGraveEachPlayerEffect.java +++ b/Mage/src/mage/abilities/effects/common/PutTopCardOfLibraryIntoGraveEachPlayerEffect.java @@ -44,27 +44,27 @@ import mage.util.CardUtil; * @author LevelX2 */ -public class PutTopCardOfYourLibraryIntoGraveEachPlayerEffect extends OneShotEffect { +public class PutTopCardOfLibraryIntoGraveEachPlayerEffect extends OneShotEffect { private final int numberCards; private final TargetController targetController; - public PutTopCardOfYourLibraryIntoGraveEachPlayerEffect(int numberCards, TargetController targetController) { + public PutTopCardOfLibraryIntoGraveEachPlayerEffect(int numberCards, TargetController targetController) { super(Outcome.Discard); this.numberCards = numberCards; this.targetController = targetController; this.staticText = setText(); } - public PutTopCardOfYourLibraryIntoGraveEachPlayerEffect(final PutTopCardOfYourLibraryIntoGraveEachPlayerEffect effect) { + public PutTopCardOfLibraryIntoGraveEachPlayerEffect(final PutTopCardOfLibraryIntoGraveEachPlayerEffect effect) { super(effect); this.numberCards = effect.numberCards; this.targetController = effect.targetController; } @Override - public PutTopCardOfYourLibraryIntoGraveEachPlayerEffect copy() { - return new PutTopCardOfYourLibraryIntoGraveEachPlayerEffect(this); + public PutTopCardOfLibraryIntoGraveEachPlayerEffect copy() { + return new PutTopCardOfLibraryIntoGraveEachPlayerEffect(this); } @Override diff --git a/Mage/src/mage/abilities/effects/common/PutTopCardOfTargetPlayerLibraryIntoGraveEffect.java b/Mage/src/mage/abilities/effects/common/PutTopCardOfLibraryIntoGraveTargetEffect.java similarity index 83% rename from Mage/src/mage/abilities/effects/common/PutTopCardOfTargetPlayerLibraryIntoGraveEffect.java rename to Mage/src/mage/abilities/effects/common/PutTopCardOfLibraryIntoGraveTargetEffect.java index 4260537f69..15e46a1dfe 100644 --- a/Mage/src/mage/abilities/effects/common/PutTopCardOfTargetPlayerLibraryIntoGraveEffect.java +++ b/Mage/src/mage/abilities/effects/common/PutTopCardOfLibraryIntoGraveTargetEffect.java @@ -44,27 +44,27 @@ import mage.util.CardUtil; * @author LevelX2 */ -public class PutTopCardOfTargetPlayerLibraryIntoGraveEffect extends OneShotEffect { +public class PutTopCardOfLibraryIntoGraveTargetEffect extends OneShotEffect { private DynamicValue numberCards; - public PutTopCardOfTargetPlayerLibraryIntoGraveEffect(int numberCards) { + public PutTopCardOfLibraryIntoGraveTargetEffect(int numberCards) { this(new StaticValue(numberCards)); } - public PutTopCardOfTargetPlayerLibraryIntoGraveEffect(DynamicValue numberCards) { + public PutTopCardOfLibraryIntoGraveTargetEffect(DynamicValue numberCards) { super(Outcome.Discard); this.numberCards = numberCards; this.staticText = setText(); } - public PutTopCardOfTargetPlayerLibraryIntoGraveEffect(final PutTopCardOfTargetPlayerLibraryIntoGraveEffect effect) { + public PutTopCardOfLibraryIntoGraveTargetEffect(final PutTopCardOfLibraryIntoGraveTargetEffect effect) { super(effect); this.numberCards = effect.numberCards; } @Override - public PutTopCardOfTargetPlayerLibraryIntoGraveEffect copy() { - return new PutTopCardOfTargetPlayerLibraryIntoGraveEffect(this); + public PutTopCardOfLibraryIntoGraveTargetEffect copy() { + return new PutTopCardOfLibraryIntoGraveTargetEffect(this); } @Override