diff --git a/Mage.Sets/src/mage/cards/g/GaeasEmbrace.java b/Mage.Sets/src/mage/cards/g/GaeasEmbrace.java
index 030ac72c1c7..8c27da723c9 100644
--- a/Mage.Sets/src/mage/cards/g/GaeasEmbrace.java
+++ b/Mage.Sets/src/mage/cards/g/GaeasEmbrace.java
@@ -41,7 +41,7 @@ public final class GaeasEmbrace extends CardImpl {
ability.addEffect(effect);
this.addAbility(ability);
// {G}: Regenerate enchanted creature.
- this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new RegenerateAttachedEffect(AttachmentType.AURA), new ColoredManaCost(ColoredManaSymbol.G)));
+ this.addAbility(new SimpleActivatedAbility(new RegenerateAttachedEffect(AttachmentType.AURA), new ColoredManaCost(ColoredManaSymbol.G)));
}
private GaeasEmbrace(final GaeasEmbrace card) {
diff --git a/Mage.Sets/src/mage/cards/g/GalecasterColossus.java b/Mage.Sets/src/mage/cards/g/GalecasterColossus.java
index 9d909401eb4..2d712bbad85 100644
--- a/Mage.Sets/src/mage/cards/g/GalecasterColossus.java
+++ b/Mage.Sets/src/mage/cards/g/GalecasterColossus.java
@@ -43,7 +43,7 @@ public final class GalecasterColossus extends CardImpl {
this.toughness = new MageInt(6);
// Tap an untapped Wizard you control: Return target nonland permanent you don't control to its owner's hand.
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new ReturnToHandTargetEffect(), new TapTargetCost(new TargetControlledPermanent(1, 1, filter2, true)));
+ Ability ability = new SimpleActivatedAbility(new ReturnToHandTargetEffect(), new TapTargetCost(new TargetControlledPermanent(1, 1, filter2, true)));
ability.addTarget(new TargetNonlandPermanent(filter));
this.addAbility(ability);
}
diff --git a/Mage.Sets/src/mage/cards/g/GallowsAtWillowHill.java b/Mage.Sets/src/mage/cards/g/GallowsAtWillowHill.java
index 2b7f676589a..f7632b69f8f 100644
--- a/Mage.Sets/src/mage/cards/g/GallowsAtWillowHill.java
+++ b/Mage.Sets/src/mage/cards/g/GallowsAtWillowHill.java
@@ -37,7 +37,7 @@ public final class GallowsAtWillowHill extends CardImpl {
super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT}, "{3}");
// {3}, {tap}, Tap three untapped Humans you control: Destroy target creature. Its controller creates a 1/1 white Spirit creature token with flying.
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DestroyTargetEffect(), new GenericManaCost(3));
+ Ability ability = new SimpleActivatedAbility(new DestroyTargetEffect(), new GenericManaCost(3));
ability.addEffect(new CreateTokenControllerTargetEffect(new SpiritWhiteToken()));
ability.addCost(new TapSourceCost());
ability.addCost(new TapTargetCost(new TargetControlledPermanent(3, 3, humanFilter, false)));
@@ -53,4 +53,4 @@ public final class GallowsAtWillowHill extends CardImpl {
public GallowsAtWillowHill copy() {
return new GallowsAtWillowHill(this);
}
-}
\ No newline at end of file
+}
diff --git a/Mage.Sets/src/mage/cards/g/GalvanicAlchemist.java b/Mage.Sets/src/mage/cards/g/GalvanicAlchemist.java
index 64685afe7ff..33273e6a5d1 100644
--- a/Mage.Sets/src/mage/cards/g/GalvanicAlchemist.java
+++ b/Mage.Sets/src/mage/cards/g/GalvanicAlchemist.java
@@ -35,7 +35,7 @@ public final class GalvanicAlchemist extends CardImpl {
this.addAbility(new SoulbondAbility());
// As long as Galvanic Alchemist is paired with another creature, each of those creatures has "{2}{U}: Untap this creature."
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new UntapSourceEffect(), new ManaCostsImpl<>("{2}{U}"));
+ Ability ability = new SimpleActivatedAbility(new UntapSourceEffect(), new ManaCostsImpl<>("{2}{U}"));
this.addAbility(new SimpleStaticAbility(new GainAbilityPairedEffect(ability, ruleText)));
}
diff --git a/Mage.Sets/src/mage/cards/g/GalvanicKey.java b/Mage.Sets/src/mage/cards/g/GalvanicKey.java
index d24abe458b9..2c9cf27732c 100644
--- a/Mage.Sets/src/mage/cards/g/GalvanicKey.java
+++ b/Mage.Sets/src/mage/cards/g/GalvanicKey.java
@@ -30,7 +30,7 @@ public final class GalvanicKey extends CardImpl {
public GalvanicKey(UUID ownerId, CardSetInfo setInfo) {
super(ownerId,setInfo,new CardType[]{CardType.ARTIFACT},"{2}");
this.addAbility(FlashAbility.getInstance());
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new UntapTargetEffect(), new GenericManaCost(3));
+ Ability ability = new SimpleActivatedAbility(new UntapTargetEffect(), new GenericManaCost(3));
ability.addCost(new TapSourceCost());
ability.addTarget(new TargetPermanent(filter));
this.addAbility(ability);
diff --git a/Mage.Sets/src/mage/cards/g/GangrenousZombies.java b/Mage.Sets/src/mage/cards/g/GangrenousZombies.java
index bd9d5102ee4..a0d0bba5c9c 100644
--- a/Mage.Sets/src/mage/cards/g/GangrenousZombies.java
+++ b/Mage.Sets/src/mage/cards/g/GangrenousZombies.java
@@ -40,7 +40,7 @@ public final class GangrenousZombies extends CardImpl {
this.toughness = new MageInt(2);
// {T}, Sacrifice Gangrenous Zombies: Gangrenous Zombies deals 1 damage to each creature and each player. If you control a snow Swamp, Gangrenous Zombies deals 2 damage to each creature and each player instead.
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new ConditionalOneShotEffect(
+ Ability ability = new SimpleActivatedAbility(new ConditionalOneShotEffect(
new DamageEverythingEffect(2),
new DamageEverythingEffect(1),
new PermanentsOnTheBattlefieldCondition(filter),
diff --git a/Mage.Sets/src/mage/cards/g/GargantuanGorilla.java b/Mage.Sets/src/mage/cards/g/GargantuanGorilla.java
index 90d40adfae4..b7f752ece69 100644
--- a/Mage.Sets/src/mage/cards/g/GargantuanGorilla.java
+++ b/Mage.Sets/src/mage/cards/g/GargantuanGorilla.java
@@ -39,7 +39,7 @@ public final class GargantuanGorilla extends CardImpl {
this.addAbility(new BeginningOfUpkeepTriggeredAbility(new GargantuanGorillaSacrificeEffect()));
// {T}: Gargantuan Gorilla deals damage equal to its power to another target creature. That creature deals damage equal to its power to Gargantuan Gorilla.
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new GargantuanGorillaFightEffect(), new TapSourceCost());
+ Ability ability = new SimpleActivatedAbility(new GargantuanGorillaFightEffect(), new TapSourceCost());
FilterCreaturePermanent filter = new FilterCreaturePermanent();
filter.add(AnotherPredicate.instance);
ability.addTarget(new TargetCreaturePermanent(filter));
diff --git a/Mage.Sets/src/mage/cards/g/GarzasAssassin.java b/Mage.Sets/src/mage/cards/g/GarzasAssassin.java
index 79bca77865a..d2edccf206b 100644
--- a/Mage.Sets/src/mage/cards/g/GarzasAssassin.java
+++ b/Mage.Sets/src/mage/cards/g/GarzasAssassin.java
@@ -36,7 +36,7 @@ public final class GarzasAssassin extends CardImpl {
this.toughness = new MageInt(2);
// Sacrifice Garza's Assassin: Destroy target nonblack creature.
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DestroyTargetEffect(), new SacrificeSourceCost());
+ Ability ability = new SimpleActivatedAbility(new DestroyTargetEffect(), new SacrificeSourceCost());
ability.addTarget(new TargetCreaturePermanent(StaticFilters.FILTER_PERMANENT_CREATURE_NON_BLACK));
this.addAbility(ability);
diff --git a/Mage.Sets/src/mage/cards/g/GatewayShade.java b/Mage.Sets/src/mage/cards/g/GatewayShade.java
index 73820cf6257..305f9b3b47a 100644
--- a/Mage.Sets/src/mage/cards/g/GatewayShade.java
+++ b/Mage.Sets/src/mage/cards/g/GatewayShade.java
@@ -37,10 +37,10 @@ public final class GatewayShade extends CardImpl {
this.toughness = new MageInt(1);
// {B}: Gateway Shade gets +1/+1 until end of turn.
- this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostSourceEffect(1,1, Duration.EndOfTurn),new ManaCostsImpl<>("{B}")));
+ this.addAbility(new SimpleActivatedAbility(new BoostSourceEffect(1,1, Duration.EndOfTurn),new ManaCostsImpl<>("{B}")));
// Tap an untapped Gate you control: Gateway Shade gets +2/+2 until end of turn.
- this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostSourceEffect(2,2, Duration.EndOfTurn),new TapTargetCost(new TargetControlledPermanent(1,1,filter, true))));
+ this.addAbility(new SimpleActivatedAbility(new BoostSourceEffect(2,2, Duration.EndOfTurn),new TapTargetCost(new TargetControlledPermanent(1,1,filter, true))));
}
diff --git a/Mage.Sets/src/mage/cards/g/GathererOfGraces.java b/Mage.Sets/src/mage/cards/g/GathererOfGraces.java
index 01557edbd57..375677d93ce 100644
--- a/Mage.Sets/src/mage/cards/g/GathererOfGraces.java
+++ b/Mage.Sets/src/mage/cards/g/GathererOfGraces.java
@@ -42,7 +42,7 @@ public final class GathererOfGraces extends CardImpl {
this.addAbility(new SimpleStaticAbility(new BoostSourceEffect(count, count, Duration.WhileOnBattlefield)));
// Sacrifice an Aura: Regenerate Gatherer of Graces
- this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new RegenerateSourceEffect(), new SacrificeTargetCost(filter)));
+ this.addAbility(new SimpleActivatedAbility(new RegenerateSourceEffect(), new SacrificeTargetCost(filter)));
}
private GathererOfGraces(final GathererOfGraces gathererOfGraces) {
diff --git a/Mage.Sets/src/mage/cards/g/GauntletsOfChaos.java b/Mage.Sets/src/mage/cards/g/GauntletsOfChaos.java
index 44159bb8783..049d1ebeb74 100644
--- a/Mage.Sets/src/mage/cards/g/GauntletsOfChaos.java
+++ b/Mage.Sets/src/mage/cards/g/GauntletsOfChaos.java
@@ -31,7 +31,7 @@ public final class GauntletsOfChaos extends CardImpl {
super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT}, "{5}");
// {5}, Sacrifice Gauntlets of Chaos: Exchange control of target artifact, creature, or land you control and target permanent an opponent controls that shares one of those types with it. If those permanents are exchanged this way, destroy all Auras attached to them.
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new ExchangeControlTargetEffect(Duration.EndOfGame,
+ Ability ability = new SimpleActivatedAbility(new ExchangeControlTargetEffect(Duration.EndOfGame,
"exchange control of target artifact, creature, or land you control and target permanent an opponent controls that shares one of those types with it."
+ " If those permanents are exchanged this way, destroy all Auras attached to them", false, true, true),
new ManaCostsImpl<>("{5}")
diff --git a/Mage.Sets/src/mage/cards/g/GavonyTownship.java b/Mage.Sets/src/mage/cards/g/GavonyTownship.java
index 953899f3465..2d6e43eae3d 100644
--- a/Mage.Sets/src/mage/cards/g/GavonyTownship.java
+++ b/Mage.Sets/src/mage/cards/g/GavonyTownship.java
@@ -23,7 +23,7 @@ public final class GavonyTownship extends CardImpl {
this.addAbility(new ColorlessManaAbility());
// {2}{G}{W}, {T}: Put a +1/+1 counter on each creature you control.
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new AddCountersAllEffect(CounterType.P1P1.createInstance(), StaticFilters.FILTER_PERMANENT_CREATURE_CONTROLLED), new ManaCostsImpl<>("{2}{G}{W}"));
+ Ability ability = new SimpleActivatedAbility(new AddCountersAllEffect(CounterType.P1P1.createInstance(), StaticFilters.FILTER_PERMANENT_CREATURE_CONTROLLED), new ManaCostsImpl<>("{2}{G}{W}"));
ability.addCost(new TapSourceCost());
this.addAbility(ability);
}
diff --git a/Mage.Sets/src/mage/cards/g/GeierReachSanitarium.java b/Mage.Sets/src/mage/cards/g/GeierReachSanitarium.java
index bd816fe044a..2e1734db849 100644
--- a/Mage.Sets/src/mage/cards/g/GeierReachSanitarium.java
+++ b/Mage.Sets/src/mage/cards/g/GeierReachSanitarium.java
@@ -30,7 +30,7 @@ public final class GeierReachSanitarium extends CardImpl {
this.addAbility(new ColorlessManaAbility());
// {2}, {T}: Each player draws a card, then discards a card.
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DrawCardAllEffect(1), new GenericManaCost(2));
+ Ability ability = new SimpleActivatedAbility(new DrawCardAllEffect(1), new GenericManaCost(2));
Effect effect = new DiscardEachPlayerEffect();
effect.setText(", then discards a card");
ability.addEffect(effect);
diff --git a/Mage.Sets/src/mage/cards/g/Gelectrode.java b/Mage.Sets/src/mage/cards/g/Gelectrode.java
index ae7f7176272..cf33208d2b4 100644
--- a/Mage.Sets/src/mage/cards/g/Gelectrode.java
+++ b/Mage.Sets/src/mage/cards/g/Gelectrode.java
@@ -29,7 +29,7 @@ public final class Gelectrode extends CardImpl {
this.power = new MageInt(0);
this.toughness = new MageInt(1);
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(1), new TapSourceCost());
+ Ability ability = new SimpleActivatedAbility(new DamageTargetEffect(1), new TapSourceCost());
ability.addTarget(new TargetAnyTarget());
this.addAbility(ability);
this.addAbility(new SpellCastControllerTriggeredAbility(new UntapSourceEffect(), new FilterInstantOrSorcerySpell("an instant or sorcery spell"), true));
diff --git a/Mage.Sets/src/mage/cards/g/GelidShackles.java b/Mage.Sets/src/mage/cards/g/GelidShackles.java
index aa62c4a9859..d91d667f175 100644
--- a/Mage.Sets/src/mage/cards/g/GelidShackles.java
+++ b/Mage.Sets/src/mage/cards/g/GelidShackles.java
@@ -39,7 +39,7 @@ public final class GelidShackles extends CardImpl {
this.addAbility(new SimpleStaticAbility(new CantBlockActivateAttachedEffect()));
// {snow}: Enchanted creature gains defender until end of turn.
- this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new GainAbilityAttachedEffect(DefenderAbility.getInstance(),
+ this.addAbility(new SimpleActivatedAbility(new GainAbilityAttachedEffect(DefenderAbility.getInstance(),
AttachmentType.AURA, Duration.EndOfTurn), new ManaCostsImpl<>("{S}")));
}
diff --git a/Mage.Sets/src/mage/cards/g/GemstoneArray.java b/Mage.Sets/src/mage/cards/g/GemstoneArray.java
index c030b122f53..472ece6bef0 100644
--- a/Mage.Sets/src/mage/cards/g/GemstoneArray.java
+++ b/Mage.Sets/src/mage/cards/g/GemstoneArray.java
@@ -24,7 +24,7 @@ public final class GemstoneArray extends CardImpl {
super(ownerId,setInfo,new CardType[]{CardType.ARTIFACT},"{4}");
// {2}: Put a charge counter on Gemstone Array.
- this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new AddCountersSourceEffect(CounterType.CHARGE.createInstance(1)), new ManaCostsImpl<>("{2}")));
+ this.addAbility(new SimpleActivatedAbility(new AddCountersSourceEffect(CounterType.CHARGE.createInstance(1)), new ManaCostsImpl<>("{2}")));
// Remove a charge counter from Gemstone Array: Add one mana of any color.
this.addAbility(new AnyColorManaAbility(new RemoveCountersSourceCost(CounterType.CHARGE.createInstance(1)),
new CountersSourceCount(CounterType.CHARGE), false));
diff --git a/Mage.Sets/src/mage/cards/g/GeneralGrievous.java b/Mage.Sets/src/mage/cards/g/GeneralGrievous.java
index 1bac0f584d9..18b2a18e180 100644
--- a/Mage.Sets/src/mage/cards/g/GeneralGrievous.java
+++ b/Mage.Sets/src/mage/cards/g/GeneralGrievous.java
@@ -37,7 +37,7 @@ public final class GeneralGrievous extends CardImpl {
this.addAbility(new DiesCreatureTriggeredAbility(new AddCountersSourceEffect(CounterType.P1P1.createInstance()), true, true));
// Remove two +1/+1 counters from General Grievous: Return General Grievous to its owner's hand.
- this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new ReturnToHandSourceEffect(), new RemoveCountersSourceCost(CounterType.P1P1.createInstance(2))));
+ this.addAbility(new SimpleActivatedAbility(new ReturnToHandSourceEffect(), new RemoveCountersSourceCost(CounterType.P1P1.createInstance(2))));
}
private GeneralGrievous(final GeneralGrievous card) {
diff --git a/Mage.Sets/src/mage/cards/g/GeneralsRegalia.java b/Mage.Sets/src/mage/cards/g/GeneralsRegalia.java
index faceffa370e..72f6ae43132 100644
--- a/Mage.Sets/src/mage/cards/g/GeneralsRegalia.java
+++ b/Mage.Sets/src/mage/cards/g/GeneralsRegalia.java
@@ -30,7 +30,7 @@ public final class GeneralsRegalia extends CardImpl {
super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT}, "{3}");
// {3}: The next time a source of your choice would deal damage to you this turn, that damage is dealt to target creature you control instead.
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new GeneralsRegaliaEffect(), new GenericManaCost(3));
+ Ability ability = new SimpleActivatedAbility(new GeneralsRegaliaEffect(), new GenericManaCost(3));
ability.addTarget(new TargetControlledCreaturePermanent());
this.addAbility(ability);
}
diff --git a/Mage.Sets/src/mage/cards/g/GenjuOfTheCedars.java b/Mage.Sets/src/mage/cards/g/GenjuOfTheCedars.java
index 82a6202740d..b461656469a 100644
--- a/Mage.Sets/src/mage/cards/g/GenjuOfTheCedars.java
+++ b/Mage.Sets/src/mage/cards/g/GenjuOfTheCedars.java
@@ -40,7 +40,7 @@ public final class GenjuOfTheCedars extends CardImpl {
this.addAbility(ability);
// {2}: Enchanted Forest becomes a 4/4 green Spirit creature until end of turn. It's still a land.
- Ability ability2 = new SimpleActivatedAbility(Zone.BATTLEFIELD, new BecomesCreatureAttachedWithActivatedAbilityOrSpellEffect(new SpiritToken(), "Enchanted Forest becomes a 4/4 green Spirit creature until end of turn. It's still a land", Duration.EndOfTurn), new GenericManaCost(2));
+ Ability ability2 = new SimpleActivatedAbility(new BecomesCreatureAttachedWithActivatedAbilityOrSpellEffect(new SpiritToken(), "Enchanted Forest becomes a 4/4 green Spirit creature until end of turn. It's still a land", Duration.EndOfTurn), new GenericManaCost(2));
this.addAbility(ability2);
// When enchanted Forest is put into a graveyard, you may return Genju of the Cedars from your graveyard to your hand.
diff --git a/Mage.Sets/src/mage/cards/g/GenjuOfTheFalls.java b/Mage.Sets/src/mage/cards/g/GenjuOfTheFalls.java
index a2f03443b44..6068e52e51e 100644
--- a/Mage.Sets/src/mage/cards/g/GenjuOfTheFalls.java
+++ b/Mage.Sets/src/mage/cards/g/GenjuOfTheFalls.java
@@ -41,7 +41,7 @@ public final class GenjuOfTheFalls extends CardImpl {
this.addAbility(ability);
// {2}: Enchanted Island becomes a 3/2 blue Spirit creature with flying until end of turn. It's still a land.
- Ability ability2 = new SimpleActivatedAbility(Zone.BATTLEFIELD, new BecomesCreatureAttachedWithActivatedAbilityOrSpellEffect(new SpiritToken(), "Enchanted Island becomes a 3/2 blue Spirit creature with flying until end of turn. It's still a land", Duration.EndOfTurn), new GenericManaCost(2));
+ Ability ability2 = new SimpleActivatedAbility(new BecomesCreatureAttachedWithActivatedAbilityOrSpellEffect(new SpiritToken(), "Enchanted Island becomes a 3/2 blue Spirit creature with flying until end of turn. It's still a land", Duration.EndOfTurn), new GenericManaCost(2));
this.addAbility(ability2);
// When enchanted Island is put into a graveyard, you may return Genju of the Falls from your graveyard to your hand. TargetPermanent auraTarget = new TargetLandPermanent(filter);
diff --git a/Mage.Sets/src/mage/cards/g/GenjuOfTheFens.java b/Mage.Sets/src/mage/cards/g/GenjuOfTheFens.java
index be13eff56c8..c4df15c0a11 100644
--- a/Mage.Sets/src/mage/cards/g/GenjuOfTheFens.java
+++ b/Mage.Sets/src/mage/cards/g/GenjuOfTheFens.java
@@ -42,7 +42,7 @@ public final class GenjuOfTheFens extends CardImpl {
this.addAbility(ability);
// {2}: Until end of turn, enchanted Swamp becomes a 2/2 black Spirit creature with "{B}: This creature gets +1/+1 until end of turn." It's still a land.
- Ability ability2 = new SimpleActivatedAbility(Zone.BATTLEFIELD, new BecomesCreatureAttachedWithActivatedAbilityOrSpellEffect(new SpiritToken(), "Until end of turn, enchanted Swamp becomes a 2/2 black Spirit creature with \"{B}: This creature gets +1/+1 until end of turn.\" It's still a land", Duration.EndOfTurn), new GenericManaCost(2));
+ Ability ability2 = new SimpleActivatedAbility(new BecomesCreatureAttachedWithActivatedAbilityOrSpellEffect(new SpiritToken(), "Until end of turn, enchanted Swamp becomes a 2/2 black Spirit creature with \"{B}: This creature gets +1/+1 until end of turn.\" It's still a land", Duration.EndOfTurn), new GenericManaCost(2));
this.addAbility(ability2);
// When enchanted Swamp is put into a graveyard, you may return Genju of the Fens from your graveyard to your hand.
@@ -70,7 +70,7 @@ public final class GenjuOfTheFens extends CardImpl {
subtype.add(SubType.SPIRIT);
power = new MageInt(2);
toughness = new MageInt(2);
- addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostSourceEffect(1, 1, Duration.EndOfTurn), new ManaCostsImpl<>("{B}")));
+ addAbility(new SimpleActivatedAbility(new BoostSourceEffect(1, 1, Duration.EndOfTurn), new ManaCostsImpl<>("{B}")));
}
private SpiritToken(final SpiritToken token) {
diff --git a/Mage.Sets/src/mage/cards/g/GenjuOfTheFields.java b/Mage.Sets/src/mage/cards/g/GenjuOfTheFields.java
index 8255af56c40..18551f9b1f2 100644
--- a/Mage.Sets/src/mage/cards/g/GenjuOfTheFields.java
+++ b/Mage.Sets/src/mage/cards/g/GenjuOfTheFields.java
@@ -44,7 +44,7 @@ public final class GenjuOfTheFields extends CardImpl {
// {2}: Until end of turn, enchanted Plains becomes a 2/5 white Spirit creature with "Whenever this creature deals damage, its controller gains that much life." It's still a land.
Effect effect = new BecomesCreatureAttachedWithActivatedAbilityOrSpellEffect(new SpiritToken(),
"Until end of turn, enchanted Plains becomes a 2/5 white Spirit creature", Duration.EndOfTurn);
- Ability ability2 = new SimpleActivatedAbility(Zone.BATTLEFIELD, effect, new GenericManaCost(2));
+ Ability ability2 = new SimpleActivatedAbility(effect, new GenericManaCost(2));
effect = new GainAbilityAttachedEffect(new DealsDamageGainLifeSourceTriggeredAbility(), AttachmentType.AURA, Duration.EndOfTurn);
effect.setText("with \"Whenever this creature deals damage, its controller gains that much life.\" It's still a land");
ability2.addEffect(effect);
diff --git a/Mage.Sets/src/mage/cards/g/GenjuOfTheRealm.java b/Mage.Sets/src/mage/cards/g/GenjuOfTheRealm.java
index 9899904b6a5..907b580e0da 100644
--- a/Mage.Sets/src/mage/cards/g/GenjuOfTheRealm.java
+++ b/Mage.Sets/src/mage/cards/g/GenjuOfTheRealm.java
@@ -39,7 +39,7 @@ public final class GenjuOfTheRealm extends CardImpl {
this.addAbility(ability);
// {2}: Enchanted land becomes a legendary 8/12 Spirit creature with trample until end of turn. It's still a land.
- Ability ability2 = new SimpleActivatedAbility(Zone.BATTLEFIELD, new BecomesCreatureAttachedWithActivatedAbilityOrSpellEffect(new SpiritToken(), "Enchanted land becomes a legendary 8/12 Spirit creature with trample until end of turn. It's still a land", Duration.EndOfTurn), new GenericManaCost(2));
+ Ability ability2 = new SimpleActivatedAbility(new BecomesCreatureAttachedWithActivatedAbilityOrSpellEffect(new SpiritToken(), "Enchanted land becomes a legendary 8/12 Spirit creature with trample until end of turn. It's still a land", Duration.EndOfTurn), new GenericManaCost(2));
this.addAbility(ability2);
// When enchanted land is put into a graveyard, you may return Genju of the Realm from your graveyard to your hand.
diff --git a/Mage.Sets/src/mage/cards/g/GenjuOfTheSpires.java b/Mage.Sets/src/mage/cards/g/GenjuOfTheSpires.java
index 90da2fa4708..5f37cf5ab32 100644
--- a/Mage.Sets/src/mage/cards/g/GenjuOfTheSpires.java
+++ b/Mage.Sets/src/mage/cards/g/GenjuOfTheSpires.java
@@ -40,7 +40,7 @@ public final class GenjuOfTheSpires extends CardImpl {
this.addAbility(ability);
// {2}: Enchanted Mountain becomes a 6/1 red Spirit creature until end of turn. It's still a land.
- Ability ability2 = new SimpleActivatedAbility(Zone.BATTLEFIELD, new BecomesCreatureAttachedWithActivatedAbilityOrSpellEffect(new SpiritToken(), "Enchanted Mountain becomes a 6/1 red Spirit creature until end of turn. It's still a land", Duration.EndOfTurn), new GenericManaCost(2));
+ Ability ability2 = new SimpleActivatedAbility(new BecomesCreatureAttachedWithActivatedAbilityOrSpellEffect(new SpiritToken(), "Enchanted Mountain becomes a 6/1 red Spirit creature until end of turn. It's still a land", Duration.EndOfTurn), new GenericManaCost(2));
this.addAbility(ability2);
// When enchanted Mountain is put into a graveyard, you may return Genju of the Spires from your graveyard to your hand.
diff --git a/Mage.Sets/src/mage/cards/g/GerrardsHourglassPendant.java b/Mage.Sets/src/mage/cards/g/GerrardsHourglassPendant.java
index e3692b6174f..4241d7d3f0b 100644
--- a/Mage.Sets/src/mage/cards/g/GerrardsHourglassPendant.java
+++ b/Mage.Sets/src/mage/cards/g/GerrardsHourglassPendant.java
@@ -37,7 +37,7 @@ public final class GerrardsHourglassPendant extends CardImpl {
// {4}, {T}, Exile Gerrard's Hourglass Pendant: Return to the battlefield tapped all artifact, creature,
// enchantment, and land cards in your graveyard that were put there from the battlefield this turn.
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new GerrardsHourglassPendantReanimateEffect(), new GenericManaCost(4));
+ Ability ability = new SimpleActivatedAbility(new GerrardsHourglassPendantReanimateEffect(), new GenericManaCost(4));
ability.addCost(new TapSourceCost());
ability.addCost(new ExileSourceCost());
ability.addWatcher(new CardsPutIntoGraveyardWatcher());
diff --git a/Mage.Sets/src/mage/cards/g/GethLordOfTheVault.java b/Mage.Sets/src/mage/cards/g/GethLordOfTheVault.java
index df613d1dec7..44db952a12f 100644
--- a/Mage.Sets/src/mage/cards/g/GethLordOfTheVault.java
+++ b/Mage.Sets/src/mage/cards/g/GethLordOfTheVault.java
@@ -46,7 +46,7 @@ public final class GethLordOfTheVault extends CardImpl {
this.addAbility(IntimidateAbility.getInstance());
// {X}{B}: Put target artifact or creature card with converted mana cost X from an opponent's graveyard onto the battlefield under your control tapped.
// Then that player puts the top X cards of their library into their graveyard.
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new GethLordOfTheVaultEffect(), new ManaCostsImpl<>("{X}{B}"));
+ Ability ability = new SimpleActivatedAbility(new GethLordOfTheVaultEffect(), new ManaCostsImpl<>("{X}{B}"));
ability.addTarget(new TargetCardInGraveyard(filter));
ability.setTargetAdjuster(new XManaValueTargetAdjuster());
this.addAbility(ability);
diff --git a/Mage.Sets/src/mage/cards/g/GhaveGuruOfSpores.java b/Mage.Sets/src/mage/cards/g/GhaveGuruOfSpores.java
index 8b4e1836437..7a6e8a55784 100644
--- a/Mage.Sets/src/mage/cards/g/GhaveGuruOfSpores.java
+++ b/Mage.Sets/src/mage/cards/g/GhaveGuruOfSpores.java
@@ -43,12 +43,12 @@ public final class GhaveGuruOfSpores extends CardImpl {
this.addAbility(new EntersBattlefieldAbility(new AddCountersSourceEffect(CounterType.P1P1.createInstance(5)), "with five +1/+1 counters on it"));
// {1}, Remove a +1/+1 counter from a creature you control: Create a 1/1 green Saproling creature token.
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new CreateTokenEffect(new SaprolingToken()), new GenericManaCost(1));
+ Ability ability = new SimpleActivatedAbility(new CreateTokenEffect(new SaprolingToken()), new GenericManaCost(1));
ability.addCost(new RemoveCounterCost(new TargetControlledCreaturePermanent().withNotTarget(true), CounterType.P1P1));
this.addAbility(ability);
// {1}, Sacrifice a creature: Put a +1/+1 counter on target creature.
- Ability ability2 = new SimpleActivatedAbility(Zone.BATTLEFIELD, new AddCountersTargetEffect(CounterType.P1P1.createInstance()), new GenericManaCost(1));
+ Ability ability2 = new SimpleActivatedAbility(new AddCountersTargetEffect(CounterType.P1P1.createInstance()), new GenericManaCost(1));
ability2.addCost(new SacrificeTargetCost(StaticFilters.FILTER_PERMANENT_CREATURE));
ability2.addTarget(new TargetCreaturePermanent());
this.addAbility(ability2);
diff --git a/Mage.Sets/src/mage/cards/g/GhituFireEater.java b/Mage.Sets/src/mage/cards/g/GhituFireEater.java
index 834fcc1b62c..3d028a4bbfd 100644
--- a/Mage.Sets/src/mage/cards/g/GhituFireEater.java
+++ b/Mage.Sets/src/mage/cards/g/GhituFireEater.java
@@ -31,7 +31,7 @@ public final class GhituFireEater extends CardImpl {
this.toughness = new MageInt(2);
// {T}, Sacrifice Ghitu Fire-Eater: Ghitu Fire-Eater deals damage equal to its power to any target.
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(SourcePermanentPowerValue.NOT_NEGATIVE)
+ Ability ability = new SimpleActivatedAbility(new DamageTargetEffect(SourcePermanentPowerValue.NOT_NEGATIVE)
.setText("it deals damage equal to its power to any target"), new TapSourceCost());
ability.addCost(new SacrificeSourceCost());
ability.addTarget(new TargetAnyTarget());
diff --git a/Mage.Sets/src/mage/cards/g/GhituFirebreathing.java b/Mage.Sets/src/mage/cards/g/GhituFirebreathing.java
index 675e36c4dee..f129b6226c1 100644
--- a/Mage.Sets/src/mage/cards/g/GhituFirebreathing.java
+++ b/Mage.Sets/src/mage/cards/g/GhituFirebreathing.java
@@ -38,10 +38,10 @@ public final class GhituFirebreathing extends CardImpl {
this.addAbility(ability);
// {R}: Enchanted creature gets +1/+0 until end of turn.
- this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostEnchantedEffect(1, 0, Duration.EndOfTurn), new ColoredManaCost(ColoredManaSymbol.R)));
+ this.addAbility(new SimpleActivatedAbility(new BoostEnchantedEffect(1, 0, Duration.EndOfTurn), new ColoredManaCost(ColoredManaSymbol.R)));
// {R}: Return Ghitu Firebreathing to its owner's hand.
- this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new ReturnToHandSourceEffect(), new ManaCostsImpl<>("{R}")));
+ this.addAbility(new SimpleActivatedAbility(new ReturnToHandSourceEffect(), new ManaCostsImpl<>("{R}")));
}
private GhituFirebreathing(final GhituFirebreathing card) {
diff --git a/Mage.Sets/src/mage/cards/g/GhituWarCry.java b/Mage.Sets/src/mage/cards/g/GhituWarCry.java
index ded5b6ca61a..eabb79238ba 100644
--- a/Mage.Sets/src/mage/cards/g/GhituWarCry.java
+++ b/Mage.Sets/src/mage/cards/g/GhituWarCry.java
@@ -24,7 +24,7 @@ public final class GhituWarCry extends CardImpl {
// {R}: Target creature gets +1/+0 until end of turn.
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostTargetEffect(1, 0, Duration.EndOfTurn), new ManaCostsImpl<>("{R}"));
+ Ability ability = new SimpleActivatedAbility(new BoostTargetEffect(1, 0, Duration.EndOfTurn), new ManaCostsImpl<>("{R}"));
ability.addTarget(new TargetCreaturePermanent());
this.addAbility(ability);
}
diff --git a/Mage.Sets/src/mage/cards/g/GhostLitNourisher.java b/Mage.Sets/src/mage/cards/g/GhostLitNourisher.java
index 0bf904bad17..d09a990655a 100644
--- a/Mage.Sets/src/mage/cards/g/GhostLitNourisher.java
+++ b/Mage.Sets/src/mage/cards/g/GhostLitNourisher.java
@@ -31,7 +31,7 @@ public final class GhostLitNourisher extends CardImpl {
this.toughness = new MageInt(1);
// {2}{G}, {tap}: Target creature gets +2/+2 until end of turn.
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostTargetEffect(2, 2, Duration.EndOfTurn), new ManaCostsImpl<>("{2}{G}"));
+ Ability ability = new SimpleActivatedAbility(new BoostTargetEffect(2, 2, Duration.EndOfTurn), new ManaCostsImpl<>("{2}{G}"));
ability.addCost(new TapSourceCost());
ability.addTarget(new TargetCreaturePermanent());
this.addAbility(ability);
diff --git a/Mage.Sets/src/mage/cards/g/GhostLitRaider.java b/Mage.Sets/src/mage/cards/g/GhostLitRaider.java
index 1f4b8146b4e..b5e8c200400 100644
--- a/Mage.Sets/src/mage/cards/g/GhostLitRaider.java
+++ b/Mage.Sets/src/mage/cards/g/GhostLitRaider.java
@@ -30,7 +30,7 @@ public final class GhostLitRaider extends CardImpl {
this.toughness = new MageInt(1);
// {2}{R}, {tap}: Ghost-Lit Raider deals 2 damage to target creature.
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(2), new ManaCostsImpl<>("{2}{R}"));
+ Ability ability = new SimpleActivatedAbility(new DamageTargetEffect(2), new ManaCostsImpl<>("{2}{R}"));
ability.addCost(new TapSourceCost());
ability.addTarget(new TargetCreaturePermanent());
this.addAbility(ability);
diff --git a/Mage.Sets/src/mage/cards/g/GhostLitRedeemer.java b/Mage.Sets/src/mage/cards/g/GhostLitRedeemer.java
index e9d898420f9..d89846fc146 100644
--- a/Mage.Sets/src/mage/cards/g/GhostLitRedeemer.java
+++ b/Mage.Sets/src/mage/cards/g/GhostLitRedeemer.java
@@ -29,7 +29,7 @@ public final class GhostLitRedeemer extends CardImpl {
this.toughness = new MageInt(1);
// {W}, {tap}: You gain 2 life.
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new GainLifeEffect(2), new ManaCostsImpl<>("{W}"));
+ Ability ability = new SimpleActivatedAbility(new GainLifeEffect(2), new ManaCostsImpl<>("{W}"));
ability.addCost(new TapSourceCost());
this.addAbility(ability);
// Channel - {1}{W}, Discard Ghost-Lit Redeemer: You gain 4 life.
diff --git a/Mage.Sets/src/mage/cards/g/GhostLitWarder.java b/Mage.Sets/src/mage/cards/g/GhostLitWarder.java
index 3bbce4acea6..1071d2b52ff 100644
--- a/Mage.Sets/src/mage/cards/g/GhostLitWarder.java
+++ b/Mage.Sets/src/mage/cards/g/GhostLitWarder.java
@@ -30,7 +30,7 @@ public final class GhostLitWarder extends CardImpl {
this.toughness = new MageInt(1);
// {3}{U}, {tap}: Counter target spell unless its controller pays {2}.
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new CounterUnlessPaysEffect(new ManaCostsImpl<>("{2}")), new ManaCostsImpl<>("{3}{U}"));
+ Ability ability = new SimpleActivatedAbility(new CounterUnlessPaysEffect(new ManaCostsImpl<>("{2}")), new ManaCostsImpl<>("{3}{U}"));
ability.addCost(new TapSourceCost());
ability.addTarget(new TargetSpell());
this.addAbility(ability);
diff --git a/Mage.Sets/src/mage/cards/g/GhostShip.java b/Mage.Sets/src/mage/cards/g/GhostShip.java
index 030be317805..246d3ab2e01 100644
--- a/Mage.Sets/src/mage/cards/g/GhostShip.java
+++ b/Mage.Sets/src/mage/cards/g/GhostShip.java
@@ -30,7 +30,7 @@ public final class GhostShip extends CardImpl {
// Flying
this.addAbility(FlyingAbility.getInstance());
// {U}{U}{U}: Regenerate Ghost Ship.
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new RegenerateSourceEffect(), new ManaCostsImpl<>("{U}{U}{U}"));
+ Ability ability = new SimpleActivatedAbility(new RegenerateSourceEffect(), new ManaCostsImpl<>("{U}{U}{U}"));
this.addAbility(ability);
}
diff --git a/Mage.Sets/src/mage/cards/g/GhostWarden.java b/Mage.Sets/src/mage/cards/g/GhostWarden.java
index 0999cb74824..26f61ec05d6 100644
--- a/Mage.Sets/src/mage/cards/g/GhostWarden.java
+++ b/Mage.Sets/src/mage/cards/g/GhostWarden.java
@@ -27,7 +27,7 @@ public final class GhostWarden extends CardImpl {
this.power = new MageInt(1);
this.toughness = new MageInt(1);
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostTargetEffect(1, 1, Duration.EndOfTurn), new TapSourceCost());
+ Ability ability = new SimpleActivatedAbility(new BoostTargetEffect(1, 1, Duration.EndOfTurn), new TapSourceCost());
ability.addTarget(new TargetCreaturePermanent());
this.addAbility(ability);
}
diff --git a/Mage.Sets/src/mage/cards/g/GhosthelmCourier.java b/Mage.Sets/src/mage/cards/g/GhosthelmCourier.java
index 93fd64fdeaf..444545774e2 100644
--- a/Mage.Sets/src/mage/cards/g/GhosthelmCourier.java
+++ b/Mage.Sets/src/mage/cards/g/GhosthelmCourier.java
@@ -44,7 +44,7 @@ public final class GhosthelmCourier extends CardImpl {
// You may choose not to untap Ghosthelm Courier during your untap step.
this.addAbility(new SkipUntapOptionalAbility());
// {2}{U}, {tap}: Target Wizard creature gets +2/+2 and has shroud for as long as Ghosthelm Courier remains tapped.
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new ConditionalContinuousEffect(
+ Ability ability = new SimpleActivatedAbility(new ConditionalContinuousEffect(
new BoostTargetEffect(2, 2, Duration.Custom), SourceTappedCondition.TAPPED,
"target Wizard creature gets +2/+2"), new ManaCostsImpl<>("{2}{U}"));
ability.addEffect(new ConditionalContinuousEffect(new GainAbilityTargetEffect(ShroudAbility.getInstance(),
diff --git a/Mage.Sets/src/mage/cards/g/GhostlyChangeling.java b/Mage.Sets/src/mage/cards/g/GhostlyChangeling.java
index ca691cfed28..dcb92e9f9d2 100644
--- a/Mage.Sets/src/mage/cards/g/GhostlyChangeling.java
+++ b/Mage.Sets/src/mage/cards/g/GhostlyChangeling.java
@@ -27,7 +27,7 @@ public final class GhostlyChangeling extends CardImpl {
this.power = new MageInt(2);
this.toughness = new MageInt(2);
this.addAbility(new ChangelingAbility());
- this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostSourceEffect(1, 1, Duration.EndOfTurn), new ManaCostsImpl<>("{1}{B}")));
+ this.addAbility(new SimpleActivatedAbility(new BoostSourceEffect(1, 1, Duration.EndOfTurn), new ManaCostsImpl<>("{1}{B}")));
}
private GhostlyChangeling(final GhostlyChangeling card) {
diff --git a/Mage.Sets/src/mage/cards/g/GhostlyWings.java b/Mage.Sets/src/mage/cards/g/GhostlyWings.java
index b82e436c75f..c1851fd6e7e 100644
--- a/Mage.Sets/src/mage/cards/g/GhostlyWings.java
+++ b/Mage.Sets/src/mage/cards/g/GhostlyWings.java
@@ -48,7 +48,7 @@ public final class GhostlyWings extends CardImpl {
ability.addEffect(effect);
this.addAbility(ability);
// Discard a card: Return enchanted creature to its owner's hand.
- this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new GhostlyWingsReturnEffect(), new DiscardCardCost()));
+ this.addAbility(new SimpleActivatedAbility(new GhostlyWingsReturnEffect(), new DiscardCardCost()));
}
diff --git a/Mage.Sets/src/mage/cards/g/GhostsOfTheDamned.java b/Mage.Sets/src/mage/cards/g/GhostsOfTheDamned.java
index 7d53d0fd474..1ac74e4792c 100644
--- a/Mage.Sets/src/mage/cards/g/GhostsOfTheDamned.java
+++ b/Mage.Sets/src/mage/cards/g/GhostsOfTheDamned.java
@@ -28,7 +28,7 @@ public final class GhostsOfTheDamned extends CardImpl {
this.toughness = new MageInt(2);
// {tap}: Target creature gets -1/-0 until end of turn.
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostTargetEffect(-1, 0, Duration.EndOfTurn), new TapSourceCost());
+ Ability ability = new SimpleActivatedAbility(new BoostTargetEffect(-1, 0, Duration.EndOfTurn), new TapSourceCost());
ability.addTarget(new TargetCreaturePermanent());
this.addAbility(ability);
}
diff --git a/Mage.Sets/src/mage/cards/g/GhoulcallerGisa.java b/Mage.Sets/src/mage/cards/g/GhoulcallerGisa.java
index e250042e145..454c5b08e57 100644
--- a/Mage.Sets/src/mage/cards/g/GhoulcallerGisa.java
+++ b/Mage.Sets/src/mage/cards/g/GhoulcallerGisa.java
@@ -39,7 +39,7 @@ public final class GhoulcallerGisa extends CardImpl {
// {B}, {tap}, Sacrifice another creature: create X 2/2 black Zombie creature tokens, where X is the sacrificed creature's power.
Effect effect = new CreateTokenEffect(new ZombieToken(), SacrificeCostCreaturesPower.instance);
effect.setText("create X 2/2 black Zombie creature tokens, where X is the sacrificed creature's power");
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, effect, new ManaCostsImpl<>("{B}"));
+ Ability ability = new SimpleActivatedAbility(effect, new ManaCostsImpl<>("{B}"));
ability.addCost(new TapSourceCost());
ability.addCost(new SacrificeTargetCost(StaticFilters.FILTER_CONTROLLED_ANOTHER_CREATURE));
this.addAbility(ability);
diff --git a/Mage.Sets/src/mage/cards/g/GiantCaterpillar.java b/Mage.Sets/src/mage/cards/g/GiantCaterpillar.java
index 88963e49af9..5f48213d0a3 100644
--- a/Mage.Sets/src/mage/cards/g/GiantCaterpillar.java
+++ b/Mage.Sets/src/mage/cards/g/GiantCaterpillar.java
@@ -30,7 +30,7 @@ public final class GiantCaterpillar extends CardImpl {
this.toughness = new MageInt(3);
// {G}, Sacrifice Giant Caterpillar: Create a 1/1 green Insect creature token with flying named Butterfly at the beginning of the next end step.
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new CreateDelayedTriggeredAbilityEffect(
+ Ability ability = new SimpleActivatedAbility(new CreateDelayedTriggeredAbilityEffect(
new AtTheBeginOfNextEndStepDelayedTriggeredAbility(new CreateTokenEffect(new ButterflyToken()))),
new ManaCostsImpl<>("{G}"));
ability.addCost(new SacrificeSourceCost());
diff --git a/Mage.Sets/src/mage/cards/g/GiantCrab.java b/Mage.Sets/src/mage/cards/g/GiantCrab.java
index 6b27435c3ea..7d821946b2d 100644
--- a/Mage.Sets/src/mage/cards/g/GiantCrab.java
+++ b/Mage.Sets/src/mage/cards/g/GiantCrab.java
@@ -26,7 +26,7 @@ public final class GiantCrab extends CardImpl {
this.power = new MageInt(3);
this.toughness = new MageInt(3);
- this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new GainAbilitySourceEffect(ShroudAbility.getInstance(), Duration.EndOfTurn), new ColoredManaCost(ColoredManaSymbol.U)));
+ this.addAbility(new SimpleActivatedAbility(new GainAbilitySourceEffect(ShroudAbility.getInstance(), Duration.EndOfTurn), new ColoredManaCost(ColoredManaSymbol.U)));
}
private GiantCrab(final GiantCrab card) {
diff --git a/Mage.Sets/src/mage/cards/g/GiantOyster.java b/Mage.Sets/src/mage/cards/g/GiantOyster.java
index fd8b43557f6..df682ce3765 100644
--- a/Mage.Sets/src/mage/cards/g/GiantOyster.java
+++ b/Mage.Sets/src/mage/cards/g/GiantOyster.java
@@ -51,7 +51,7 @@ public final class GiantOyster extends CardImpl {
this.addAbility(new SkipUntapOptionalAbility());
// {tap}: For as long as Giant Oyster remains tapped, target tapped creature doesn't untap during its controller's untap step, and at the beginning of each of your draw steps, put a -1/-1 counter on that creature. When Giant Oyster leaves the battlefield or becomes untapped, remove all -1/-1 counters from the creature.
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DontUntapAsLongAsSourceTappedEffect()
+ Ability ability = new SimpleActivatedAbility(new DontUntapAsLongAsSourceTappedEffect()
.setText("For as long as {this} remains tapped, target tapped creature doesn't untap during its controller's untap step"),
new TapSourceCost());
ability.addEffect(new GiantOysterCreateDelayedTriggerEffects());
diff --git a/Mage.Sets/src/mage/cards/g/GiantTrapDoorSpider.java b/Mage.Sets/src/mage/cards/g/GiantTrapDoorSpider.java
index 06195e2c476..5fb28ea8bea 100644
--- a/Mage.Sets/src/mage/cards/g/GiantTrapDoorSpider.java
+++ b/Mage.Sets/src/mage/cards/g/GiantTrapDoorSpider.java
@@ -40,7 +40,7 @@ public final class GiantTrapDoorSpider extends CardImpl {
this.toughness = new MageInt(3);
// {1}{R}{G}, {tap}: Exile Giant Trap Door Spider and target creature without flying that's attacking you.
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new ExileSourceEffect(), new ManaCostsImpl<>("{1}{R}{G}"));
+ Ability ability = new SimpleActivatedAbility(new ExileSourceEffect(), new ManaCostsImpl<>("{1}{R}{G}"));
ability.addCost(new TapSourceCost());
ability.addEffect(new ExileTargetEffect().setText("and target creature without flying that's attacking you"));
ability.addTarget(new TargetCreaturePermanent(filter));
diff --git a/Mage.Sets/src/mage/cards/g/GideonsLawkeeper.java b/Mage.Sets/src/mage/cards/g/GideonsLawkeeper.java
index e411e6bbdba..8394a6fee0e 100644
--- a/Mage.Sets/src/mage/cards/g/GideonsLawkeeper.java
+++ b/Mage.Sets/src/mage/cards/g/GideonsLawkeeper.java
@@ -29,7 +29,7 @@ public final class GideonsLawkeeper extends CardImpl {
this.power = new MageInt(1);
this.toughness = new MageInt(1);
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new TapTargetEffect(), new ColoredManaCost(ColoredManaSymbol.W));
+ Ability ability = new SimpleActivatedAbility(new TapTargetEffect(), new ColoredManaCost(ColoredManaSymbol.W));
ability.addCost(new TapSourceCost());
ability.addTarget(new TargetCreaturePermanent());
this.addAbility(ability);
diff --git a/Mage.Sets/src/mage/cards/g/Gigantomancer.java b/Mage.Sets/src/mage/cards/g/Gigantomancer.java
index 4e1057b5897..0a6ad1946a5 100644
--- a/Mage.Sets/src/mage/cards/g/Gigantomancer.java
+++ b/Mage.Sets/src/mage/cards/g/Gigantomancer.java
@@ -31,7 +31,7 @@ public final class Gigantomancer extends CardImpl {
this.toughness = new MageInt(1);
//{1}: Target creature you control has base power and toughness 7/7 until end of turn.
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new SetBasePowerToughnessTargetEffect(7, 7, Duration.EndOfTurn), new GenericManaCost(1));
+ Ability ability = new SimpleActivatedAbility(new SetBasePowerToughnessTargetEffect(7, 7, Duration.EndOfTurn), new GenericManaCost(1));
ability.addTarget(new TargetControlledCreaturePermanent());
this.addAbility(ability);
}
diff --git a/Mage.Sets/src/mage/cards/g/Gigantoplasm.java b/Mage.Sets/src/mage/cards/g/Gigantoplasm.java
index d2198161414..6c5e1a2f6b6 100644
--- a/Mage.Sets/src/mage/cards/g/Gigantoplasm.java
+++ b/Mage.Sets/src/mage/cards/g/Gigantoplasm.java
@@ -55,7 +55,7 @@ class GigantoplasmCopyApplier extends CopyApplier {
public boolean apply(Game game, MageObject blueprint, Ability source, UUID copyToObjectId) {
Effect effect = new SetBasePowerToughnessSourceEffect(GetXValue.instance, Duration.Custom);
effect.setText("This creature has base power and toughness X/X");
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, effect, new ManaCostsImpl<>("{X}"));
+ Ability ability = new SimpleActivatedAbility(effect, new ManaCostsImpl<>("{X}"));
blueprint.getAbilities().add(ability);
return true;
}
diff --git a/Mage.Sets/src/mage/cards/g/GildedGoose.java b/Mage.Sets/src/mage/cards/g/GildedGoose.java
index f98d8c8c057..d7883917fe1 100644
--- a/Mage.Sets/src/mage/cards/g/GildedGoose.java
+++ b/Mage.Sets/src/mage/cards/g/GildedGoose.java
@@ -42,7 +42,7 @@ public final class GildedGoose extends CardImpl {
this.addAbility(new EntersBattlefieldTriggeredAbility(new CreateTokenEffect(new FoodToken()), false));
// {1}{G}, {T}: Create a Food token.
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new CreateTokenEffect(new FoodToken()), new ManaCostsImpl<>("{1}{G}"));
+ Ability ability = new SimpleActivatedAbility(new CreateTokenEffect(new FoodToken()), new ManaCostsImpl<>("{1}{G}"));
ability.addCost(new TapSourceCost());
this.addAbility(ability);
diff --git a/Mage.Sets/src/mage/cards/g/GilderBairn.java b/Mage.Sets/src/mage/cards/g/GilderBairn.java
index 4f2c0cb817c..774f1bcae1d 100644
--- a/Mage.Sets/src/mage/cards/g/GilderBairn.java
+++ b/Mage.Sets/src/mage/cards/g/GilderBairn.java
@@ -33,7 +33,7 @@ public final class GilderBairn extends CardImpl {
this.toughness = new MageInt(3);
// {2}{GU}, {untap}: For each counter on target permanent, put another of those counters on that permanent.
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new GilderBairnEffect(), new ManaCostsImpl<>("{2}{G/U}"));
+ Ability ability = new SimpleActivatedAbility(new GilderBairnEffect(), new ManaCostsImpl<>("{2}{G/U}"));
ability.addCost(new UntapSourceCost());
ability.addTarget(new TargetPermanent());
this.addAbility(ability);
diff --git a/Mage.Sets/src/mage/cards/g/GiltLeafSeer.java b/Mage.Sets/src/mage/cards/g/GiltLeafSeer.java
index e7f0e1ef369..13866b8ec16 100644
--- a/Mage.Sets/src/mage/cards/g/GiltLeafSeer.java
+++ b/Mage.Sets/src/mage/cards/g/GiltLeafSeer.java
@@ -29,7 +29,7 @@ public final class GiltLeafSeer extends CardImpl {
this.toughness = new MageInt(2);
// {G}, {tap}: Look at the top two cards of your library, then put them back in any order.
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new LookLibraryControllerEffect(2), new ManaCostsImpl<>("{G}"));
+ Ability ability = new SimpleActivatedAbility(new LookLibraryControllerEffect(2), new ManaCostsImpl<>("{G}"));
ability.addCost(new TapSourceCost());
this.addAbility(ability);
}
@@ -42,4 +42,4 @@ public final class GiltLeafSeer extends CardImpl {
public GiltLeafSeer copy() {
return new GiltLeafSeer(this);
}
-}
\ No newline at end of file
+}
diff --git a/Mage.Sets/src/mage/cards/g/GiltspireAvenger.java b/Mage.Sets/src/mage/cards/g/GiltspireAvenger.java
index 914b026bacf..fd51af64dd2 100644
--- a/Mage.Sets/src/mage/cards/g/GiltspireAvenger.java
+++ b/Mage.Sets/src/mage/cards/g/GiltspireAvenger.java
@@ -40,7 +40,7 @@ public final class GiltspireAvenger extends CardImpl {
this.addAbility(new ExaltedAbility());
// {T}: Destroy target creature that dealt damage to you this turn.
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DestroyTargetEffect(), new TapSourceCost());
+ Ability ability = new SimpleActivatedAbility(new DestroyTargetEffect(), new TapSourceCost());
ability.addTarget(new GiltspireAvengerTarget());
this.addAbility(ability);
diff --git a/Mage.Sets/src/mage/cards/g/GlacialCrevasses.java b/Mage.Sets/src/mage/cards/g/GlacialCrevasses.java
index 2a2839e1ef3..adfa86f759e 100644
--- a/Mage.Sets/src/mage/cards/g/GlacialCrevasses.java
+++ b/Mage.Sets/src/mage/cards/g/GlacialCrevasses.java
@@ -32,7 +32,7 @@ public final class GlacialCrevasses extends CardImpl {
// Sacrifice a snow Mountain: Prevent all combat damage that would be dealt this turn.
Effect effect = new PreventAllDamageByAllPermanentsEffect(Duration.EndOfTurn, true);
effect.setText("Prevent all combat damage that would be dealt this turn");
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, effect, new SacrificeTargetCost(filter));
+ Ability ability = new SimpleActivatedAbility(effect, new SacrificeTargetCost(filter));
this.addAbility(ability);
}
diff --git a/Mage.Sets/src/mage/cards/g/GlareOfSubdual.java b/Mage.Sets/src/mage/cards/g/GlareOfSubdual.java
index 6ed422e15e6..ccecee5f520 100644
--- a/Mage.Sets/src/mage/cards/g/GlareOfSubdual.java
+++ b/Mage.Sets/src/mage/cards/g/GlareOfSubdual.java
@@ -33,7 +33,7 @@ public final class GlareOfSubdual extends CardImpl {
// Tap an untapped creature you control: Tap target artifact or creature.
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new TapTargetEffect(), new TapTargetCost(new TargetControlledCreaturePermanent(1, 1, filterCost, true)));
+ Ability ability = new SimpleActivatedAbility(new TapTargetEffect(), new TapTargetCost(new TargetControlledCreaturePermanent(1, 1, filterCost, true)));
ability.addTarget(new TargetPermanent(StaticFilters.FILTER_PERMANENT_ARTIFACT_OR_CREATURE));
this.addAbility(ability);
}
diff --git a/Mage.Sets/src/mage/cards/g/Glarecaster.java b/Mage.Sets/src/mage/cards/g/Glarecaster.java
index ab5c0fe3feb..f504863f3cd 100644
--- a/Mage.Sets/src/mage/cards/g/Glarecaster.java
+++ b/Mage.Sets/src/mage/cards/g/Glarecaster.java
@@ -38,7 +38,7 @@ public final class Glarecaster extends CardImpl {
this.addAbility(FlyingAbility.getInstance());
// {5}{W}: The next time damage would be dealt to Glarecaster and/or you this turn, that damage is dealt to any target instead.
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new GlarecasterEffect(), new ManaCostsImpl<>("{5}{W}"));
+ Ability ability = new SimpleActivatedAbility(new GlarecasterEffect(), new ManaCostsImpl<>("{5}{W}"));
ability.addTarget(new TargetAnyTarget());
this.addAbility(ability);
}
diff --git a/Mage.Sets/src/mage/cards/g/GlassblowersPuzzleknot.java b/Mage.Sets/src/mage/cards/g/GlassblowersPuzzleknot.java
index 6bf11c80e42..39c2955eab9 100644
--- a/Mage.Sets/src/mage/cards/g/GlassblowersPuzzleknot.java
+++ b/Mage.Sets/src/mage/cards/g/GlassblowersPuzzleknot.java
@@ -34,7 +34,7 @@ public final class GlassblowersPuzzleknot extends CardImpl {
this.addAbility(ability);
// {2}{U}, Sacrifice Glassblower's Puzzleknot: Scry 2, then you get {E}{E}.
- ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, scryEffect, new ManaCostsImpl<>("{2}{U}"));
+ ability = new SimpleActivatedAbility(scryEffect, new ManaCostsImpl<>("{2}{U}"));
ability.addCost(new SacrificeSourceCost());
ability.addEffect(energyEffect);
this.addAbility(ability);
diff --git a/Mage.Sets/src/mage/cards/g/GlassesOfUrza.java b/Mage.Sets/src/mage/cards/g/GlassesOfUrza.java
index 3c2287a0a7d..0ea206ec97f 100644
--- a/Mage.Sets/src/mage/cards/g/GlassesOfUrza.java
+++ b/Mage.Sets/src/mage/cards/g/GlassesOfUrza.java
@@ -22,7 +22,7 @@ public final class GlassesOfUrza extends CardImpl {
super(ownerId,setInfo,new CardType[]{CardType.ARTIFACT},"{1}");
// {tap}: Look at target player's hand.
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new LookAtTargetPlayerHandEffect(), new TapSourceCost());
+ Ability ability = new SimpleActivatedAbility(new LookAtTargetPlayerHandEffect(), new TapSourceCost());
ability.addTarget(new TargetPlayer());
this.addAbility(ability);
}
diff --git a/Mage.Sets/src/mage/cards/g/GleamOfAuthority.java b/Mage.Sets/src/mage/cards/g/GleamOfAuthority.java
index 68ac91aeb9e..25790ea83bb 100644
--- a/Mage.Sets/src/mage/cards/g/GleamOfAuthority.java
+++ b/Mage.Sets/src/mage/cards/g/GleamOfAuthority.java
@@ -49,7 +49,7 @@ public final class GleamOfAuthority extends CardImpl {
// Enchanted creature has vigilance and "{W}, {T}: Bloster 1."
ability = new SimpleStaticAbility(new GainAbilityAttachedEffect(VigilanceAbility.getInstance(), AttachmentType.AURA));
- Ability gainedAbility = new SimpleActivatedAbility(Zone.BATTLEFIELD, new BolsterEffect(1), new ManaCostsImpl<>("{W}"));
+ Ability gainedAbility = new SimpleActivatedAbility(new BolsterEffect(1), new ManaCostsImpl<>("{W}"));
gainedAbility.addCost(new TapSourceCost());
ability.addEffect(new GainAbilityAttachedEffect(gainedAbility, AttachmentType.AURA).setText("and \"{W}, {T}: Bolster 1.\""));
this.addAbility(ability);
diff --git a/Mage.Sets/src/mage/cards/g/GlenElendraArchmage.java b/Mage.Sets/src/mage/cards/g/GlenElendraArchmage.java
index 7f0c2d93c11..e44f43ff50d 100644
--- a/Mage.Sets/src/mage/cards/g/GlenElendraArchmage.java
+++ b/Mage.Sets/src/mage/cards/g/GlenElendraArchmage.java
@@ -35,7 +35,7 @@ public final class GlenElendraArchmage extends CardImpl {
// Flying
this.addAbility(FlyingAbility.getInstance());
// {U}, Sacrifice Glen Elendra Archmage: Counter target noncreature spell.
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new CounterTargetEffect(), new ManaCostsImpl<>("{U}"));
+ Ability ability = new SimpleActivatedAbility(new CounterTargetEffect(), new ManaCostsImpl<>("{U}"));
ability.addCost(new SacrificeSourceCost());
ability.addTarget(new TargetSpell(StaticFilters.FILTER_SPELL_NON_CREATURE));
this.addAbility(ability);
diff --git a/Mage.Sets/src/mage/cards/g/GlimmeringAngel.java b/Mage.Sets/src/mage/cards/g/GlimmeringAngel.java
index f81f3c0bf40..9f08e23dd3d 100644
--- a/Mage.Sets/src/mage/cards/g/GlimmeringAngel.java
+++ b/Mage.Sets/src/mage/cards/g/GlimmeringAngel.java
@@ -31,7 +31,7 @@ public final class GlimmeringAngel extends CardImpl {
// Flying
this.addAbility(FlyingAbility.getInstance());
// {U}: Glimmering Angel gains shroud until end of turn.
- this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new GainAbilitySourceEffect(ShroudAbility.getInstance(), Duration.EndOfTurn), new ManaCostsImpl<>("{U}")));
+ this.addAbility(new SimpleActivatedAbility(new GainAbilitySourceEffect(ShroudAbility.getInstance(), Duration.EndOfTurn), new ManaCostsImpl<>("{U}")));
}
private GlimmeringAngel(final GlimmeringAngel card) {
diff --git a/Mage.Sets/src/mage/cards/g/GlintHawkIdol.java b/Mage.Sets/src/mage/cards/g/GlintHawkIdol.java
index 8a01b51fb39..38a1dc6cc9f 100644
--- a/Mage.Sets/src/mage/cards/g/GlintHawkIdol.java
+++ b/Mage.Sets/src/mage/cards/g/GlintHawkIdol.java
@@ -37,7 +37,7 @@ public final class GlintHawkIdol extends CardImpl {
Zone.BATTLEFIELD, new BecomesCreatureSourceEffect(new GlintHawkIdolToken(), CardType.ARTIFACT, Duration.EndOfTurn), filter, true));
// {W}: Glint Hawk Idol becomes a 2/2 Bird artifact creature with flying until end of turn.
- this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new BecomesCreatureSourceEffect(new GlintHawkIdolToken(), CardType.ARTIFACT, Duration.EndOfTurn), new ColoredManaCost(ColoredManaSymbol.W)));
+ this.addAbility(new SimpleActivatedAbility(new BecomesCreatureSourceEffect(new GlintHawkIdolToken(), CardType.ARTIFACT, Duration.EndOfTurn), new ColoredManaCost(ColoredManaSymbol.W)));
}
private GlintHawkIdol(final GlintHawkIdol card) {
diff --git a/Mage.Sets/src/mage/cards/g/GlintwingInvoker.java b/Mage.Sets/src/mage/cards/g/GlintwingInvoker.java
index 6e066656517..ebc5df855d9 100644
--- a/Mage.Sets/src/mage/cards/g/GlintwingInvoker.java
+++ b/Mage.Sets/src/mage/cards/g/GlintwingInvoker.java
@@ -34,7 +34,7 @@ public final class GlintwingInvoker extends CardImpl {
// {7}{U}: Glintwing Invoker gets +3/+3 and gains flying until end of turn.
Effect effect = new BoostSourceEffect(3, 3, Duration.EndOfTurn);
effect.setText("{this} gets +3/+3");
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, effect, new ManaCostsImpl<>("{7}{U}"));
+ Ability ability = new SimpleActivatedAbility(effect, new ManaCostsImpl<>("{7}{U}"));
effect = new GainAbilitySourceEffect(FlyingAbility.getInstance(), Duration.EndOfTurn);
effect.setText("and gains flying until end of turn");
ability.addEffect(effect);
diff --git a/Mage.Sets/src/mage/cards/g/GlissaSunseeker.java b/Mage.Sets/src/mage/cards/g/GlissaSunseeker.java
index 3a1c710b2cc..3ca7b6919e7 100644
--- a/Mage.Sets/src/mage/cards/g/GlissaSunseeker.java
+++ b/Mage.Sets/src/mage/cards/g/GlissaSunseeker.java
@@ -38,7 +38,7 @@ public final class GlissaSunseeker extends CardImpl {
this.addAbility(FirstStrikeAbility.getInstance());
// {tap}: Destroy target artifact if its converted mana cost is equal to the amount of mana in your mana pool.
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new GlissaSunseekerEffect(), new TapSourceCost());
+ Ability ability = new SimpleActivatedAbility(new GlissaSunseekerEffect(), new TapSourceCost());
ability.addTarget(new TargetArtifactPermanent());
this.addAbility(ability);
}
diff --git a/Mage.Sets/src/mage/cards/g/GlitteringLion.java b/Mage.Sets/src/mage/cards/g/GlitteringLion.java
index 65782958c88..aa5d3c82dac 100644
--- a/Mage.Sets/src/mage/cards/g/GlitteringLion.java
+++ b/Mage.Sets/src/mage/cards/g/GlitteringLion.java
@@ -32,7 +32,7 @@ public final class GlitteringLion extends CardImpl {
// Prevent all damage that would be dealt to Glittering Lion.
this.addAbility(GlitteringLionAbility.getInstance());
// {3}: Until end of turn, Glittering Lion loses "Prevent all damage that would be dealt to Glittering Lion." Any player may activate this ability.
- SimpleActivatedAbility ability2 = new SimpleActivatedAbility(Zone.BATTLEFIELD, new LoseAbilitySourceEffect(GlitteringLionAbility.getInstance(), Duration.EndOfTurn).setText("Until end of turn, {this} loses \"Prevent all damage that would be dealt to {this}.\" Any player may activate this ability"), new ManaCostsImpl<>("{3}"));
+ SimpleActivatedAbility ability2 = new SimpleActivatedAbility(new LoseAbilitySourceEffect(GlitteringLionAbility.getInstance(), Duration.EndOfTurn).setText("Until end of turn, {this} loses \"Prevent all damage that would be dealt to {this}.\" Any player may activate this ability"), new ManaCostsImpl<>("{3}"));
ability2.setMayActivate(TargetController.ANY);
this.addAbility(ability2);
}
diff --git a/Mage.Sets/src/mage/cards/g/GlitteringLynx.java b/Mage.Sets/src/mage/cards/g/GlitteringLynx.java
index 0d3c271d4a0..c9d56644abf 100644
--- a/Mage.Sets/src/mage/cards/g/GlitteringLynx.java
+++ b/Mage.Sets/src/mage/cards/g/GlitteringLynx.java
@@ -33,7 +33,7 @@ public final class GlitteringLynx extends CardImpl {
// Prevent all damage that would be dealt to Glittering Lynx.
this.addAbility(GlitteringLynxAbility.getInstance());
// {2}: Until end of turn, Glittering Lynx loses "Prevent all damage that would be dealt to Glittering Lynx." Any player may activate this ability.
- SimpleActivatedAbility ability2 = new SimpleActivatedAbility(Zone.BATTLEFIELD, new LoseAbilitySourceEffect(GlitteringLynxAbility.getInstance(), Duration.EndOfTurn).setText("Until end of turn, {this} loses \"Prevent all damage that would be dealt to {this}.\""), new ManaCostsImpl<>("{2}"));
+ SimpleActivatedAbility ability2 = new SimpleActivatedAbility(new LoseAbilitySourceEffect(GlitteringLynxAbility.getInstance(), Duration.EndOfTurn).setText("Until end of turn, {this} loses \"Prevent all damage that would be dealt to {this}.\""), new ManaCostsImpl<>("{2}"));
ability2.setMayActivate(TargetController.ANY);
ability2.addEffect(new InfoEffect("Any player may activate this ability"));
this.addAbility(ability2);
diff --git a/Mage.Sets/src/mage/cards/g/GlorifierOfDusk.java b/Mage.Sets/src/mage/cards/g/GlorifierOfDusk.java
index d6a0bb36910..7631048c44b 100644
--- a/Mage.Sets/src/mage/cards/g/GlorifierOfDusk.java
+++ b/Mage.Sets/src/mage/cards/g/GlorifierOfDusk.java
@@ -30,10 +30,10 @@ public final class GlorifierOfDusk extends CardImpl {
this.toughness = new MageInt(4);
// Pay 2 life: Glorifier of Dusk gains flying until end of turn.
- this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new GainAbilitySourceEffect(FlyingAbility.getInstance(), Duration.EndOfTurn), new PayLifeCost(2)));
+ this.addAbility(new SimpleActivatedAbility(new GainAbilitySourceEffect(FlyingAbility.getInstance(), Duration.EndOfTurn), new PayLifeCost(2)));
// Pay 2 life: Glorifier of Dusk gains vigilance until end of turn.
- this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new GainAbilitySourceEffect(VigilanceAbility.getInstance(), Duration.EndOfTurn), new PayLifeCost(2)));
+ this.addAbility(new SimpleActivatedAbility(new GainAbilitySourceEffect(VigilanceAbility.getInstance(), Duration.EndOfTurn), new PayLifeCost(2)));
}
private GlorifierOfDusk(final GlorifierOfDusk card) {
diff --git a/Mage.Sets/src/mage/cards/g/GnarlrootTrapper.java b/Mage.Sets/src/mage/cards/g/GnarlrootTrapper.java
index a06cc5c3f86..96d6cd35023 100644
--- a/Mage.Sets/src/mage/cards/g/GnarlrootTrapper.java
+++ b/Mage.Sets/src/mage/cards/g/GnarlrootTrapper.java
@@ -54,7 +54,7 @@ public final class GnarlrootTrapper extends CardImpl {
// {T}: Target attacking Elf you control gains deathtouch until end of turn.
Effect effect = new GainAbilityTargetEffect(DeathtouchAbility.getInstance(), Duration.EndOfTurn);
effect.setText("Target attacking Elf you control gains deathtouch until end of turn. (Any amount of damage it deals to a creature is enough to destroy it.)");
- ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, effect, new TapSourceCost());
+ ability = new SimpleActivatedAbility(effect, new TapSourceCost());
ability.addTarget(new TargetControlledPermanent(filter));
this.addAbility(ability);
diff --git a/Mage.Sets/src/mage/cards/g/GnawingZombie.java b/Mage.Sets/src/mage/cards/g/GnawingZombie.java
index aba1a7931b8..f0942e6328c 100644
--- a/Mage.Sets/src/mage/cards/g/GnawingZombie.java
+++ b/Mage.Sets/src/mage/cards/g/GnawingZombie.java
@@ -32,7 +32,7 @@ public final class GnawingZombie extends CardImpl {
this.toughness = new MageInt(3);
// {1}{B}, Sacrifice a creature: Target player loses 1 life and you gain 1 life.
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new LoseLifeTargetEffect(1), new ManaCostsImpl<>("{1}{B}"));
+ Ability ability = new SimpleActivatedAbility(new LoseLifeTargetEffect(1), new ManaCostsImpl<>("{1}{B}"));
ability.addEffect(new GainLifeEffect(1).concatBy("and"));
ability.addTarget(new TargetPlayer());
ability.addCost(new SacrificeTargetCost(StaticFilters.FILTER_PERMANENT_CREATURE));
diff --git a/Mage.Sets/src/mage/cards/g/GobblingOoze.java b/Mage.Sets/src/mage/cards/g/GobblingOoze.java
index 747766ebd15..096c38971bb 100644
--- a/Mage.Sets/src/mage/cards/g/GobblingOoze.java
+++ b/Mage.Sets/src/mage/cards/g/GobblingOoze.java
@@ -31,7 +31,7 @@ public final class GobblingOoze extends CardImpl {
this.toughness = new MageInt(3);
// {G}, Sacrifice another creature: Put a +1/+1 counter on Gobbling Ooze.
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new AddCountersSourceEffect(CounterType.P1P1.createInstance(1)), new ManaCostsImpl<>("{G}"));
+ Ability ability = new SimpleActivatedAbility(new AddCountersSourceEffect(CounterType.P1P1.createInstance(1)), new ManaCostsImpl<>("{G}"));
ability.addCost(new SacrificeTargetCost(StaticFilters.FILTER_CONTROLLED_ANOTHER_CREATURE));
this.addAbility(ability);
}
diff --git a/Mage.Sets/src/mage/cards/g/GobhobblerRats.java b/Mage.Sets/src/mage/cards/g/GobhobblerRats.java
index dec3d9ceae0..266c62e4a6e 100644
--- a/Mage.Sets/src/mage/cards/g/GobhobblerRats.java
+++ b/Mage.Sets/src/mage/cards/g/GobhobblerRats.java
@@ -35,7 +35,7 @@ public final class GobhobblerRats extends CardImpl {
// Hellbent - As long as you have no cards in hand, Gobhobbler Rats gets +1/+0 and has "{B}: Regenerate Gobhobbler Rats."
Ability ability = new SimpleStaticAbility(new ConditionalContinuousEffect(
new BoostSourceEffect(1,0, Duration.WhileOnBattlefield), HellbentCondition.instance, "Hellbent — As long as you have no cards in hand, {this} gets +1/+0"));
- Ability gainedAbility = new SimpleActivatedAbility(Zone.BATTLEFIELD, new RegenerateSourceEffect(), new ManaCostsImpl<>("{B}"));
+ Ability gainedAbility = new SimpleActivatedAbility(new RegenerateSourceEffect(), new ManaCostsImpl<>("{B}"));
ability.addEffect(new ConditionalContinuousEffect(
new GainAbilitySourceEffect(gainedAbility, Duration.WhileOnBattlefield), HellbentCondition.instance, "and has \"{B}: Regenerate {this}.\""));
this.addAbility(ability);
diff --git a/Mage.Sets/src/mage/cards/g/GoblinArchaeologist.java b/Mage.Sets/src/mage/cards/g/GoblinArchaeologist.java
index 0c08fa250fa..44f94b45ff1 100644
--- a/Mage.Sets/src/mage/cards/g/GoblinArchaeologist.java
+++ b/Mage.Sets/src/mage/cards/g/GoblinArchaeologist.java
@@ -34,7 +34,7 @@ public final class GoblinArchaeologist extends CardImpl {
this.toughness = new MageInt(2);
// {R}, {T]: Flip a coin. If you win the flip, destroy target artifact and untap Goblin Archaeologist. If you lose the flip, sacrifice Goblin Archaeologist.
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new GoblinArchaeologistEffect(),new ManaCostsImpl<>("{R}"));
+ Ability ability = new SimpleActivatedAbility(new GoblinArchaeologistEffect(),new ManaCostsImpl<>("{R}"));
ability.addCost(new TapSourceCost());
ability.addTarget(new TargetArtifactPermanent());
this.addAbility(ability);
diff --git a/Mage.Sets/src/mage/cards/g/GoblinBalloonBrigade.java b/Mage.Sets/src/mage/cards/g/GoblinBalloonBrigade.java
index fbe4ae0099b..04311443ca7 100644
--- a/Mage.Sets/src/mage/cards/g/GoblinBalloonBrigade.java
+++ b/Mage.Sets/src/mage/cards/g/GoblinBalloonBrigade.java
@@ -30,7 +30,7 @@ public final class GoblinBalloonBrigade extends CardImpl {
this.toughness = new MageInt(1);
// {R}: Goblin Balloon Brigade gains flying until end of turn.
- this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD,
+ this.addAbility(new SimpleActivatedAbility(
new GainAbilitySourceEffect(FlyingAbility.getInstance(),
Duration.EndOfTurn), new ManaCostsImpl<>("{R}")));
}
diff --git a/Mage.Sets/src/mage/cards/g/GoblinBangchuckers.java b/Mage.Sets/src/mage/cards/g/GoblinBangchuckers.java
index 930c4c67f34..d91e7e6c8b9 100644
--- a/Mage.Sets/src/mage/cards/g/GoblinBangchuckers.java
+++ b/Mage.Sets/src/mage/cards/g/GoblinBangchuckers.java
@@ -32,7 +32,7 @@ public final class GoblinBangchuckers extends CardImpl {
this.toughness = new MageInt(2);
// {T}: Flip a coin. If you win the flip, Goblin Bangchuckers deals 2 damage to any target. If you lose the flip, Goblin Bangchuckers deals 2 damage to itself.
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new GoblinBangchuckersEffect(), new TapSourceCost());
+ Ability ability = new SimpleActivatedAbility(new GoblinBangchuckersEffect(), new TapSourceCost());
ability.addTarget(new TargetAnyTarget());
this.addAbility(ability);
}
diff --git a/Mage.Sets/src/mage/cards/g/GoblinBombardment.java b/Mage.Sets/src/mage/cards/g/GoblinBombardment.java
index 7dc6da877d4..00643b0bbf8 100644
--- a/Mage.Sets/src/mage/cards/g/GoblinBombardment.java
+++ b/Mage.Sets/src/mage/cards/g/GoblinBombardment.java
@@ -23,7 +23,7 @@ public final class GoblinBombardment extends CardImpl {
public GoblinBombardment(UUID ownerId, CardSetInfo setInfo) {
super(ownerId,setInfo,new CardType[]{CardType.ENCHANTMENT},"{1}{R}");
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(1), new SacrificeTargetCost(StaticFilters.FILTER_PERMANENT_CREATURE));
+ Ability ability = new SimpleActivatedAbility(new DamageTargetEffect(1), new SacrificeTargetCost(StaticFilters.FILTER_PERMANENT_CREATURE));
ability.addTarget(new TargetAnyTarget());
this.addAbility(ability);
}
diff --git a/Mage.Sets/src/mage/cards/g/GoblinBurrows.java b/Mage.Sets/src/mage/cards/g/GoblinBurrows.java
index 17c3d503a3c..2899d5e9ab4 100644
--- a/Mage.Sets/src/mage/cards/g/GoblinBurrows.java
+++ b/Mage.Sets/src/mage/cards/g/GoblinBurrows.java
@@ -35,7 +35,7 @@ public final class GoblinBurrows extends CardImpl {
// {tap}: Add {C}.
this.addAbility(new ColorlessManaAbility());
// {1}{R}, {tap}: Target Goblin creature gets +2/+0 until end of turn.
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostTargetEffect(2,0, Duration.EndOfTurn), new ManaCostsImpl<>("{1}{R}"));
+ Ability ability = new SimpleActivatedAbility(new BoostTargetEffect(2,0, Duration.EndOfTurn), new ManaCostsImpl<>("{1}{R}"));
ability.addCost(new TapSourceCost());
ability.addTarget(new TargetCreaturePermanent(filter));
this.addAbility(ability);
diff --git a/Mage.Sets/src/mage/cards/g/GoblinCannon.java b/Mage.Sets/src/mage/cards/g/GoblinCannon.java
index 02ed36630b1..6023357ca4a 100644
--- a/Mage.Sets/src/mage/cards/g/GoblinCannon.java
+++ b/Mage.Sets/src/mage/cards/g/GoblinCannon.java
@@ -23,7 +23,7 @@ public final class GoblinCannon extends CardImpl {
super(ownerId,setInfo,new CardType[]{CardType.ARTIFACT},"{4}");
// {2}: Goblin Cannon deals 1 damage to any target. Sacrifice Goblin Cannon.
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(1), new ManaCostsImpl<>("{2}"));
+ Ability ability = new SimpleActivatedAbility(new DamageTargetEffect(1), new ManaCostsImpl<>("{2}"));
ability.addTarget(new TargetAnyTarget());
ability.addEffect(new SacrificeSourceEffect());
this.addAbility(ability);
diff --git a/Mage.Sets/src/mage/cards/g/GoblinCharbelcher.java b/Mage.Sets/src/mage/cards/g/GoblinCharbelcher.java
index 9a020f87837..0a2d05953ed 100644
--- a/Mage.Sets/src/mage/cards/g/GoblinCharbelcher.java
+++ b/Mage.Sets/src/mage/cards/g/GoblinCharbelcher.java
@@ -27,7 +27,7 @@ public final class GoblinCharbelcher extends CardImpl {
super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT}, "{4}");
// {3}, {tap}: Reveal cards from the top of your library until you reveal a land card. Goblin Charbelcher deals damage equal to the number of nonland cards revealed this way to any target. If the revealed land card was a Mountain, Goblin Charbelcher deals double that damage instead. Put the revealed cards on the bottom of your library in any order.
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new GoblinCharbelcherEffect(), new ManaCostsImpl<>("{3}"));
+ Ability ability = new SimpleActivatedAbility(new GoblinCharbelcherEffect(), new ManaCostsImpl<>("{3}"));
ability.addCost(new TapSourceCost());
ability.addTarget(new TargetAnyTarget());
this.addAbility(ability);
diff --git a/Mage.Sets/src/mage/cards/g/GoblinDiggingTeam.java b/Mage.Sets/src/mage/cards/g/GoblinDiggingTeam.java
index 74e5da939b0..d217f930147 100644
--- a/Mage.Sets/src/mage/cards/g/GoblinDiggingTeam.java
+++ b/Mage.Sets/src/mage/cards/g/GoblinDiggingTeam.java
@@ -35,7 +35,7 @@ public final class GoblinDiggingTeam extends CardImpl {
this.toughness = new MageInt(1);
// {tap}, Sacrifice Goblin Digging Team: Destroy target Wall.
- SimpleActivatedAbility ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DestroyTargetEffect(), new TapSourceCost());
+ SimpleActivatedAbility ability = new SimpleActivatedAbility(new DestroyTargetEffect(), new TapSourceCost());
ability.addCost(new SacrificeSourceCost());
ability.addTarget(new TargetPermanent(filter));
this.addAbility(ability);
diff --git a/Mage.Sets/src/mage/cards/g/GoblinDynamo.java b/Mage.Sets/src/mage/cards/g/GoblinDynamo.java
index 64690122cbf..2d1eb884456 100644
--- a/Mage.Sets/src/mage/cards/g/GoblinDynamo.java
+++ b/Mage.Sets/src/mage/cards/g/GoblinDynamo.java
@@ -31,7 +31,7 @@ public final class GoblinDynamo extends CardImpl {
this.toughness = new MageInt(4);
// {T}: Goblin Dynamo deals 1 damage to any target.
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(1), new TapSourceCost());
+ Ability ability = new SimpleActivatedAbility(new DamageTargetEffect(1), new TapSourceCost());
ability.addTarget(new TargetAnyTarget());
this.addAbility(ability);
diff --git a/Mage.Sets/src/mage/cards/g/GoblinFestival.java b/Mage.Sets/src/mage/cards/g/GoblinFestival.java
index c084aa9b76f..b691552119d 100644
--- a/Mage.Sets/src/mage/cards/g/GoblinFestival.java
+++ b/Mage.Sets/src/mage/cards/g/GoblinFestival.java
@@ -30,7 +30,7 @@ public final class GoblinFestival extends CardImpl {
super(ownerId, setInfo, new CardType[]{CardType.ENCHANTMENT}, "{1}{R}");
// {2}: Goblin Festival deals 1 damage to any target. Flip a coin. If you lose the flip, choose one of your opponents. That player gains control of Goblin Festival.
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(1), new ManaCostsImpl<>("{2}"));
+ Ability ability = new SimpleActivatedAbility(new DamageTargetEffect(1), new ManaCostsImpl<>("{2}"));
ability.addTarget(new TargetAnyTarget());
ability.addEffect(new GoblinFestivalChangeControlEffect());
this.addAbility(ability);
diff --git a/Mage.Sets/src/mage/cards/g/GoblinFireFiend.java b/Mage.Sets/src/mage/cards/g/GoblinFireFiend.java
index f10765f98ad..b5b405b452a 100644
--- a/Mage.Sets/src/mage/cards/g/GoblinFireFiend.java
+++ b/Mage.Sets/src/mage/cards/g/GoblinFireFiend.java
@@ -37,7 +37,7 @@ public final class GoblinFireFiend extends CardImpl {
this.addAbility(new SimpleStaticAbility(new MustBeBlockedByAtLeastOneSourceEffect(Duration.WhileOnBattlefield)));
//{R}: Goblin Fire Fiend gets +1/+0 until end of turn.
- this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostSourceEffect(1, 0, Duration.EndOfTurn), new ManaCostsImpl<>("{R}")));
+ this.addAbility(new SimpleActivatedAbility(new BoostSourceEffect(1, 0, Duration.EndOfTurn), new ManaCostsImpl<>("{R}")));
}
private GoblinFireFiend(final GoblinFireFiend card) {
diff --git a/Mage.Sets/src/mage/cards/g/GoblinFireslinger.java b/Mage.Sets/src/mage/cards/g/GoblinFireslinger.java
index edc1c15ee86..4a12d0b9dd9 100644
--- a/Mage.Sets/src/mage/cards/g/GoblinFireslinger.java
+++ b/Mage.Sets/src/mage/cards/g/GoblinFireslinger.java
@@ -28,7 +28,7 @@ public final class GoblinFireslinger extends CardImpl {
this.toughness = new MageInt(1);
// {tap}: Goblin Fireslinger deals 1 damage to target player.
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(1), new TapSourceCost());
+ Ability ability = new SimpleActivatedAbility(new DamageTargetEffect(1), new TapSourceCost());
ability.addTarget(new TargetPlayerOrPlaneswalker());
this.addAbility(ability);
}
diff --git a/Mage.Sets/src/mage/cards/g/GoblinFlectomancer.java b/Mage.Sets/src/mage/cards/g/GoblinFlectomancer.java
index dbbcf9efc2c..83dc20105dd 100644
--- a/Mage.Sets/src/mage/cards/g/GoblinFlectomancer.java
+++ b/Mage.Sets/src/mage/cards/g/GoblinFlectomancer.java
@@ -30,7 +30,7 @@ public final class GoblinFlectomancer extends CardImpl {
this.toughness = new MageInt(2);
// Sacrifice Goblin Flectomancer: You may change the targets of target instant or sorcery spell.
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new ChooseNewTargetsTargetEffect().setText("you may change the targets of target instant or sorcery spell"), new SacrificeSourceCost());
+ Ability ability = new SimpleActivatedAbility(new ChooseNewTargetsTargetEffect().setText("you may change the targets of target instant or sorcery spell"), new SacrificeSourceCost());
ability.addTarget(new TargetSpell(new FilterInstantOrSorcerySpell()));
this.addAbility(ability);
}
diff --git a/Mage.Sets/src/mage/cards/g/GoblinGoliath.java b/Mage.Sets/src/mage/cards/g/GoblinGoliath.java
index 97e3f5796ee..7a7f5c2efd3 100644
--- a/Mage.Sets/src/mage/cards/g/GoblinGoliath.java
+++ b/Mage.Sets/src/mage/cards/g/GoblinGoliath.java
@@ -39,7 +39,7 @@ public final class GoblinGoliath extends CardImpl {
this.addAbility(new EntersBattlefieldTriggeredAbility(effect));
// {3}{R}, {T}: If a source you control would deal damage to an opponent this turn, it deals double that damage to that player instead.
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new GoblinGoliathDamageEffect(), new ManaCostsImpl<>("{3}{R}"));
+ Ability ability = new SimpleActivatedAbility(new GoblinGoliathDamageEffect(), new ManaCostsImpl<>("{3}{R}"));
ability.addCost(new TapSourceCost());
this.addAbility(ability);
}
diff --git a/Mage.Sets/src/mage/cards/g/GoblinLegionnaire.java b/Mage.Sets/src/mage/cards/g/GoblinLegionnaire.java
index b753ad7aa23..a01cc7da1a8 100644
--- a/Mage.Sets/src/mage/cards/g/GoblinLegionnaire.java
+++ b/Mage.Sets/src/mage/cards/g/GoblinLegionnaire.java
@@ -32,13 +32,13 @@ public final class GoblinLegionnaire extends CardImpl {
this.toughness = new MageInt(2);
// {R}, Sacrifice Goblin Legionnaire: It deals 2 damage to any target.
- Ability firstAbility = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(2, "it"), new ColoredManaCost(ColoredManaSymbol.R));
+ Ability firstAbility = new SimpleActivatedAbility(new DamageTargetEffect(2, "it"), new ColoredManaCost(ColoredManaSymbol.R));
firstAbility.addCost(new SacrificeSourceCost());
firstAbility.addTarget(new TargetAnyTarget());
this.addAbility(firstAbility);
// {W}, Sacrifice Goblin Legionnaire: Prevent the next 2 damage that would be dealt to any target this turn.
- Ability secondAbility = new SimpleActivatedAbility(Zone.BATTLEFIELD, new PreventDamageToTargetEffect(Duration.EndOfTurn, 2), new ColoredManaCost(ColoredManaSymbol.W));
+ Ability secondAbility = new SimpleActivatedAbility(new PreventDamageToTargetEffect(Duration.EndOfTurn, 2), new ColoredManaCost(ColoredManaSymbol.W));
secondAbility.addCost(new SacrificeSourceCost());
secondAbility.addTarget(new TargetAnyTarget());
this.addAbility(secondAbility);
diff --git a/Mage.Sets/src/mage/cards/g/GoblinLookout.java b/Mage.Sets/src/mage/cards/g/GoblinLookout.java
index 9a4869e4f84..e23786138e1 100644
--- a/Mage.Sets/src/mage/cards/g/GoblinLookout.java
+++ b/Mage.Sets/src/mage/cards/g/GoblinLookout.java
@@ -37,7 +37,7 @@ public final class GoblinLookout extends CardImpl {
this.toughness = new MageInt(2);
// {T}, Sacrifice a Goblin: Goblin creatures get +2/+0 until end of turn.
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostAllEffect(2, 0, Duration.EndOfTurn, StaticFilters.FILTER_PERMANENT_CREATURE_GOBLINS, false), new TapSourceCost());
+ Ability ability = new SimpleActivatedAbility(new BoostAllEffect(2, 0, Duration.EndOfTurn, StaticFilters.FILTER_PERMANENT_CREATURE_GOBLINS, false), new TapSourceCost());
ability.addCost(new SacrificeTargetCost(filterPermanent));
this.addAbility(ability);
}
diff --git a/Mage.Sets/src/mage/cards/g/GoblinLyre.java b/Mage.Sets/src/mage/cards/g/GoblinLyre.java
index 08b98a1ebfe..ab861f85f8f 100644
--- a/Mage.Sets/src/mage/cards/g/GoblinLyre.java
+++ b/Mage.Sets/src/mage/cards/g/GoblinLyre.java
@@ -26,7 +26,7 @@ public final class GoblinLyre extends CardImpl {
super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT}, "{3}");
// Sacrifice Goblin Lyre: Flip a coin. If you win the flip, Goblin Lyre deals damage to target opponent equal to the number of creatures you control. If you lose the flip, Goblin Lyre deals damage to you equal to the number of creatures that opponent controls.
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new GoblinLyreEffect(), new SacrificeSourceCost());
+ Ability ability = new SimpleActivatedAbility(new GoblinLyreEffect(), new SacrificeSourceCost());
ability.addTarget(new TargetOpponentOrPlaneswalker());
this.addAbility(ability);
}
diff --git a/Mage.Sets/src/mage/cards/g/GoblinRazerunners.java b/Mage.Sets/src/mage/cards/g/GoblinRazerunners.java
index e7fcb812e37..a2c36ac6dee 100644
--- a/Mage.Sets/src/mage/cards/g/GoblinRazerunners.java
+++ b/Mage.Sets/src/mage/cards/g/GoblinRazerunners.java
@@ -38,7 +38,7 @@ public final class GoblinRazerunners extends CardImpl {
this.toughness = new MageInt(4);
// {1}{R}, Sacrifice a land: Put a +1/+1 counter on Goblin Razerunners.
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new AddCountersSourceEffect(CounterType.P1P1.createInstance()), new ManaCostsImpl<>("{1}{R}"));
+ Ability ability = new SimpleActivatedAbility(new AddCountersSourceEffect(CounterType.P1P1.createInstance()), new ManaCostsImpl<>("{1}{R}"));
ability.addCost(new SacrificeTargetCost(filter));
this.addAbility(ability);
diff --git a/Mage.Sets/src/mage/cards/g/GoblinReplica.java b/Mage.Sets/src/mage/cards/g/GoblinReplica.java
index 94c5de4862c..12b7725085d 100644
--- a/Mage.Sets/src/mage/cards/g/GoblinReplica.java
+++ b/Mage.Sets/src/mage/cards/g/GoblinReplica.java
@@ -33,7 +33,7 @@ public final class GoblinReplica extends CardImpl {
this.subtype.add(SubType.GOBLIN);
this.power = new MageInt(2);
this.toughness = new MageInt(2);
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DestroyTargetEffect(), new ManaCostsImpl<>("{3}{R}"));
+ Ability ability = new SimpleActivatedAbility(new DestroyTargetEffect(), new ManaCostsImpl<>("{3}{R}"));
ability.addCost(new SacrificeSourceCost());
ability.addTarget(new TargetPermanent(filter));
this.addAbility(ability);
diff --git a/Mage.Sets/src/mage/cards/g/GoblinSappers.java b/Mage.Sets/src/mage/cards/g/GoblinSappers.java
index ec64f377482..b6d78f9b68d 100644
--- a/Mage.Sets/src/mage/cards/g/GoblinSappers.java
+++ b/Mage.Sets/src/mage/cards/g/GoblinSappers.java
@@ -33,7 +33,7 @@ public final class GoblinSappers extends CardImpl {
this.toughness = new MageInt(1);
// {R}{R}, {T}: Target creature you control can’t be blocked this turn. Destroy it and Goblin Sappers at end of combat.
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new CantBeBlockedTargetEffect(), new ManaCostsImpl<>("{R}{R}"));
+ Ability ability = new SimpleActivatedAbility(new CantBeBlockedTargetEffect(), new ManaCostsImpl<>("{R}{R}"));
ability.addCost(new TapSourceCost());
ability.addTarget(new TargetControlledCreaturePermanent());
DelayedTriggeredAbility triggeredAbility = new AtTheEndOfCombatDelayedTriggeredAbility(new DestroyTargetEffect().setText("destroy that creature"));
@@ -42,7 +42,7 @@ public final class GoblinSappers extends CardImpl {
this.addAbility(ability);
// {R}{R}{R}{R}, {T}: Target creature you control can’t be blocked this turn. Destroy it at end of combat.
- Ability secondAbility = new SimpleActivatedAbility(Zone.BATTLEFIELD, new CantBeBlockedTargetEffect(), new ManaCostsImpl<>("{R}{R}{R}{R}"));
+ Ability secondAbility = new SimpleActivatedAbility(new CantBeBlockedTargetEffect(), new ManaCostsImpl<>("{R}{R}{R}{R}"));
secondAbility.addCost(new TapSourceCost());
secondAbility.addTarget(new TargetControlledCreaturePermanent());
DelayedTriggeredAbility secondTriggeredAbility = new AtTheEndOfCombatDelayedTriggeredAbility(new DestroyTargetEffect().setText("destroy that creature"));
diff --git a/Mage.Sets/src/mage/cards/g/GoblinSharpshooter.java b/Mage.Sets/src/mage/cards/g/GoblinSharpshooter.java
index ff9f1bb48d4..930419024c9 100644
--- a/Mage.Sets/src/mage/cards/g/GoblinSharpshooter.java
+++ b/Mage.Sets/src/mage/cards/g/GoblinSharpshooter.java
@@ -36,7 +36,7 @@ public final class GoblinSharpshooter extends CardImpl {
// Whenever a creature dies, untap Goblin Sharpshooter.
this.addAbility(new DiesCreatureTriggeredAbility(new UntapSourceEffect(), false));
// {T}: Goblin Sharpshooter deals 1 damage to any target.
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(1), new TapSourceCost());
+ Ability ability = new SimpleActivatedAbility(new DamageTargetEffect(1), new TapSourceCost());
ability.addTarget(new TargetAnyTarget());
this.addAbility(ability);
}
diff --git a/Mage.Sets/src/mage/cards/g/GoblinSkycutter.java b/Mage.Sets/src/mage/cards/g/GoblinSkycutter.java
index b06a7ee85f1..fa99a35d84e 100644
--- a/Mage.Sets/src/mage/cards/g/GoblinSkycutter.java
+++ b/Mage.Sets/src/mage/cards/g/GoblinSkycutter.java
@@ -40,7 +40,7 @@ public final class GoblinSkycutter extends CardImpl {
this.toughness = new MageInt(1);
// Sacrifice Goblin Skycutter: Goblin Skycutter deals 2 damage to target creature with flying. That creature loses flying until end of turn.
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(2, "it"), new SacrificeSourceCost());
+ Ability ability = new SimpleActivatedAbility(new DamageTargetEffect(2, "it"), new SacrificeSourceCost());
ability.addEffect(new LoseAbilityTargetEffect(FlyingAbility.getInstance(), Duration.EndOfTurn).setText("that creature loses flying until end of turn"));
ability.addTarget(new TargetCreaturePermanent(filter));
this.addAbility(ability);
diff --git a/Mage.Sets/src/mage/cards/g/GoblinSledder.java b/Mage.Sets/src/mage/cards/g/GoblinSledder.java
index 1baad15521a..62e6eb1e229 100644
--- a/Mage.Sets/src/mage/cards/g/GoblinSledder.java
+++ b/Mage.Sets/src/mage/cards/g/GoblinSledder.java
@@ -32,7 +32,7 @@ public final class GoblinSledder extends CardImpl {
this.toughness = new MageInt(1);
// Sacrifice a Goblin: Target creature gets +1/+1 until end of turn.
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostTargetEffect(1,1,Duration.EndOfTurn),
+ Ability ability = new SimpleActivatedAbility(new BoostTargetEffect(1,1,Duration.EndOfTurn),
new SacrificeTargetCost(filter));
ability.addTarget(new TargetCreaturePermanent());
this.addAbility(ability);
diff --git a/Mage.Sets/src/mage/cards/g/GoblinSoothsayer.java b/Mage.Sets/src/mage/cards/g/GoblinSoothsayer.java
index a27e6595bd5..5daf2fa43d3 100644
--- a/Mage.Sets/src/mage/cards/g/GoblinSoothsayer.java
+++ b/Mage.Sets/src/mage/cards/g/GoblinSoothsayer.java
@@ -42,7 +42,7 @@ public final class GoblinSoothsayer extends CardImpl {
this.toughness = new MageInt(1);
// {R}, {T}, Sacrifice a Goblin: Red creatures get +1/+1 until end of turn.
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostAllEffect(1,1,Duration.EndOfTurn, filter, false), new ManaCostsImpl<>("{R}"));
+ Ability ability = new SimpleActivatedAbility(new BoostAllEffect(1,1,Duration.EndOfTurn, filter, false), new ManaCostsImpl<>("{R}"));
ability.addCost(new TapSourceCost());
ability.addCost(new SacrificeTargetCost(filter2));
this.addAbility(ability);
diff --git a/Mage.Sets/src/mage/cards/g/GoblinTaskmaster.java b/Mage.Sets/src/mage/cards/g/GoblinTaskmaster.java
index 6e10b260be6..51af39c4703 100644
--- a/Mage.Sets/src/mage/cards/g/GoblinTaskmaster.java
+++ b/Mage.Sets/src/mage/cards/g/GoblinTaskmaster.java
@@ -36,7 +36,7 @@ public final class GoblinTaskmaster extends CardImpl {
this.toughness = new MageInt(1);
// {1}{R}: Target Goblin creature gets +1/+0 until end of turn.
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostTargetEffect(1, 0, Duration.EndOfTurn), new ManaCostsImpl<>("{1}{R}"));
+ Ability ability = new SimpleActivatedAbility(new BoostTargetEffect(1, 0, Duration.EndOfTurn), new ManaCostsImpl<>("{1}{R}"));
ability.addTarget(new TargetCreaturePermanent(filter));
this.addAbility(ability);
diff --git a/Mage.Sets/src/mage/cards/g/GoblinTestPilot.java b/Mage.Sets/src/mage/cards/g/GoblinTestPilot.java
index f95fc74e592..0d5019e5eef 100644
--- a/Mage.Sets/src/mage/cards/g/GoblinTestPilot.java
+++ b/Mage.Sets/src/mage/cards/g/GoblinTestPilot.java
@@ -34,7 +34,7 @@ public final class GoblinTestPilot extends CardImpl {
// Flying
this.addAbility(FlyingAbility.getInstance());
// {tap}: Goblin Test Pilot deals 2 damage to any target chosen at random.
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(2), new TapSourceCost());
+ Ability ability = new SimpleActivatedAbility(new DamageTargetEffect(2), new TapSourceCost());
Target target = new TargetAnyTarget();
target.setRandom(true);
ability.addTarget(target);
diff --git a/Mage.Sets/src/mage/cards/g/GoblinTinkerer.java b/Mage.Sets/src/mage/cards/g/GoblinTinkerer.java
index 0c93f809cc9..8637f1a8363 100644
--- a/Mage.Sets/src/mage/cards/g/GoblinTinkerer.java
+++ b/Mage.Sets/src/mage/cards/g/GoblinTinkerer.java
@@ -34,7 +34,7 @@ public final class GoblinTinkerer extends CardImpl {
this.toughness = new MageInt(2);
// {R}, {T}: Destroy target artifact. That artifact deals damage equal to its converted mana cost to Goblin Tinkerer.
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DestroyTargetEffect(), new ManaCostsImpl<>("{R}"));
+ Ability ability = new SimpleActivatedAbility(new DestroyTargetEffect(), new ManaCostsImpl<>("{R}"));
ability.addEffect(new GoblinTinkererDamageEffect());
ability.addCost(new TapSourceCost());
ability.addTarget(new TargetArtifactPermanent());
diff --git a/Mage.Sets/src/mage/cards/g/GoblinTunneler.java b/Mage.Sets/src/mage/cards/g/GoblinTunneler.java
index 525c6c8861f..794fcf94f45 100644
--- a/Mage.Sets/src/mage/cards/g/GoblinTunneler.java
+++ b/Mage.Sets/src/mage/cards/g/GoblinTunneler.java
@@ -39,7 +39,7 @@ public final class GoblinTunneler extends CardImpl {
this.toughness = new MageInt(1);
// {tap}: Target creature with power 2 or less can't be blocked this turn.
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new CantBeBlockedTargetEffect(), new TapSourceCost());
+ Ability ability = new SimpleActivatedAbility(new CantBeBlockedTargetEffect(), new TapSourceCost());
ability.addTarget(new TargetCreaturePermanent(filter));
this.addAbility(ability);
}
diff --git a/Mage.Sets/src/mage/cards/g/GoblinTurncoat.java b/Mage.Sets/src/mage/cards/g/GoblinTurncoat.java
index 9f4cd529d1d..4b1121fc8e1 100644
--- a/Mage.Sets/src/mage/cards/g/GoblinTurncoat.java
+++ b/Mage.Sets/src/mage/cards/g/GoblinTurncoat.java
@@ -31,7 +31,7 @@ public final class GoblinTurncoat extends CardImpl {
this.toughness = new MageInt(1);
// Sacrifice a Goblin: Regenerate Goblin Turncoat.
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new RegenerateSourceEffect(),
+ Ability ability = new SimpleActivatedAbility(new RegenerateSourceEffect(),
new SacrificeTargetCost(filter));
this.addAbility(ability);
}
diff --git a/Mage.Sets/src/mage/cards/g/GoblinWarrens.java b/Mage.Sets/src/mage/cards/g/GoblinWarrens.java
index 7152ad16eb5..3702346ec35 100644
--- a/Mage.Sets/src/mage/cards/g/GoblinWarrens.java
+++ b/Mage.Sets/src/mage/cards/g/GoblinWarrens.java
@@ -26,7 +26,7 @@ public final class GoblinWarrens extends CardImpl {
super(ownerId,setInfo,new CardType[]{CardType.ENCHANTMENT},"{2}{R}");
// {2}{R}, Sacrifice two Goblins: Create three 1/1 red Goblin creature tokens.
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new CreateTokenEffect(new GoblinToken(), 3), new ManaCostsImpl<>("{2}{R}"));
+ Ability ability = new SimpleActivatedAbility(new CreateTokenEffect(new GoblinToken(), 3), new ManaCostsImpl<>("{2}{R}"));
ability.addCost(new SacrificeTargetCost(2, filter));
this.addAbility(ability);
}
diff --git a/Mage.Sets/src/mage/cards/g/Godsire.java b/Mage.Sets/src/mage/cards/g/Godsire.java
index df3fe44b9e1..3e2585fa93e 100644
--- a/Mage.Sets/src/mage/cards/g/Godsire.java
+++ b/Mage.Sets/src/mage/cards/g/Godsire.java
@@ -27,7 +27,7 @@ public final class Godsire extends CardImpl {
this.power = new MageInt(8);
this.toughness = new MageInt(8);
this.addAbility(VigilanceAbility.getInstance());
- this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new CreateTokenEffect(new GodSireBeastToken()), new TapSourceCost()));
+ this.addAbility(new SimpleActivatedAbility(new CreateTokenEffect(new GodSireBeastToken()), new TapSourceCost()));
}
private Godsire(final Godsire card) {
diff --git a/Mage.Sets/src/mage/cards/g/GohamDjinn.java b/Mage.Sets/src/mage/cards/g/GohamDjinn.java
index c07eb5efdf7..60938aefdb6 100644
--- a/Mage.Sets/src/mage/cards/g/GohamDjinn.java
+++ b/Mage.Sets/src/mage/cards/g/GohamDjinn.java
@@ -32,7 +32,7 @@ public final class GohamDjinn extends CardImpl {
this.toughness = new MageInt(5);
// {1}{B}: Regenerate Goham Djinn.
- this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new RegenerateSourceEffect(), new ManaCostsImpl<>("{1}{B}")));
+ this.addAbility(new SimpleActivatedAbility(new RegenerateSourceEffect(), new ManaCostsImpl<>("{1}{B}")));
// Goham Djinn gets -2/-2 as long as black is the most common color among all permanents or is tied for most common.
this.addAbility(new SimpleStaticAbility(
diff --git a/Mage.Sets/src/mage/cards/g/GoldenUrn.java b/Mage.Sets/src/mage/cards/g/GoldenUrn.java
index e5c479e2dd0..187af29d5b8 100644
--- a/Mage.Sets/src/mage/cards/g/GoldenUrn.java
+++ b/Mage.Sets/src/mage/cards/g/GoldenUrn.java
@@ -26,7 +26,7 @@ public final class GoldenUrn extends CardImpl {
public GoldenUrn (UUID ownerId, CardSetInfo setInfo) {
super(ownerId,setInfo,new CardType[]{CardType.ARTIFACT},"{1}");
this.addAbility(new BeginningOfUpkeepTriggeredAbility(new AddCountersSourceEffect(CounterType.CHARGE.createInstance()), true));
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new GainLifeEffect(new CountersSourceCount(CounterType.CHARGE)), new TapSourceCost());
+ Ability ability = new SimpleActivatedAbility(new GainLifeEffect(new CountersSourceCount(CounterType.CHARGE)), new TapSourceCost());
ability.addCost(new SacrificeSourceCost());
this.addAbility(ability);
}
diff --git a/Mage.Sets/src/mage/cards/g/GoldmeadowHarrier.java b/Mage.Sets/src/mage/cards/g/GoldmeadowHarrier.java
index 1b049fcc3ae..da13191167c 100644
--- a/Mage.Sets/src/mage/cards/g/GoldmeadowHarrier.java
+++ b/Mage.Sets/src/mage/cards/g/GoldmeadowHarrier.java
@@ -29,7 +29,7 @@ public final class GoldmeadowHarrier extends CardImpl {
this.power = new MageInt(1);
this.toughness = new MageInt(1);
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new TapTargetEffect(), new ManaCostsImpl<>("{W}"));
+ Ability ability = new SimpleActivatedAbility(new TapTargetEffect(), new ManaCostsImpl<>("{W}"));
ability.addCost(new TapSourceCost());
ability.addTarget(new TargetCreaturePermanent());
this.addAbility(ability);
diff --git a/Mage.Sets/src/mage/cards/g/GoldmeadowLookout.java b/Mage.Sets/src/mage/cards/g/GoldmeadowLookout.java
index ebd61dd71b6..4eabe617f7a 100644
--- a/Mage.Sets/src/mage/cards/g/GoldmeadowLookout.java
+++ b/Mage.Sets/src/mage/cards/g/GoldmeadowLookout.java
@@ -30,7 +30,7 @@ public final class GoldmeadowLookout extends CardImpl {
this.toughness = new MageInt(2);
// {W}, {tap}, Discard a card: Create a 1/1 white Kithkin Soldier creature token named Goldmeadow Harrier. It has "{W}, {tap}: Tap target creature."
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new CreateTokenEffect(new GoldmeadowHarrierToken()), new ManaCostsImpl<>("{W}"));
+ Ability ability = new SimpleActivatedAbility(new CreateTokenEffect(new GoldmeadowHarrierToken()), new ManaCostsImpl<>("{W}"));
ability.addCost(new TapSourceCost());
ability.addCost(new DiscardCardCost());
this.addAbility(ability);
diff --git a/Mage.Sets/src/mage/cards/g/GolemArtisan.java b/Mage.Sets/src/mage/cards/g/GolemArtisan.java
index 45185b0f73c..893ec99853d 100644
--- a/Mage.Sets/src/mage/cards/g/GolemArtisan.java
+++ b/Mage.Sets/src/mage/cards/g/GolemArtisan.java
@@ -34,12 +34,12 @@ public final class GolemArtisan extends CardImpl {
this.toughness = new MageInt(3);
// {2}: Target artifact creature gets +1/+1 until end of turn.
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostTargetEffect(1, 1, Duration.EndOfTurn), new GenericManaCost(2));
+ Ability ability = new SimpleActivatedAbility(new BoostTargetEffect(1, 1, Duration.EndOfTurn), new GenericManaCost(2));
ability.addTarget(new TargetCreaturePermanent(StaticFilters.FILTER_PERMANENT_ARTIFACT_CREATURE));
this.addAbility(ability);
// {2}: Target artifact creature gains your choice of flying, trample, or haste until end of turn.
- ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new GainsChoiceOfAbilitiesEffect(
+ ability = new SimpleActivatedAbility(new GainsChoiceOfAbilitiesEffect(
FlyingAbility.getInstance(), TrampleAbility.getInstance(), HasteAbility.getInstance()), new GenericManaCost(2));
ability.addTarget(new TargetCreaturePermanent(StaticFilters.FILTER_PERMANENT_ARTIFACT_CREATURE));
this.addAbility(ability);
@@ -55,4 +55,3 @@ public final class GolemArtisan extends CardImpl {
return new GolemArtisan(this);
}
}
-
diff --git a/Mage.Sets/src/mage/cards/g/GolemFoundry.java b/Mage.Sets/src/mage/cards/g/GolemFoundry.java
index 151f7c049b1..b5f3e389fbf 100644
--- a/Mage.Sets/src/mage/cards/g/GolemFoundry.java
+++ b/Mage.Sets/src/mage/cards/g/GolemFoundry.java
@@ -25,7 +25,7 @@ public final class GolemFoundry extends CardImpl {
// Whenever you cast an artifact spell, you may put a charge counter on Golem Foundry.
this.addAbility(new SpellCastControllerTriggeredAbility(new AddCountersSourceEffect(CounterType.CHARGE.createInstance()), StaticFilters.FILTER_SPELL_AN_ARTIFACT, true));
// Remove three charge counters from Golem Foundry: Create a 3/3 colorless Golem artifact creature token.
- this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new CreateTokenEffect(new GolemToken()), new RemoveCountersSourceCost(CounterType.CHARGE.createInstance(3))));
+ this.addAbility(new SimpleActivatedAbility(new CreateTokenEffect(new GolemToken()), new RemoveCountersSourceCost(CounterType.CHARGE.createInstance(3))));
}
private GolemFoundry(final GolemFoundry card) {
diff --git a/Mage.Sets/src/mage/cards/g/GolgariCluestone.java b/Mage.Sets/src/mage/cards/g/GolgariCluestone.java
index 8174dae6e2e..767340994ad 100644
--- a/Mage.Sets/src/mage/cards/g/GolgariCluestone.java
+++ b/Mage.Sets/src/mage/cards/g/GolgariCluestone.java
@@ -32,7 +32,7 @@ public final class GolgariCluestone extends CardImpl {
this.addAbility(new GreenManaAbility());
// {B}{G}, {T}, Sacrifice Golgari Cluestone: Draw a card.
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DrawCardSourceControllerEffect(1), new ManaCostsImpl<>("{B}{G}"));
+ Ability ability = new SimpleActivatedAbility(new DrawCardSourceControllerEffect(1), new ManaCostsImpl<>("{B}{G}"));
ability.addCost(new TapSourceCost());
ability.addCost(new SacrificeSourceCost());
this.addAbility(ability);
diff --git a/Mage.Sets/src/mage/cards/g/GolgariGraveTroll.java b/Mage.Sets/src/mage/cards/g/GolgariGraveTroll.java
index 0080714eeac..a0b1154ea8d 100644
--- a/Mage.Sets/src/mage/cards/g/GolgariGraveTroll.java
+++ b/Mage.Sets/src/mage/cards/g/GolgariGraveTroll.java
@@ -39,7 +39,7 @@ public final class GolgariGraveTroll extends CardImpl {
// Golgari Grave-Troll enters the battlefield with a +1/+1 counter on it for each creature card in your graveyard.
this.addAbility(new EntersBattlefieldAbility(new GolgariGraveTrollEffect(), "with a +1/+1 counter on it for each creature card in your graveyard"));
// {1}, Remove a +1/+1 counter from Golgari Grave-Troll: Regenerate Golgari Grave-Troll.
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new RegenerateSourceEffect(), new ManaCostsImpl<>("{1}"));
+ Ability ability = new SimpleActivatedAbility(new RegenerateSourceEffect(), new ManaCostsImpl<>("{1}"));
ability.addCost(new RemoveCountersSourceCost(CounterType.P1P1.createInstance()));
this.addAbility(ability);
// Dredge 6
diff --git a/Mage.Sets/src/mage/cards/g/GolgariKeyrune.java b/Mage.Sets/src/mage/cards/g/GolgariKeyrune.java
index ec28151fb43..d68d3085bc3 100644
--- a/Mage.Sets/src/mage/cards/g/GolgariKeyrune.java
+++ b/Mage.Sets/src/mage/cards/g/GolgariKeyrune.java
@@ -30,7 +30,7 @@ public final class GolgariKeyrune extends CardImpl {
this.addAbility(new GreenManaAbility());
// {B}{G}: Golgari Keyrune becomes a 2/2 black and green Insect artifact creature with deathtouch until end of turn.
- this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new BecomesCreatureSourceEffect(new GolgariKeyruneToken(), CardType.ARTIFACT, Duration.EndOfTurn), new ManaCostsImpl<>("{B}{G}")));
+ this.addAbility(new SimpleActivatedAbility(new BecomesCreatureSourceEffect(new GolgariKeyruneToken(), CardType.ARTIFACT, Duration.EndOfTurn), new ManaCostsImpl<>("{B}{G}")));
}
private GolgariKeyrune(final GolgariKeyrune card) {
diff --git a/Mage.Sets/src/mage/cards/g/GolgariRotwurm.java b/Mage.Sets/src/mage/cards/g/GolgariRotwurm.java
index d717861359e..24dd500f0d0 100644
--- a/Mage.Sets/src/mage/cards/g/GolgariRotwurm.java
+++ b/Mage.Sets/src/mage/cards/g/GolgariRotwurm.java
@@ -33,7 +33,7 @@ public final class GolgariRotwurm extends CardImpl {
this.toughness = new MageInt(4);
// {B}, Sacrifice a creature: Target player loses 1 life.
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new LoseLifeTargetEffect(1), new ColoredManaCost(ColoredManaSymbol.B));
+ Ability ability = new SimpleActivatedAbility(new LoseLifeTargetEffect(1), new ColoredManaCost(ColoredManaSymbol.B));
ability.addCost(new SacrificeTargetCost(StaticFilters.FILTER_PERMANENT_CREATURE));
ability.addTarget(new TargetPlayer());
this.addAbility(ability);
diff --git a/Mage.Sets/src/mage/cards/g/GolgothianSylex.java b/Mage.Sets/src/mage/cards/g/GolgothianSylex.java
index beae1453196..c8b1d287e55 100644
--- a/Mage.Sets/src/mage/cards/g/GolgothianSylex.java
+++ b/Mage.Sets/src/mage/cards/g/GolgothianSylex.java
@@ -31,7 +31,7 @@ public final class GolgothianSylex extends CardImpl {
super(ownerId,setInfo,new CardType[]{CardType.ARTIFACT},"{4}");
// {1}, {tap}: Each nontoken permanent from the Antiquities expansion is sacrificed by its controller.
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new GolgothianSylexEffect(), new ManaCostsImpl<>("{1}"));
+ Ability ability = new SimpleActivatedAbility(new GolgothianSylexEffect(), new ManaCostsImpl<>("{1}"));
ability.addCost(new TapSourceCost());
this.addAbility(ability);
}
diff --git a/Mage.Sets/src/mage/cards/g/Gomazoa.java b/Mage.Sets/src/mage/cards/g/Gomazoa.java
index 5fc4ac8a933..7c5c86fb8c5 100644
--- a/Mage.Sets/src/mage/cards/g/Gomazoa.java
+++ b/Mage.Sets/src/mage/cards/g/Gomazoa.java
@@ -44,7 +44,7 @@ public final class Gomazoa extends CardImpl {
this.addAbility(FlyingAbility.getInstance());
// {tap}: Put Gomazoa and each creature it's blocking on top of their owners' libraries, then those players shuffle their libraries.
- this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new GomazoaEffect(), new TapSourceCost()), new BlockedByWatcher());
+ this.addAbility(new SimpleActivatedAbility(new GomazoaEffect(), new TapSourceCost()), new BlockedByWatcher());
}
diff --git a/Mage.Sets/src/mage/cards/g/GorillaChieftain.java b/Mage.Sets/src/mage/cards/g/GorillaChieftain.java
index 03d5065a9a4..69238c9eeaa 100644
--- a/Mage.Sets/src/mage/cards/g/GorillaChieftain.java
+++ b/Mage.Sets/src/mage/cards/g/GorillaChieftain.java
@@ -26,7 +26,7 @@ public final class GorillaChieftain extends CardImpl {
this.toughness = new MageInt(3);
// {1}{G}: Regenerate Gorilla Chieftain.
- this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new RegenerateSourceEffect(), new ManaCostsImpl<>("{1}{G}")));
+ this.addAbility(new SimpleActivatedAbility(new RegenerateSourceEffect(), new ManaCostsImpl<>("{1}{G}")));
}
private GorillaChieftain(final GorillaChieftain card) {
diff --git a/Mage.Sets/src/mage/cards/g/GorillaShaman.java b/Mage.Sets/src/mage/cards/g/GorillaShaman.java
index 842054be47e..7d9a3fae9a0 100644
--- a/Mage.Sets/src/mage/cards/g/GorillaShaman.java
+++ b/Mage.Sets/src/mage/cards/g/GorillaShaman.java
@@ -38,7 +38,7 @@ public final class GorillaShaman extends CardImpl {
this.toughness = new MageInt(1);
// {X}{X}{1}: Destroy target noncreature artifact with converted mana cost X.
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DestroyTargetEffect(), new ManaCostsImpl<>("{X}{X}{1}"));
+ Ability ability = new SimpleActivatedAbility(new DestroyTargetEffect(), new ManaCostsImpl<>("{X}{X}{1}"));
ability.addTarget(new TargetPermanent(filter));
ability.setTargetAdjuster(new XManaValueTargetAdjuster());
this.addAbility(ability);
diff --git a/Mage.Sets/src/mage/cards/g/GossamerChains.java b/Mage.Sets/src/mage/cards/g/GossamerChains.java
index cb2be937394..56afe0a9dba 100644
--- a/Mage.Sets/src/mage/cards/g/GossamerChains.java
+++ b/Mage.Sets/src/mage/cards/g/GossamerChains.java
@@ -31,7 +31,7 @@ public final class GossamerChains extends CardImpl {
super(ownerId,setInfo,new CardType[]{CardType.ENCHANTMENT},"{W}{W}");
// Return Gossamer Chains to its owner's hand: Prevent all combat damage that would be dealt by target unblocked creature this turn.
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new PreventDamageByTargetEffect(Duration.EndOfTurn, true), new ReturnToHandFromBattlefieldSourceCost());
+ Ability ability = new SimpleActivatedAbility(new PreventDamageByTargetEffect(Duration.EndOfTurn, true), new ReturnToHandFromBattlefieldSourceCost());
ability.addTarget(new TargetCreaturePermanent(filter));
this.addAbility(ability);
}
diff --git a/Mage.Sets/src/mage/cards/g/GrafHarvest.java b/Mage.Sets/src/mage/cards/g/GrafHarvest.java
index 5b0d75b5ada..73847fbf52b 100644
--- a/Mage.Sets/src/mage/cards/g/GrafHarvest.java
+++ b/Mage.Sets/src/mage/cards/g/GrafHarvest.java
@@ -43,7 +43,7 @@ public final class GrafHarvest extends CardImpl {
this.addAbility(new SimpleStaticAbility(effect));
// {3}{B}, Exile a creature card from your graveyard: Create a 2/2 black Zombie creature token.
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new CreateTokenEffect(new ZombieToken()), new ManaCostsImpl<>("{3}{B}"));
+ Ability ability = new SimpleActivatedAbility(new CreateTokenEffect(new ZombieToken()), new ManaCostsImpl<>("{3}{B}"));
ability.addCost(new ExileFromGraveCost(new TargetCardInYourGraveyard(new FilterCreatureCard("a creature card from your graveyard"))));
this.addAbility(ability);
}
diff --git a/Mage.Sets/src/mage/cards/g/GrandArchitect.java b/Mage.Sets/src/mage/cards/g/GrandArchitect.java
index a504b443aca..e21d3124bc3 100644
--- a/Mage.Sets/src/mage/cards/g/GrandArchitect.java
+++ b/Mage.Sets/src/mage/cards/g/GrandArchitect.java
@@ -53,7 +53,7 @@ public final class GrandArchitect extends CardImpl {
this.addAbility(new SimpleStaticAbility(new BoostControlledEffect(1, 1, Duration.WhileOnBattlefield, boostFilter, true)));
// {U}: Target artifact creature becomes blue until end of turn.
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new GrandArchitectEffect(), new ManaCostsImpl<>("{U}"));
+ Ability ability = new SimpleActivatedAbility(new GrandArchitectEffect(), new ManaCostsImpl<>("{U}"));
ability.addTarget(new TargetPermanent(StaticFilters.FILTER_PERMANENT_ARTIFACT_CREATURE));
this.addAbility(ability);
diff --git a/Mage.Sets/src/mage/cards/g/GrandmotherSengir.java b/Mage.Sets/src/mage/cards/g/GrandmotherSengir.java
index 06b54714aef..160fc03c6b3 100644
--- a/Mage.Sets/src/mage/cards/g/GrandmotherSengir.java
+++ b/Mage.Sets/src/mage/cards/g/GrandmotherSengir.java
@@ -32,7 +32,7 @@ public final class GrandmotherSengir extends CardImpl {
this.toughness = new MageInt(3);
// {1}{B}, {tap}: Target creature gets -1/-1 until end of turn.
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostTargetEffect(-1, -1, Duration.EndOfTurn), new ManaCostsImpl<>("{1}{B}"));
+ Ability ability = new SimpleActivatedAbility(new BoostTargetEffect(-1, -1, Duration.EndOfTurn), new ManaCostsImpl<>("{1}{B}"));
ability.addCost(new TapSourceCost());
ability.addTarget(new TargetCreaturePermanent());
this.addAbility(ability);
diff --git a/Mage.Sets/src/mage/cards/g/GrangerGuildmage.java b/Mage.Sets/src/mage/cards/g/GrangerGuildmage.java
index 2592c683377..aa45d3eb1c8 100644
--- a/Mage.Sets/src/mage/cards/g/GrangerGuildmage.java
+++ b/Mage.Sets/src/mage/cards/g/GrangerGuildmage.java
@@ -34,14 +34,14 @@ public final class GrangerGuildmage extends CardImpl {
this.toughness = new MageInt(1);
// {R}, {tap}: Granger Guildmage deals 1 damage to any target and 1 damage to you.
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(1), new ManaCostsImpl<>("{R}"));
+ Ability ability = new SimpleActivatedAbility(new DamageTargetEffect(1), new ManaCostsImpl<>("{R}"));
ability.addCost(new TapSourceCost());
ability.addEffect(new DamageControllerEffect(1).setText("and 1 damage to you"));
ability.addTarget(new TargetAnyTarget());
this.addAbility(ability);
// {W}, {tap}: Target creature gains first strike until end of turn.
- ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new GainAbilityTargetEffect(FirstStrikeAbility.getInstance(), Duration.EndOfTurn), new ManaCostsImpl<>("{W}"));
+ ability = new SimpleActivatedAbility(new GainAbilityTargetEffect(FirstStrikeAbility.getInstance(), Duration.EndOfTurn), new ManaCostsImpl<>("{W}"));
ability.addCost(new TapSourceCost());
ability.addTarget(new TargetCreaturePermanent());
this.addAbility(ability);
diff --git a/Mage.Sets/src/mage/cards/g/GraniteGargoyle.java b/Mage.Sets/src/mage/cards/g/GraniteGargoyle.java
index 6ac12f4003e..1f210b7d739 100644
--- a/Mage.Sets/src/mage/cards/g/GraniteGargoyle.java
+++ b/Mage.Sets/src/mage/cards/g/GraniteGargoyle.java
@@ -29,7 +29,7 @@ public final class GraniteGargoyle extends CardImpl {
// Flying
this.addAbility(FlyingAbility.getInstance());
// {R}: Granite Gargoyle gets +0/+1 until end of turn.
- this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostSourceEffect(0, 1, Duration.EndOfTurn), new ManaCostsImpl<>("{R}")));
+ this.addAbility(new SimpleActivatedAbility(new BoostSourceEffect(0, 1, Duration.EndOfTurn), new ManaCostsImpl<>("{R}")));
}
private GraniteGargoyle(final GraniteGargoyle card) {
diff --git a/Mage.Sets/src/mage/cards/g/GrapeshotCatapult.java b/Mage.Sets/src/mage/cards/g/GrapeshotCatapult.java
index 0d0c47e2280..12561052632 100644
--- a/Mage.Sets/src/mage/cards/g/GrapeshotCatapult.java
+++ b/Mage.Sets/src/mage/cards/g/GrapeshotCatapult.java
@@ -37,7 +37,7 @@ public final class GrapeshotCatapult extends CardImpl {
this.toughness = new MageInt(3);
// {tap}: Grapeshot Catapult deals 1 damage to target creature with flying.
- Ability activatedAbility = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(1), new TapSourceCost());
+ Ability activatedAbility = new SimpleActivatedAbility(new DamageTargetEffect(1), new TapSourceCost());
activatedAbility.addTarget(new TargetCreaturePermanent(filter));
this.addAbility(activatedAbility);
}
diff --git a/Mage.Sets/src/mage/cards/g/GrasslandCrusader.java b/Mage.Sets/src/mage/cards/g/GrasslandCrusader.java
index c76783f5b1f..0536fa34cb4 100644
--- a/Mage.Sets/src/mage/cards/g/GrasslandCrusader.java
+++ b/Mage.Sets/src/mage/cards/g/GrasslandCrusader.java
@@ -38,7 +38,7 @@ public final class GrasslandCrusader extends CardImpl {
this.toughness = new MageInt(4);
// {tap}: Target Elf or Soldier creature gets +2/+2 until end of turn.
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostTargetEffect(2, 2, Duration.EndOfTurn), new TapSourceCost());
+ Ability ability = new SimpleActivatedAbility(new BoostTargetEffect(2, 2, Duration.EndOfTurn), new TapSourceCost());
ability.addTarget(new TargetCreaturePermanent(filter));
this.addAbility(ability);
}
diff --git a/Mage.Sets/src/mage/cards/g/GraveDefiler.java b/Mage.Sets/src/mage/cards/g/GraveDefiler.java
index eace4dbf038..8194fabdce9 100644
--- a/Mage.Sets/src/mage/cards/g/GraveDefiler.java
+++ b/Mage.Sets/src/mage/cards/g/GraveDefiler.java
@@ -37,7 +37,7 @@ public final class GraveDefiler extends CardImpl {
this.addAbility(new EntersBattlefieldTriggeredAbility(new RevealLibraryPutIntoHandEffect(4, filter, Zone.LIBRARY)));
// {1}{B}: Regenerate Grave Defiler.
- this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new RegenerateSourceEffect(), new ManaCostsImpl<>("{1}{B}")));
+ this.addAbility(new SimpleActivatedAbility(new RegenerateSourceEffect(), new ManaCostsImpl<>("{1}{B}")));
}
private GraveDefiler(final GraveDefiler card) {
diff --git a/Mage.Sets/src/mage/cards/g/GraveRobbers.java b/Mage.Sets/src/mage/cards/g/GraveRobbers.java
index 51be10b3895..9a600fb76e2 100644
--- a/Mage.Sets/src/mage/cards/g/GraveRobbers.java
+++ b/Mage.Sets/src/mage/cards/g/GraveRobbers.java
@@ -32,7 +32,7 @@ public final class GraveRobbers extends CardImpl {
this.toughness = new MageInt(1);
// {B}, {tap}: Exile target artifact card from a graveyard. You gain 2 life.
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new ExileTargetEffect(), new ManaCostsImpl<>("{B}"));
+ Ability ability = new SimpleActivatedAbility(new ExileTargetEffect(), new ManaCostsImpl<>("{B}"));
ability.addCost(new TapSourceCost());
ability.addTarget(new TargetCardInGraveyard(filter));
ability.addEffect(new GainLifeEffect(2));
diff --git a/Mage.Sets/src/mage/cards/g/GraveShellScarab.java b/Mage.Sets/src/mage/cards/g/GraveShellScarab.java
index b56046424a8..36dfcf61286 100644
--- a/Mage.Sets/src/mage/cards/g/GraveShellScarab.java
+++ b/Mage.Sets/src/mage/cards/g/GraveShellScarab.java
@@ -29,7 +29,7 @@ public final class GraveShellScarab extends CardImpl {
this.toughness = new MageInt(4);
// {1}, Sacrifice Grave-Shell Scarab: Draw a card.
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DrawCardSourceControllerEffect(1), new GenericManaCost(1));
+ Ability ability = new SimpleActivatedAbility(new DrawCardSourceControllerEffect(1), new GenericManaCost(1));
ability.addCost(new SacrificeSourceCost());
this.addAbility(ability);
// Dredge 1
diff --git a/Mage.Sets/src/mage/cards/g/GravelSlinger.java b/Mage.Sets/src/mage/cards/g/GravelSlinger.java
index fbb8f00d1bc..ab01098cca4 100644
--- a/Mage.Sets/src/mage/cards/g/GravelSlinger.java
+++ b/Mage.Sets/src/mage/cards/g/GravelSlinger.java
@@ -31,7 +31,7 @@ public final class GravelSlinger extends CardImpl {
this.toughness = new MageInt(3);
// {tap}: Gravel Slinger deals 1 damage to target attacking or blocking creature.
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(1), new TapSourceCost());
+ Ability ability = new SimpleActivatedAbility(new DamageTargetEffect(1), new TapSourceCost());
ability.addTarget(new TargetCreaturePermanent(new FilterAttackingOrBlockingCreature()));
this.addAbility(ability);
// Morph {1}{W}
diff --git a/Mage.Sets/src/mage/cards/g/GravespawnSovereign.java b/Mage.Sets/src/mage/cards/g/GravespawnSovereign.java
index 067be5624e6..126f0f857cf 100644
--- a/Mage.Sets/src/mage/cards/g/GravespawnSovereign.java
+++ b/Mage.Sets/src/mage/cards/g/GravespawnSovereign.java
@@ -39,7 +39,7 @@ public final class GravespawnSovereign extends CardImpl {
this.toughness = new MageInt(3);
// Tap five untapped Zombies you control: Put target creature card from a graveyard onto the battlefield under your control.
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new ReturnFromGraveyardToBattlefieldTargetEffect(), new TapTargetCost(new TargetControlledCreaturePermanent(5, 5, filter, true)));
+ Ability ability = new SimpleActivatedAbility(new ReturnFromGraveyardToBattlefieldTargetEffect(), new TapTargetCost(new TargetControlledCreaturePermanent(5, 5, filter, true)));
ability.addTarget(new TargetCardInGraveyard(StaticFilters.FILTER_CARD_CREATURE_A_GRAVEYARD));
this.addAbility(ability);
diff --git a/Mage.Sets/src/mage/cards/g/GrazingKelpie.java b/Mage.Sets/src/mage/cards/g/GrazingKelpie.java
index ff08e43f7ba..8d8a7ba2ed0 100644
--- a/Mage.Sets/src/mage/cards/g/GrazingKelpie.java
+++ b/Mage.Sets/src/mage/cards/g/GrazingKelpie.java
@@ -31,7 +31,7 @@ public final class GrazingKelpie extends CardImpl {
this.toughness = new MageInt(3);
// {GU}, Sacrifice Grazing Kelpie: Put target card from a graveyard on the bottom of its owner's library.
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new PutOnLibraryTargetEffect(false), new ManaCostsImpl<>("{G/U}"));
+ Ability ability = new SimpleActivatedAbility(new PutOnLibraryTargetEffect(false), new ManaCostsImpl<>("{G/U}"));
ability.addCost(new SacrificeSourceCost());
ability.addTarget(new TargetCardInGraveyard());
this.addAbility(ability);
diff --git a/Mage.Sets/src/mage/cards/g/GreaterForgeling.java b/Mage.Sets/src/mage/cards/g/GreaterForgeling.java
index 4d11a6c1814..165f71dee0f 100644
--- a/Mage.Sets/src/mage/cards/g/GreaterForgeling.java
+++ b/Mage.Sets/src/mage/cards/g/GreaterForgeling.java
@@ -27,7 +27,7 @@ public final class GreaterForgeling extends CardImpl {
this.toughness = new MageInt(4);
// {1}{R}: Greater Forgeling gets +3/-3 until end of turn.
- this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostSourceEffect(3, -3, Duration.EndOfTurn), new ManaCostsImpl<>("{1}{R}")));
+ this.addAbility(new SimpleActivatedAbility(new BoostSourceEffect(3, -3, Duration.EndOfTurn), new ManaCostsImpl<>("{1}{R}")));
}
private GreaterForgeling(final GreaterForgeling card) {
diff --git a/Mage.Sets/src/mage/cards/g/GreaterGood.java b/Mage.Sets/src/mage/cards/g/GreaterGood.java
index b893966a657..f0ab98fc275 100644
--- a/Mage.Sets/src/mage/cards/g/GreaterGood.java
+++ b/Mage.Sets/src/mage/cards/g/GreaterGood.java
@@ -28,7 +28,7 @@ public final class GreaterGood extends CardImpl {
// Sacrifice a creature: Draw cards equal to the sacrificed creature's power, then discard three cards.
Effect effect = new DrawCardSourceControllerEffect(SacrificeCostCreaturesPower.instance);
effect.setText("Draw cards equal to the sacrificed creature's power");
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, effect,
+ Ability ability = new SimpleActivatedAbility(effect,
new SacrificeTargetCost(StaticFilters.FILTER_PERMANENT_CREATURE));
effect = new DiscardControllerEffect(3);
effect.setText(", then discard three cards");
diff --git a/Mage.Sets/src/mage/cards/g/GreaterRealmOfPreservation.java b/Mage.Sets/src/mage/cards/g/GreaterRealmOfPreservation.java
index a79c077d2d2..74a405ba4ad 100644
--- a/Mage.Sets/src/mage/cards/g/GreaterRealmOfPreservation.java
+++ b/Mage.Sets/src/mage/cards/g/GreaterRealmOfPreservation.java
@@ -33,7 +33,7 @@ public final class GreaterRealmOfPreservation extends CardImpl {
// {1}{W}: The next time a black or red source of your choice would deal damage to you this turn, prevent that damage.
Effect effect = new PreventNextDamageFromChosenSourceToYouEffect(Duration.EndOfTurn, filter);
- this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, effect, new ManaCostsImpl<>("{1}{W}")));
+ this.addAbility(new SimpleActivatedAbility(effect, new ManaCostsImpl<>("{1}{W}")));
}
private GreaterRealmOfPreservation(final GreaterRealmOfPreservation card) {
diff --git a/Mage.Sets/src/mage/cards/g/GreaterStoneSpirit.java b/Mage.Sets/src/mage/cards/g/GreaterStoneSpirit.java
index e17ffb23372..dc73967e12c 100644
--- a/Mage.Sets/src/mage/cards/g/GreaterStoneSpirit.java
+++ b/Mage.Sets/src/mage/cards/g/GreaterStoneSpirit.java
@@ -52,7 +52,7 @@ public final class GreaterStoneSpirit extends CardImpl {
);
Effect effect = new GainAbilityTargetEffect(gainedAbility, Duration.EndOfTurn);
effect.setText("and gains \"{R}: This creature gets +1/+0 until end of turn.\"");
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostTargetEffect(0, 2, Duration.EndOfTurn)
+ Ability ability = new SimpleActivatedAbility(new BoostTargetEffect(0, 2, Duration.EndOfTurn)
.setText("until end of turn, target creature gets +0/+2"), new ManaCostsImpl<>("{2}{R}"));
ability.addEffect(effect);
ability.addTarget(new TargetCreaturePermanent());
diff --git a/Mage.Sets/src/mage/cards/g/Greed.java b/Mage.Sets/src/mage/cards/g/Greed.java
index ab0a29f6064..b7112da7110 100644
--- a/Mage.Sets/src/mage/cards/g/Greed.java
+++ b/Mage.Sets/src/mage/cards/g/Greed.java
@@ -23,7 +23,7 @@ public final class Greed extends CardImpl {
// {B}, Pay 2 life: Draw a card.
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DrawCardSourceControllerEffect(1), new ManaCostsImpl<>("{B}"));
+ Ability ability = new SimpleActivatedAbility(new DrawCardSourceControllerEffect(1), new ManaCostsImpl<>("{B}"));
ability.addCost(new PayLifeCost(2));
this.addAbility(ability);
}
diff --git a/Mage.Sets/src/mage/cards/g/GreensideWatcher.java b/Mage.Sets/src/mage/cards/g/GreensideWatcher.java
index 60b34e514b4..bee2c721259 100644
--- a/Mage.Sets/src/mage/cards/g/GreensideWatcher.java
+++ b/Mage.Sets/src/mage/cards/g/GreensideWatcher.java
@@ -35,7 +35,7 @@ public final class GreensideWatcher extends CardImpl {
this.toughness = new MageInt(1);
// {tap}: Untap target Gate.
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new UntapTargetEffect(), new TapSourceCost());
+ Ability ability = new SimpleActivatedAbility(new UntapTargetEffect(), new TapSourceCost());
ability.addTarget(new TargetPermanent(filter));
this.addAbility(ability);
}
diff --git a/Mage.Sets/src/mage/cards/g/GremlinMine.java b/Mage.Sets/src/mage/cards/g/GremlinMine.java
index 72583322508..6f6cb61a922 100644
--- a/Mage.Sets/src/mage/cards/g/GremlinMine.java
+++ b/Mage.Sets/src/mage/cards/g/GremlinMine.java
@@ -42,13 +42,13 @@ public final class GremlinMine extends CardImpl {
super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT}, "{1}");
// {1}, {tap}, Sacrifice Gremlin Mine: Gremlin Mine deals 4 damage to target artifact creature.
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(4, "it"), new ManaCostsImpl<>("{1}"));
+ Ability ability = new SimpleActivatedAbility(new DamageTargetEffect(4, "it"), new ManaCostsImpl<>("{1}"));
ability.addCost(new TapSourceCost());
ability.addCost(new SacrificeSourceCost());
ability.addTarget(new TargetArtifactPermanent(filterCreature));
this.addAbility(ability);
// {1}, {tap}, Sacrifice Gremlin Mine: Remove up to four charge counters from target noncreature artifact.
- ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new GremlinMineEffect(), new ManaCostsImpl<>("{1}"));
+ ability = new SimpleActivatedAbility(new GremlinMineEffect(), new ManaCostsImpl<>("{1}"));
ability.addCost(new TapSourceCost());
ability.addCost(new SacrificeSourceCost());
ability.addTarget(new TargetArtifactPermanent(filterNonCreature));
diff --git a/Mage.Sets/src/mage/cards/g/GrenzoDungeonWarden.java b/Mage.Sets/src/mage/cards/g/GrenzoDungeonWarden.java
index dddfd9969d0..02a0db1a354 100644
--- a/Mage.Sets/src/mage/cards/g/GrenzoDungeonWarden.java
+++ b/Mage.Sets/src/mage/cards/g/GrenzoDungeonWarden.java
@@ -41,7 +41,7 @@ public final class GrenzoDungeonWarden extends CardImpl {
this.addAbility(new EntersBattlefieldAbility(new EntersBattlefieldWithXCountersEffect(CounterType.P1P1.createInstance())));
// {2}: Put the bottom card of your library into your graveyard. If it's a creature card with power less than or equal to Grenzo's power, put it onto the battlefield.
- this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new GrenzoDungeonWardenEffect(), new GenericManaCost(2)));
+ this.addAbility(new SimpleActivatedAbility(new GrenzoDungeonWardenEffect(), new GenericManaCost(2)));
}
private GrenzoDungeonWarden(final GrenzoDungeonWarden card) {
diff --git a/Mage.Sets/src/mage/cards/g/GriffinCanyon.java b/Mage.Sets/src/mage/cards/g/GriffinCanyon.java
index fae6c45e721..dff95eead3f 100644
--- a/Mage.Sets/src/mage/cards/g/GriffinCanyon.java
+++ b/Mage.Sets/src/mage/cards/g/GriffinCanyon.java
@@ -31,7 +31,7 @@ public final class GriffinCanyon extends CardImpl {
// {tap}: Add {C}.
this.addAbility(new ColorlessManaAbility());
// {tap}: Untap target Griffin. If it's a creature, it gets +1/+1 until end of turn.
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new GriffinCanyonEffect(), new TapSourceCost());
+ Ability ability = new SimpleActivatedAbility(new GriffinCanyonEffect(), new TapSourceCost());
ability.addTarget(new TargetPermanent(filter));
this.addAbility(ability);
}
diff --git a/Mage.Sets/src/mage/cards/g/GrimBackwoods.java b/Mage.Sets/src/mage/cards/g/GrimBackwoods.java
index eaa0ef8c84a..71fd095766c 100644
--- a/Mage.Sets/src/mage/cards/g/GrimBackwoods.java
+++ b/Mage.Sets/src/mage/cards/g/GrimBackwoods.java
@@ -28,7 +28,7 @@ public final class GrimBackwoods extends CardImpl {
// {tap}: Add {C}.
this.addAbility(new ColorlessManaAbility());
// {2}{B}{G}, {tap}, Sacrifice a creature: Draw a card.
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DrawCardSourceControllerEffect(1), new ManaCostsImpl<>("{2}{B}{G}"));
+ Ability ability = new SimpleActivatedAbility(new DrawCardSourceControllerEffect(1), new ManaCostsImpl<>("{2}{B}{G}"));
ability.addCost(new TapSourceCost());
ability.addCost(new SacrificeTargetCost(StaticFilters.FILTER_PERMANENT_CREATURE));
this.addAbility(ability);
diff --git a/Mage.Sets/src/mage/cards/g/GrimLavamancer.java b/Mage.Sets/src/mage/cards/g/GrimLavamancer.java
index c9fb81b1001..04265a1dc32 100644
--- a/Mage.Sets/src/mage/cards/g/GrimLavamancer.java
+++ b/Mage.Sets/src/mage/cards/g/GrimLavamancer.java
@@ -33,7 +33,7 @@ public final class GrimLavamancer extends CardImpl {
this.power = new MageInt(1);
this.toughness = new MageInt(1);
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(2), new ColoredManaCost(ColoredManaSymbol.R));
+ Ability ability = new SimpleActivatedAbility(new DamageTargetEffect(2), new ColoredManaCost(ColoredManaSymbol.R));
ability.addCost(new TapSourceCost());
ability.addCost(new ExileFromGraveCost(new TargetCardInYourGraveyard(2, StaticFilters.FILTER_CARDS_FROM_YOUR_GRAVEYARD)));
ability.addTarget(new TargetAnyTarget());
diff --git a/Mage.Sets/src/mage/cards/g/GrimMonolith.java b/Mage.Sets/src/mage/cards/g/GrimMonolith.java
index 6992bdc77e7..85f99feffb0 100644
--- a/Mage.Sets/src/mage/cards/g/GrimMonolith.java
+++ b/Mage.Sets/src/mage/cards/g/GrimMonolith.java
@@ -29,7 +29,7 @@ public final class GrimMonolith extends CardImpl {
// {tap}: Add {C}{C}{C}.
this.addAbility(new SimpleManaAbility(Zone.BATTLEFIELD, Mana.ColorlessMana(3), new TapSourceCost()));
// {4}: Untap Grim Monolith.
- this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new UntapSourceEffect(), new ManaCostsImpl<>("{4}")));
+ this.addAbility(new SimpleActivatedAbility(new UntapSourceEffect(), new ManaCostsImpl<>("{4}")));
}
private GrimMonolith(final GrimMonolith card) {
diff --git a/Mage.Sets/src/mage/cards/g/GrimPoppet.java b/Mage.Sets/src/mage/cards/g/GrimPoppet.java
index 8d365e8ee15..c55993e5700 100644
--- a/Mage.Sets/src/mage/cards/g/GrimPoppet.java
+++ b/Mage.Sets/src/mage/cards/g/GrimPoppet.java
@@ -41,7 +41,7 @@ public final class GrimPoppet extends CardImpl {
this.addAbility(new EntersBattlefieldAbility(new AddCountersSourceEffect(CounterType.M1M1.createInstance(3)), "with three -1/-1 counters on it"));
// Remove a -1/-1 counter from Grim Poppet: Put a -1/-1 counter on another target creature.
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new AddCountersTargetEffect(CounterType.M1M1.createInstance()), new RemoveCountersSourceCost(CounterType.M1M1.createInstance()));
+ Ability ability = new SimpleActivatedAbility(new AddCountersTargetEffect(CounterType.M1M1.createInstance()), new RemoveCountersSourceCost(CounterType.M1M1.createInstance()));
ability.addTarget(new TargetCreaturePermanent(filter));
this.addAbility(ability);
diff --git a/Mage.Sets/src/mage/cards/g/GrimRoustabout.java b/Mage.Sets/src/mage/cards/g/GrimRoustabout.java
index 3b6ac0f2850..78ddf63a063 100644
--- a/Mage.Sets/src/mage/cards/g/GrimRoustabout.java
+++ b/Mage.Sets/src/mage/cards/g/GrimRoustabout.java
@@ -32,7 +32,7 @@ public final class GrimRoustabout extends CardImpl {
this.addAbility(new UnleashAbility());
// {1}{B}: Regenerate Grim Roustabout.
- this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new RegenerateSourceEffect(), new ManaCostsImpl<>("{1}{B}")));
+ this.addAbility(new SimpleActivatedAbility(new RegenerateSourceEffect(), new ManaCostsImpl<>("{1}{B}")));
}
private GrimRoustabout(final GrimRoustabout card) {
@@ -43,4 +43,4 @@ public final class GrimRoustabout extends CardImpl {
public GrimRoustabout copy() {
return new GrimRoustabout(this);
}
-}
\ No newline at end of file
+}
diff --git a/Mage.Sets/src/mage/cards/g/GrimclawBats.java b/Mage.Sets/src/mage/cards/g/GrimclawBats.java
index 5490a53d474..e6fe63934e9 100644
--- a/Mage.Sets/src/mage/cards/g/GrimclawBats.java
+++ b/Mage.Sets/src/mage/cards/g/GrimclawBats.java
@@ -30,7 +30,7 @@ public final class GrimclawBats extends CardImpl {
this.power = new MageInt(1);
this.toughness = new MageInt(1);
this.addAbility(FlyingAbility.getInstance());
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostSourceEffect(1, 1, Duration.EndOfTurn), new ColoredManaCost(ColoredManaSymbol.B));
+ Ability ability = new SimpleActivatedAbility(new BoostSourceEffect(1, 1, Duration.EndOfTurn), new ColoredManaCost(ColoredManaSymbol.B));
ability.addCost(new PayLifeCost(1));
this.addAbility(ability);
}
diff --git a/Mage.Sets/src/mage/cards/g/GrimgrinCorpseBorn.java b/Mage.Sets/src/mage/cards/g/GrimgrinCorpseBorn.java
index 129c70c2dfa..b462f8fddc2 100644
--- a/Mage.Sets/src/mage/cards/g/GrimgrinCorpseBorn.java
+++ b/Mage.Sets/src/mage/cards/g/GrimgrinCorpseBorn.java
@@ -52,7 +52,7 @@ public final class GrimgrinCorpseBorn extends CardImpl {
this.addAbility(ability);
// Sacrifice another creature: Untap Grimgrin and put a +1/+1 counter on it.
- ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new UntapSourceEffect(),
+ ability = new SimpleActivatedAbility(new UntapSourceEffect(),
new SacrificeTargetCost(StaticFilters.FILTER_CONTROLLED_ANOTHER_CREATURE));
ability.addEffect(new AddCountersSourceEffect(CounterType.P1P1.createInstance()).setText("and put a +1/+1 counter on it"));
this.addAbility(ability);
diff --git a/Mage.Sets/src/mage/cards/g/GrimlockDinobotLeader.java b/Mage.Sets/src/mage/cards/g/GrimlockDinobotLeader.java
index 16c49734305..bbc81909820 100644
--- a/Mage.Sets/src/mage/cards/g/GrimlockDinobotLeader.java
+++ b/Mage.Sets/src/mage/cards/g/GrimlockDinobotLeader.java
@@ -55,7 +55,7 @@ public final class GrimlockDinobotLeader extends CardImpl{
// {2}: Grimlock, Dinobot Leader becomes Grimlock, Ferocious King.
this.addAbility(new TransformAbility());
- this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new TransformSourceEffect(), new ManaCostsImpl<>("{2}")));
+ this.addAbility(new SimpleActivatedAbility(new TransformSourceEffect(), new ManaCostsImpl<>("{2}")));
}
private GrimlockDinobotLeader(final GrimlockDinobotLeader card) {
diff --git a/Mage.Sets/src/mage/cards/g/GrimlockFerociousKing.java b/Mage.Sets/src/mage/cards/g/GrimlockFerociousKing.java
index b707016de20..f24ff1b75e6 100644
--- a/Mage.Sets/src/mage/cards/g/GrimlockFerociousKing.java
+++ b/Mage.Sets/src/mage/cards/g/GrimlockFerociousKing.java
@@ -38,7 +38,7 @@ public final class GrimlockFerociousKing extends CardImpl{
// {2}: Grimlock, Ferocious King becomes Grimlock, Dinobot Leader.
this.addAbility(new TransformAbility());
- this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new TransformSourceEffect(), new ManaCostsImpl<>("{2}")));
+ this.addAbility(new SimpleActivatedAbility(new TransformSourceEffect(), new ManaCostsImpl<>("{2}")));
}
private GrimlockFerociousKing(final GrimlockFerociousKing card) {
diff --git a/Mage.Sets/src/mage/cards/g/Grindclock.java b/Mage.Sets/src/mage/cards/g/Grindclock.java
index 878da99757d..4246a66cbb9 100644
--- a/Mage.Sets/src/mage/cards/g/Grindclock.java
+++ b/Mage.Sets/src/mage/cards/g/Grindclock.java
@@ -27,8 +27,8 @@ public final class Grindclock extends CardImpl {
public Grindclock(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT}, "{2}");
- this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new AddCountersSourceEffect(CounterType.CHARGE.createInstance()), new TapSourceCost()));
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new GrindclockEffect(), new TapSourceCost());
+ this.addAbility(new SimpleActivatedAbility(new AddCountersSourceEffect(CounterType.CHARGE.createInstance()), new TapSourceCost()));
+ Ability ability = new SimpleActivatedAbility(new GrindclockEffect(), new TapSourceCost());
ability.addTarget(new TargetPlayer());
this.addAbility(ability);
}
diff --git a/Mage.Sets/src/mage/cards/g/GrindingStation.java b/Mage.Sets/src/mage/cards/g/GrindingStation.java
index 5348d28dba6..42831fefeab 100644
--- a/Mage.Sets/src/mage/cards/g/GrindingStation.java
+++ b/Mage.Sets/src/mage/cards/g/GrindingStation.java
@@ -33,7 +33,7 @@ public final class GrindingStation extends CardImpl {
super(ownerId,setInfo,new CardType[]{CardType.ARTIFACT},"{2}");
// {T}, Sacrifice an artifact: Target player puts the top three cards of their library into their graveyard.
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new MillCardsTargetEffect(3), new TapSourceCost());
+ Ability ability = new SimpleActivatedAbility(new MillCardsTargetEffect(3), new TapSourceCost());
ability.addCost(new SacrificeTargetCost(filter));
ability.addTarget(new TargetPlayer());
this.addAbility(ability);
diff --git a/Mage.Sets/src/mage/cards/g/Griselbrand.java b/Mage.Sets/src/mage/cards/g/Griselbrand.java
index 597294e2895..2e8330b0e07 100644
--- a/Mage.Sets/src/mage/cards/g/Griselbrand.java
+++ b/Mage.Sets/src/mage/cards/g/Griselbrand.java
@@ -32,7 +32,7 @@ public final class Griselbrand extends CardImpl {
this.addAbility(FlyingAbility.getInstance());
this.addAbility(LifelinkAbility.getInstance());
// Pay 7 life: Draw seven cards.
- this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new DrawCardSourceControllerEffect(7), new PayLifeCost(7)));
+ this.addAbility(new SimpleActivatedAbility(new DrawCardSourceControllerEffect(7), new PayLifeCost(7)));
}
private Griselbrand(final Griselbrand card) {
diff --git a/Mage.Sets/src/mage/cards/g/GrislyAnglerfish.java b/Mage.Sets/src/mage/cards/g/GrislyAnglerfish.java
index ba31bdb3d15..60a4e8a6058 100644
--- a/Mage.Sets/src/mage/cards/g/GrislyAnglerfish.java
+++ b/Mage.Sets/src/mage/cards/g/GrislyAnglerfish.java
@@ -33,7 +33,7 @@ public final class GrislyAnglerfish extends CardImpl {
this.nightCard = true;
// {6}: Creatures your opponents control attack this turn if able.
- this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new GrislyAnglerfishMustAttackEffect(), new ManaCostsImpl<>("{6}")));
+ this.addAbility(new SimpleActivatedAbility(new GrislyAnglerfishMustAttackEffect(), new ManaCostsImpl<>("{6}")));
}
private GrislyAnglerfish(final GrislyAnglerfish card) {
diff --git a/Mage.Sets/src/mage/cards/g/GrixisBattlemage.java b/Mage.Sets/src/mage/cards/g/GrixisBattlemage.java
index 81bed8ed437..c83d3ea0116 100644
--- a/Mage.Sets/src/mage/cards/g/GrixisBattlemage.java
+++ b/Mage.Sets/src/mage/cards/g/GrixisBattlemage.java
@@ -32,11 +32,11 @@ public final class GrixisBattlemage extends CardImpl {
this.toughness = new MageInt(2);
// {U}, {tap}: Draw a card, then discard a card.
- Ability ability1 = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DrawDiscardControllerEffect(), new ManaCostsImpl<>("{U}"));
+ Ability ability1 = new SimpleActivatedAbility(new DrawDiscardControllerEffect(), new ManaCostsImpl<>("{U}"));
ability1.addCost(new TapSourceCost());
this.addAbility(ability1);
// {R}, {tap}: Target creature can't block this turn.
- Ability ability2 = new SimpleActivatedAbility(Zone.BATTLEFIELD, new CantBlockTargetEffect(Duration.EndOfTurn), new ManaCostsImpl<>("{R}"));
+ Ability ability2 = new SimpleActivatedAbility(new CantBlockTargetEffect(Duration.EndOfTurn), new ManaCostsImpl<>("{R}"));
ability2.addCost(new TapSourceCost());
ability2.addTarget(new TargetCreaturePermanent());
this.addAbility(ability2);
diff --git a/Mage.Sets/src/mage/cards/g/GrixisPanorama.java b/Mage.Sets/src/mage/cards/g/GrixisPanorama.java
index b39da86e115..56eb1fbc431 100644
--- a/Mage.Sets/src/mage/cards/g/GrixisPanorama.java
+++ b/Mage.Sets/src/mage/cards/g/GrixisPanorama.java
@@ -38,7 +38,7 @@ public final class GrixisPanorama extends CardImpl {
this.addAbility(new ColorlessManaAbility());
TargetCardInLibrary target = new TargetCardInLibrary(filter);
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new SearchLibraryPutInPlayEffect(target, true), new GenericManaCost(1));
+ Ability ability = new SimpleActivatedAbility(new SearchLibraryPutInPlayEffect(target, true), new GenericManaCost(1));
ability.addCost(new TapSourceCost());
ability.addCost(new SacrificeSourceCost());
this.addAbility(ability);
diff --git a/Mage.Sets/src/mage/cards/g/GrizzledAngler.java b/Mage.Sets/src/mage/cards/g/GrizzledAngler.java
index ff7100a2bce..9b31af0fff7 100644
--- a/Mage.Sets/src/mage/cards/g/GrizzledAngler.java
+++ b/Mage.Sets/src/mage/cards/g/GrizzledAngler.java
@@ -36,7 +36,7 @@ public final class GrizzledAngler extends CardImpl {
// {T}: Put the top two cards of your library into your graveyard. Then if there is a colorless creature card in your graveyard, transform Grizzled Angler.
this.addAbility(new TransformAbility());
- this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new GrizzledAnglerEffect(), new TapSourceCost()));
+ this.addAbility(new SimpleActivatedAbility(new GrizzledAnglerEffect(), new TapSourceCost()));
}
private GrizzledAngler(final GrizzledAngler card) {
diff --git a/Mage.Sets/src/mage/cards/g/GrotagSiegeRunner.java b/Mage.Sets/src/mage/cards/g/GrotagSiegeRunner.java
index d4610c7a0d8..cde46db7dc5 100644
--- a/Mage.Sets/src/mage/cards/g/GrotagSiegeRunner.java
+++ b/Mage.Sets/src/mage/cards/g/GrotagSiegeRunner.java
@@ -41,7 +41,7 @@ public final class GrotagSiegeRunner extends CardImpl {
this.toughness = new MageInt(1);
// {R}, Sacrifice Grotag Siege-Runner: Destroy target creature with defender. Grotag Siege-Runner deals 2 damage to that creature's controller.
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DestroyTargetEffect(), new ManaCostsImpl<>("{R}"));
+ Ability ability = new SimpleActivatedAbility(new DestroyTargetEffect(), new ManaCostsImpl<>("{R}"));
ability.addCost(new SacrificeSourceCost());
ability.addEffect(new DamageTargetControllerEffect(2));
ability.addTarget(new TargetCreaturePermanent(filter));
diff --git a/Mage.Sets/src/mage/cards/g/GrotesqueHybrid.java b/Mage.Sets/src/mage/cards/g/GrotesqueHybrid.java
index 878c7afec33..08b542e4887 100644
--- a/Mage.Sets/src/mage/cards/g/GrotesqueHybrid.java
+++ b/Mage.Sets/src/mage/cards/g/GrotesqueHybrid.java
@@ -38,7 +38,7 @@ public final class GrotesqueHybrid extends CardImpl {
// Discard a card: Grotesque Hybrid gains flying and protection from green and from white until end of turn.
Effect effect = new GainAbilitySourceEffect(FlyingAbility.getInstance(), Duration.EndOfTurn);
effect.setText("{this} gains flying");
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, effect, new DiscardCardCost());
+ Ability ability = new SimpleActivatedAbility(effect, new DiscardCardCost());
effect = new GainAbilitySourceEffect(ProtectionAbility.from(ObjectColor.GREEN, ObjectColor.WHITE), Duration.EndOfTurn);
effect.setText("and protection from green and from white until end of turn");
ability.addEffect(effect);
diff --git a/Mage.Sets/src/mage/cards/g/GroundPounder.java b/Mage.Sets/src/mage/cards/g/GroundPounder.java
index 7a733d6d0af..43ad540b5a2 100644
--- a/Mage.Sets/src/mage/cards/g/GroundPounder.java
+++ b/Mage.Sets/src/mage/cards/g/GroundPounder.java
@@ -35,7 +35,7 @@ public final class GroundPounder extends CardImpl {
this.toughness = new MageInt(2);
// 3G: Roll a six-sided die. Ground Pounder gets +X/+X until end of turn, where X is the result.
- this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new GroundPounderEffect(), new ManaCostsImpl<>("{3}{G}")));
+ this.addAbility(new SimpleActivatedAbility(new GroundPounderEffect(), new ManaCostsImpl<>("{3}{G}")));
// Whenever you roll a 5 or higher on a die, Ground Pounder gains trample until end of turn.
this.addAbility(new GroundPounderTriggeredAbility());
diff --git a/Mage.Sets/src/mage/cards/g/GroveOfTheGuardian.java b/Mage.Sets/src/mage/cards/g/GroveOfTheGuardian.java
index b8898282e6f..d2623292303 100644
--- a/Mage.Sets/src/mage/cards/g/GroveOfTheGuardian.java
+++ b/Mage.Sets/src/mage/cards/g/GroveOfTheGuardian.java
@@ -38,7 +38,7 @@ public final class GroveOfTheGuardian extends CardImpl {
this.addAbility(new SimpleManaAbility(Zone.BATTLEFIELD, Mana.ColorlessMana(1), new TapSourceCost()));
// {3}{G}{W}, {T}, Tap two untapped creatures you control, Sacrifice Grove of the Guardian: Create an 8/8 green and white Elemental creature token with vigilance.
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new CreateTokenEffect(new GreenAndWhiteElementalToken(), 1), new ManaCostsImpl<>("{3}{G}{W}"));
+ Ability ability = new SimpleActivatedAbility(new CreateTokenEffect(new GreenAndWhiteElementalToken(), 1), new ManaCostsImpl<>("{3}{G}{W}"));
ability.addCost(new TapSourceCost());
ability.addCost(new TapTargetCost(new TargetControlledCreaturePermanent(2, 2, filter, false)));
ability.addCost(new SacrificeSourceCost());
diff --git a/Mage.Sets/src/mage/cards/g/GruesomeSlaughter.java b/Mage.Sets/src/mage/cards/g/GruesomeSlaughter.java
index 966d42a469a..5df1f913f76 100644
--- a/Mage.Sets/src/mage/cards/g/GruesomeSlaughter.java
+++ b/Mage.Sets/src/mage/cards/g/GruesomeSlaughter.java
@@ -36,7 +36,7 @@ public final class GruesomeSlaughter extends CardImpl {
// Until end of turn, colorless creatures you control gain "{T}: This creature deals damage equal to its power to target creature."
Effect effect = new DamageTargetEffect(SourcePermanentPowerValue.NOT_NEGATIVE);
effect.setText("{this} deals damage equal to its power to target creature.");
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, effect, new TapSourceCost());
+ Ability ability = new SimpleActivatedAbility(effect, new TapSourceCost());
ability.addTarget(new TargetCreaturePermanent());
effect = new GainAbilityControlledEffect(ability, Duration.EndOfTurn, filter);
effect.setText("Until end of turn, colorless creatures you control gain \"{T}: This creature deals damage equal to its power to target creature.\"");
diff --git a/Mage.Sets/src/mage/cards/g/GruulCluestone.java b/Mage.Sets/src/mage/cards/g/GruulCluestone.java
index 2a8a4ce978f..7fb84d99a0f 100644
--- a/Mage.Sets/src/mage/cards/g/GruulCluestone.java
+++ b/Mage.Sets/src/mage/cards/g/GruulCluestone.java
@@ -32,7 +32,7 @@ public final class GruulCluestone extends CardImpl {
this.addAbility(new GreenManaAbility());
// {R}{G}, {T}, Sacrifice Gruul Cluestone: Draw a card.
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DrawCardSourceControllerEffect(1), new ManaCostsImpl<>("{R}{G}"));
+ Ability ability = new SimpleActivatedAbility(new DrawCardSourceControllerEffect(1), new ManaCostsImpl<>("{R}{G}"));
ability.addCost(new TapSourceCost());
ability.addCost(new SacrificeSourceCost());
this.addAbility(ability);
diff --git a/Mage.Sets/src/mage/cards/g/GruulGuildmage.java b/Mage.Sets/src/mage/cards/g/GruulGuildmage.java
index 3069b48b543..1cba9e9ff53 100644
--- a/Mage.Sets/src/mage/cards/g/GruulGuildmage.java
+++ b/Mage.Sets/src/mage/cards/g/GruulGuildmage.java
@@ -37,12 +37,12 @@ public final class GruulGuildmage extends CardImpl {
this.toughness = new MageInt(2);
// {3}{R}, Sacrifice a land: Gruul Guildmage deals 2 damage to target player.
- Ability firstAbility = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(2), new ManaCostsImpl<>("{3}{R}"));
+ Ability firstAbility = new SimpleActivatedAbility(new DamageTargetEffect(2), new ManaCostsImpl<>("{3}{R}"));
firstAbility.addCost(new SacrificeTargetCost(filter));
firstAbility.addTarget(new TargetPlayerOrPlaneswalker(1));
this.addAbility(firstAbility);
// {3}{G}: Target creature gets +2/+2 until end of turn.
- Ability secondAbility = new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostTargetEffect(2, 2, Duration.EndOfTurn), new ManaCostsImpl<>("{3}{G}"));
+ Ability secondAbility = new SimpleActivatedAbility(new BoostTargetEffect(2, 2, Duration.EndOfTurn), new ManaCostsImpl<>("{3}{G}"));
secondAbility.addTarget(new TargetCreaturePermanent());
this.addAbility(secondAbility);
}
diff --git a/Mage.Sets/src/mage/cards/g/GruulKeyrune.java b/Mage.Sets/src/mage/cards/g/GruulKeyrune.java
index 3e720c257d8..2e440518a8a 100644
--- a/Mage.Sets/src/mage/cards/g/GruulKeyrune.java
+++ b/Mage.Sets/src/mage/cards/g/GruulKeyrune.java
@@ -31,7 +31,7 @@ public final class GruulKeyrune extends CardImpl {
this.addAbility(new GreenManaAbility());
// {R}{G}: Gruul Keyrune becomes a 3/2 red and green Beast artifact creature with trample until end of turn.
- this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new BecomesCreatureSourceEffect(new GruulKeyruneToken(), CardType.ARTIFACT, Duration.EndOfTurn), new ManaCostsImpl<>("{R}{G}")));
+ this.addAbility(new SimpleActivatedAbility(new BecomesCreatureSourceEffect(new GruulKeyruneToken(), CardType.ARTIFACT, Duration.EndOfTurn), new ManaCostsImpl<>("{R}{G}")));
}
private GruulKeyrune(final GruulKeyrune card) {
diff --git a/Mage.Sets/src/mage/cards/g/GruulLocket.java b/Mage.Sets/src/mage/cards/g/GruulLocket.java
index 1f175809a23..bdeed9f61f5 100644
--- a/Mage.Sets/src/mage/cards/g/GruulLocket.java
+++ b/Mage.Sets/src/mage/cards/g/GruulLocket.java
@@ -28,7 +28,7 @@ public final class GruulLocket extends CardImpl {
this.addAbility(new GreenManaAbility());
// {R/G}{R/G}{R/G}{R/G}, {T}, Sacrifice Gruul Locket: Draw two cards.
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DrawCardSourceControllerEffect(2), new ManaCostsImpl<>("{R/G}{R/G}{R/G}{R/G}"));
+ Ability ability = new SimpleActivatedAbility(new DrawCardSourceControllerEffect(2), new ManaCostsImpl<>("{R/G}{R/G}{R/G}{R/G}"));
ability.addCost(new TapSourceCost());
ability.addCost(new SacrificeSourceCost());
this.addAbility(ability);
diff --git a/Mage.Sets/src/mage/cards/g/GruulNodorog.java b/Mage.Sets/src/mage/cards/g/GruulNodorog.java
index edd20d6dbc0..2ef23e909b2 100644
--- a/Mage.Sets/src/mage/cards/g/GruulNodorog.java
+++ b/Mage.Sets/src/mage/cards/g/GruulNodorog.java
@@ -28,7 +28,7 @@ public final class GruulNodorog extends CardImpl {
this.toughness = new MageInt(4);
//{R}: Gruul Nodorog gains menace until end of turn. (It can't be blocked except by two or more creatures.)
- this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new GainAbilitySourceEffect(new MenaceAbility(), Duration.EndOfTurn), new ManaCostsImpl<>("{R}")));
+ this.addAbility(new SimpleActivatedAbility(new GainAbilitySourceEffect(new MenaceAbility(), Duration.EndOfTurn), new ManaCostsImpl<>("{R}")));
}
private GruulNodorog(final GruulNodorog card) {
@@ -39,4 +39,4 @@ public final class GruulNodorog extends CardImpl {
public GruulNodorog copy() {
return new GruulNodorog(this);
}
-}
\ No newline at end of file
+}
diff --git a/Mage.Sets/src/mage/cards/g/GruulWarPlow.java b/Mage.Sets/src/mage/cards/g/GruulWarPlow.java
index 9a3f83eae89..13193e46909 100644
--- a/Mage.Sets/src/mage/cards/g/GruulWarPlow.java
+++ b/Mage.Sets/src/mage/cards/g/GruulWarPlow.java
@@ -30,7 +30,7 @@ public final class GruulWarPlow extends CardImpl {
this.addAbility(new SimpleStaticAbility(new GainAbilityControlledEffect(TrampleAbility.getInstance(), Duration.WhileOnBattlefield, StaticFilters.FILTER_PERMANENT_CREATURES)));
// {1}{R}{G}: Gruul War Plow becomes a 4/4 Juggernaut artifact creature until end of turn.
- this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new BecomesCreatureSourceEffect(new GruulWarPlowToken(), CardType.ARTIFACT, Duration.EndOfTurn), new ManaCostsImpl<>("{1}{R}{G}")));
+ this.addAbility(new SimpleActivatedAbility(new BecomesCreatureSourceEffect(new GruulWarPlowToken(), CardType.ARTIFACT, Duration.EndOfTurn), new ManaCostsImpl<>("{1}{R}{G}")));
}
private GruulWarPlow(final GruulWarPlow card) {
diff --git a/Mage.Sets/src/mage/cards/g/GuardDogs.java b/Mage.Sets/src/mage/cards/g/GuardDogs.java
index c8cc0430beb..8548c0ea209 100644
--- a/Mage.Sets/src/mage/cards/g/GuardDogs.java
+++ b/Mage.Sets/src/mage/cards/g/GuardDogs.java
@@ -35,7 +35,7 @@ public final class GuardDogs extends CardImpl {
this.toughness = new MageInt(2);
// {2}{W}, {T}: Choose a permanent you control. Prevent all combat damage target creature would deal this turn if it shares a color with that permanent.
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new GuardDogsEffect(), new ManaCostsImpl<>("{2}{W}"));
+ Ability ability = new SimpleActivatedAbility(new GuardDogsEffect(), new ManaCostsImpl<>("{2}{W}"));
ability.addCost(new TapSourceCost());
ability.addTarget(new TargetCreaturePermanent());
this.addAbility(ability);
diff --git a/Mage.Sets/src/mage/cards/g/GuardianIdol.java b/Mage.Sets/src/mage/cards/g/GuardianIdol.java
index 84661db89bf..5bd1ef5e986 100644
--- a/Mage.Sets/src/mage/cards/g/GuardianIdol.java
+++ b/Mage.Sets/src/mage/cards/g/GuardianIdol.java
@@ -30,7 +30,7 @@ public final class GuardianIdol extends CardImpl {
// {tap}: Add {C}.
this.addAbility(new ColorlessManaAbility());
// {2}: Guardian Idol becomes a 2/2 Golem artifact creature until end of turn.
- this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new BecomesCreatureSourceEffect(new GuardianIdolGolemToken(), CardType.ARTIFACT, Duration.EndOfTurn), new ManaCostsImpl<>("{2}")));
+ this.addAbility(new SimpleActivatedAbility(new BecomesCreatureSourceEffect(new GuardianIdolGolemToken(), CardType.ARTIFACT, Duration.EndOfTurn), new ManaCostsImpl<>("{2}")));
}
private GuardianIdol(final GuardianIdol card) {
diff --git a/Mage.Sets/src/mage/cards/g/GuardianOfCloverdell.java b/Mage.Sets/src/mage/cards/g/GuardianOfCloverdell.java
index cca4f6ed1a8..c2526bd84d7 100644
--- a/Mage.Sets/src/mage/cards/g/GuardianOfCloverdell.java
+++ b/Mage.Sets/src/mage/cards/g/GuardianOfCloverdell.java
@@ -39,7 +39,7 @@ public final class GuardianOfCloverdell extends CardImpl {
this.power = new MageInt(4);
this.toughness = new MageInt(5);
this.addAbility(new EntersBattlefieldTriggeredAbility(new CreateTokenEffect(new KithkinSoldierToken(), 3), false));
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new GainLifeEffect(1), new ColoredManaCost(ColoredManaSymbol.G));
+ Ability ability = new SimpleActivatedAbility(new GainLifeEffect(1), new ColoredManaCost(ColoredManaSymbol.G));
ability.addCost(new SacrificeTargetCost(filter));
this.addAbility(ability);
}
diff --git a/Mage.Sets/src/mage/cards/g/Gurzigost.java b/Mage.Sets/src/mage/cards/g/Gurzigost.java
index 0ae0e58918e..e4a3d39e8af 100644
--- a/Mage.Sets/src/mage/cards/g/Gurzigost.java
+++ b/Mage.Sets/src/mage/cards/g/Gurzigost.java
@@ -45,7 +45,7 @@ public final class Gurzigost extends CardImpl {
// {G}{G}, Discard a card: You may have Gurzigost assign its combat damage this turn as though it weren't blocked.
Effect effect = new GainAbilitySourceEffect(DamageAsThoughNotBlockedAbility.getInstance(), Duration.EndOfTurn);
effect.setText("You may have Gurzigost assign its combat damage this turn as though it weren't blocked");
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, effect, new ManaCostsImpl<>("{G}{G}"));
+ Ability ability = new SimpleActivatedAbility(effect, new ManaCostsImpl<>("{G}{G}"));
ability.addCost(new DiscardCardCost());
this.addAbility(ability);
}
diff --git a/Mage.Sets/src/mage/cards/g/GustSkimmer.java b/Mage.Sets/src/mage/cards/g/GustSkimmer.java
index 4bf75779035..1962479ae9b 100644
--- a/Mage.Sets/src/mage/cards/g/GustSkimmer.java
+++ b/Mage.Sets/src/mage/cards/g/GustSkimmer.java
@@ -26,7 +26,7 @@ public final class GustSkimmer extends CardImpl {
this.subtype.add(SubType.INSECT);
this.power = new MageInt(2);
this.toughness = new MageInt(1);
- this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new GainAbilitySourceEffect(FlyingAbility.getInstance(), Duration.EndOfTurn), new ManaCostsImpl<>("{U}")));
+ this.addAbility(new SimpleActivatedAbility(new GainAbilitySourceEffect(FlyingAbility.getInstance(), Duration.EndOfTurn), new ManaCostsImpl<>("{U}")));
}
private GustSkimmer(final GustSkimmer card) {
diff --git a/Mage.Sets/src/mage/cards/g/GutlessGhoul.java b/Mage.Sets/src/mage/cards/g/GutlessGhoul.java
index fae262ae226..e8ac916234d 100644
--- a/Mage.Sets/src/mage/cards/g/GutlessGhoul.java
+++ b/Mage.Sets/src/mage/cards/g/GutlessGhoul.java
@@ -31,7 +31,7 @@ public final class GutlessGhoul extends CardImpl {
this.toughness = new MageInt(2);
// {1}, Sacrifice a creature: You gain 2 life.
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new GainLifeEffect(2), new ManaCostsImpl<>("{1}"));
+ Ability ability = new SimpleActivatedAbility(new GainLifeEffect(2), new ManaCostsImpl<>("{1}"));
ability.addCost(new SacrificeTargetCost(StaticFilters.FILTER_PERMANENT_CREATURE));
this.addAbility(ability);
}
diff --git a/Mage.Sets/src/mage/cards/g/GuulDrazAssassin.java b/Mage.Sets/src/mage/cards/g/GuulDrazAssassin.java
index b6f658257b6..841d90bfda3 100644
--- a/Mage.Sets/src/mage/cards/g/GuulDrazAssassin.java
+++ b/Mage.Sets/src/mage/cards/g/GuulDrazAssassin.java
@@ -38,13 +38,13 @@ public final class GuulDrazAssassin extends LevelerCard {
this.addAbility(new LevelUpAbility(new ManaCostsImpl<>("{1}{B}")));
Abilities abilities1 = new AbilitiesImpl<>();
- Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostTargetEffect(-2, -2, Duration.EndOfTurn), new ManaCostsImpl<>("{B}"));
+ Ability ability = new SimpleActivatedAbility(new BoostTargetEffect(-2, -2, Duration.EndOfTurn), new ManaCostsImpl<>("{B}"));
ability.addTarget(new TargetCreaturePermanent());
ability.addCost(new TapSourceCost());
abilities1.add(ability);
Abilities abilities2 = new AbilitiesImpl<>();
- Ability ability2 = new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostTargetEffect(-4, -4, Duration.EndOfTurn), new ManaCostsImpl<>("{B}"));
+ Ability ability2 = new SimpleActivatedAbility(new BoostTargetEffect(-4, -4, Duration.EndOfTurn), new ManaCostsImpl<>("{B}"));
ability2.addTarget(new TargetCreaturePermanent());
ability2.addCost(new TapSourceCost());
abilities2.add(ability2);