mirror of
https://github.com/correl/mage.git
synced 2025-01-11 19:13:02 +00:00
[refactor] removed generic parameter from remaining Effect classes
This commit is contained in:
parent
e2c7fdf121
commit
99854be1fb
219 changed files with 224 additions and 227 deletions
|
@ -69,7 +69,7 @@ public class IntimidationBolt extends CardImpl {
|
|||
}
|
||||
}
|
||||
|
||||
class IntimidationEffect extends RestrictionEffect<IntimidationEffect> {
|
||||
class IntimidationEffect extends RestrictionEffect {
|
||||
|
||||
public IntimidationEffect(Duration duration) {
|
||||
super(duration);
|
||||
|
|
|
@ -125,7 +125,7 @@ class TraceOfAbundanceTriggeredAbility extends TriggeredManaAbility<TraceOfAbund
|
|||
}
|
||||
}
|
||||
|
||||
class TraceOfAbundanceEffect extends ManaEffect<TraceOfAbundanceEffect> {
|
||||
class TraceOfAbundanceEffect extends ManaEffect {
|
||||
|
||||
public TraceOfAbundanceEffect() {
|
||||
super();
|
||||
|
|
|
@ -67,7 +67,7 @@ public class DampingField extends CardImpl {
|
|||
}
|
||||
}
|
||||
|
||||
class DampingFieldEffect extends RestrictionUntapNotMoreThanEffect<DampingFieldEffect> {
|
||||
class DampingFieldEffect extends RestrictionUntapNotMoreThanEffect {
|
||||
|
||||
private static final FilterControlledPermanent filter = new FilterControlledArtifactPermanent("an artifact");
|
||||
|
||||
|
|
|
@ -73,7 +73,7 @@ public class TransmuteArtifact extends CardImpl {
|
|||
}
|
||||
}
|
||||
|
||||
class TransmuteArtifactEffect extends SearchEffect<TransmuteArtifactEffect> {
|
||||
class TransmuteArtifactEffect extends SearchEffect {
|
||||
|
||||
|
||||
public TransmuteArtifactEffect() {
|
||||
|
|
|
@ -107,7 +107,7 @@ class AggraveteEffect extends OneShotEffect {
|
|||
}
|
||||
}
|
||||
|
||||
class AggravateRequirementEffect extends RequirementEffect<AggravateRequirementEffect> {
|
||||
class AggravateRequirementEffect extends RequirementEffect {
|
||||
|
||||
public AggravateRequirementEffect() {
|
||||
super(Duration.EndOfTurn);
|
||||
|
|
|
@ -67,7 +67,7 @@ public class ArcaneMelee extends CardImpl {
|
|||
}
|
||||
}
|
||||
|
||||
class ArcaneMeleeCostReductionEffect extends CostModificationEffectImpl<ArcaneMeleeCostReductionEffect> {
|
||||
class ArcaneMeleeCostReductionEffect extends CostModificationEffectImpl {
|
||||
|
||||
ArcaneMeleeCostReductionEffect ( ) {
|
||||
super(Duration.WhileOnBattlefield, Outcome.Benefit, CostModificationType.REDUCE_COST);
|
||||
|
|
|
@ -66,7 +66,7 @@ public class BowerPassage extends CardImpl {
|
|||
}
|
||||
}
|
||||
|
||||
class BowerPassageEffect extends RestrictionEffect<BowerPassageEffect> {
|
||||
class BowerPassageEffect extends RestrictionEffect {
|
||||
|
||||
BowerPassageEffect() {
|
||||
super(Duration.WhileOnBattlefield);
|
||||
|
|
|
@ -76,7 +76,7 @@ public class ChampionOfLambholt extends CardImpl {
|
|||
}
|
||||
}
|
||||
|
||||
class ChampionOfLambholtEffect extends RestrictionEffect<ChampionOfLambholtEffect> {
|
||||
class ChampionOfLambholtEffect extends RestrictionEffect {
|
||||
|
||||
ChampionOfLambholtEffect() {
|
||||
super(Duration.WhileOnBattlefield);
|
||||
|
|
|
@ -70,7 +70,7 @@ public class FloweringLumberknot extends CardImpl {
|
|||
}
|
||||
}
|
||||
|
||||
class FloweringLumberknotEffect extends RestrictionEffect<FloweringLumberknotEffect> {
|
||||
class FloweringLumberknotEffect extends RestrictionEffect {
|
||||
|
||||
public FloweringLumberknotEffect() {
|
||||
super(Duration.WhileOnBattlefield);
|
||||
|
|
|
@ -80,7 +80,7 @@ public class HeraldOfWar extends CardImpl {
|
|||
}
|
||||
}
|
||||
|
||||
class HeraldOfWarCostReductionEffect extends CostModificationEffectImpl<HeraldOfWarCostReductionEffect> {
|
||||
class HeraldOfWarCostReductionEffect extends CostModificationEffectImpl {
|
||||
|
||||
HeraldOfWarCostReductionEffect() {
|
||||
super(Duration.WhileOnBattlefield, Outcome.Benefit, CostModificationType.REDUCE_COST);
|
||||
|
|
|
@ -94,7 +94,7 @@ class HuntedGhoulAbility extends EvasionAbility {
|
|||
}
|
||||
}
|
||||
|
||||
class HuntedGhoulEffect extends RestrictionEffect<HuntedGhoulEffect> {
|
||||
class HuntedGhoulEffect extends RestrictionEffect {
|
||||
|
||||
public HuntedGhoulEffect() {
|
||||
super(Duration.WhileOnBattlefield);
|
||||
|
|
|
@ -81,7 +81,7 @@ public class GoblinCohort extends CardImpl {
|
|||
}
|
||||
}
|
||||
|
||||
class GoblinCohortEffect extends RestrictionEffect<GoblinCohortEffect> {
|
||||
class GoblinCohortEffect extends RestrictionEffect {
|
||||
|
||||
private static final FilterControlledPermanent filter = new FilterControlledPermanent("another artifact");
|
||||
|
||||
|
|
|
@ -77,7 +77,7 @@ public class KentaroTheSmilingCat extends CardImpl {
|
|||
}
|
||||
|
||||
//TODO : change CostModification to AlternativCost
|
||||
private class KentaroTheSmilingCatCostReductionEffect extends CostModificationEffectImpl<KentaroTheSmilingCatCostReductionEffect> {
|
||||
private class KentaroTheSmilingCatCostReductionEffect extends CostModificationEffectImpl {
|
||||
|
||||
private static final String effectText = "You may pay {X} rather than pay the mana cost for Samurai spells you cast, where X is that spell's converted mana cost";
|
||||
|
||||
|
|
|
@ -98,7 +98,7 @@ public class PetalmaneBaku extends CardImpl {
|
|||
}
|
||||
}
|
||||
|
||||
private class PetalmaneBakuManaEffect extends ManaEffect<PetalmaneBakuManaEffect> {
|
||||
private class PetalmaneBakuManaEffect extends ManaEffect {
|
||||
|
||||
PetalmaneBakuManaEffect() {
|
||||
super();
|
||||
|
|
|
@ -72,7 +72,7 @@ public class FelhideBrawler extends CardImpl {
|
|||
}
|
||||
}
|
||||
|
||||
class FelhideBrawlerRestrictionEffect extends RestrictionEffect<FelhideBrawlerRestrictionEffect> {
|
||||
class FelhideBrawlerRestrictionEffect extends RestrictionEffect {
|
||||
|
||||
private static final FilterControlledPermanent filter = new FilterControlledPermanent("another Minotaur");
|
||||
|
||||
|
|
|
@ -73,7 +73,7 @@ public class KrakenOfTheStraits extends CardImpl {
|
|||
}
|
||||
}
|
||||
|
||||
class CantBeBlockedByCreaturesWithLessPowerEffect extends RestrictionEffect<CantBeBlockedByCreaturesWithLessPowerEffect> {
|
||||
class CantBeBlockedByCreaturesWithLessPowerEffect extends RestrictionEffect {
|
||||
|
||||
private static final FilterControlledPermanent filter = new FilterControlledPermanent("Islands");
|
||||
|
||||
|
|
|
@ -74,7 +74,7 @@ public class MarshmistTitan extends CardImpl {
|
|||
}
|
||||
}
|
||||
|
||||
class MarshmistTitanCostReductionEffect extends CostModificationEffectImpl<MarshmistTitanCostReductionEffect> {
|
||||
class MarshmistTitanCostReductionEffect extends CostModificationEffectImpl {
|
||||
|
||||
public MarshmistTitanCostReductionEffect() {
|
||||
super(Duration.Custom, Outcome.Benefit, CostModificationType.REDUCE_COST);
|
||||
|
|
|
@ -91,7 +91,7 @@ public class Tromokratis extends CardImpl {
|
|||
}
|
||||
|
||||
|
||||
class CantBeBlockedUnlessAllEffect extends RestrictionEffect<CantBeBlockedUnlessAllEffect> {
|
||||
class CantBeBlockedUnlessAllEffect extends RestrictionEffect {
|
||||
|
||||
private static final FilterCreaturePermanent filter = new FilterCreaturePermanent();
|
||||
|
||||
|
|
|
@ -75,7 +75,7 @@ public class CageOfHands extends CardImpl {
|
|||
}
|
||||
}
|
||||
|
||||
class CageOfHandsEffect extends RestrictionEffect<CageOfHandsEffect> {
|
||||
class CageOfHandsEffect extends RestrictionEffect {
|
||||
|
||||
public CageOfHandsEffect() {
|
||||
super(Duration.WhileOnBattlefield);
|
||||
|
|
|
@ -109,7 +109,7 @@ class HeartbeatOfSpringAbility extends TriggeredManaAbility<HeartbeatOfSpringAbi
|
|||
}
|
||||
}
|
||||
|
||||
class HeartbeatOfSpringEffect extends ManaEffect<HeartbeatOfSpringEffect> {
|
||||
class HeartbeatOfSpringEffect extends ManaEffect {
|
||||
|
||||
public HeartbeatOfSpringEffect() {
|
||||
super();
|
||||
|
|
|
@ -68,7 +68,7 @@ public class ImiStatue extends CardImpl {
|
|||
}
|
||||
}
|
||||
|
||||
class ImiStatueEffect extends RestrictionUntapNotMoreThanEffect<ImiStatueEffect> {
|
||||
class ImiStatueEffect extends RestrictionUntapNotMoreThanEffect {
|
||||
|
||||
private static final FilterControlledPermanent filter = new FilterControlledArtifactPermanent("an artifact");
|
||||
|
||||
|
|
|
@ -72,7 +72,7 @@ public class InameDeathAspect extends CardImpl {
|
|||
}
|
||||
}
|
||||
|
||||
class InameDeathAspectEffect extends SearchEffect<InameDeathAspectEffect> {
|
||||
class InameDeathAspectEffect extends SearchEffect {
|
||||
|
||||
private static final FilterCreatureCard filter = new FilterCreatureCard();
|
||||
|
||||
|
|
|
@ -65,7 +65,7 @@ public class RiteOfFlame extends CardImpl {
|
|||
}
|
||||
}
|
||||
|
||||
class RiteOfFlameManaEffect extends ManaEffect<RiteOfFlameManaEffect> {
|
||||
class RiteOfFlameManaEffect extends ManaEffect {
|
||||
private static final FilterCard filter = new FilterCard();
|
||||
|
||||
static {
|
||||
|
|
|
@ -105,7 +105,7 @@ public class AnimarSoulOfElements extends CardImpl {
|
|||
}
|
||||
}
|
||||
|
||||
class AnimarCostReductionEffect extends CostModificationEffectImpl<AnimarCostReductionEffect> {
|
||||
class AnimarCostReductionEffect extends CostModificationEffectImpl {
|
||||
|
||||
AnimarCostReductionEffect() {
|
||||
super(Duration.WhileOnBattlefield, Outcome.Benefit, CostModificationType.REDUCE_COST);
|
||||
|
|
|
@ -70,7 +70,7 @@ public class BuriedAlive extends CardImpl {
|
|||
}
|
||||
}
|
||||
|
||||
class BuriedAliveEffect extends SearchEffect<BuriedAliveEffect> {
|
||||
class BuriedAliveEffect extends SearchEffect {
|
||||
|
||||
public BuriedAliveEffect() {
|
||||
super(new TargetCardInLibrary(0, 3, new FilterCreatureCard()), Outcome.Detriment);
|
||||
|
|
|
@ -67,7 +67,7 @@ public class CommandTower extends CardImpl {
|
|||
}
|
||||
}
|
||||
|
||||
class CommandTowerManaEffect extends ManaEffect<CommandTowerManaEffect> {
|
||||
class CommandTowerManaEffect extends ManaEffect {
|
||||
|
||||
public CommandTowerManaEffect() {
|
||||
super();
|
||||
|
|
|
@ -70,7 +70,7 @@ public class HoodedHorror extends CardImpl {
|
|||
}
|
||||
}
|
||||
|
||||
class HoodedHorrorCantBeBlockedEffect extends RestrictionEffect<HoodedHorrorCantBeBlockedEffect> {
|
||||
class HoodedHorrorCantBeBlockedEffect extends RestrictionEffect {
|
||||
|
||||
private final static FilterCreaturePermanent filter = new FilterCreaturePermanent();
|
||||
|
||||
|
|
|
@ -155,7 +155,7 @@ class IllusionistsGambitRemoveFromCombatEffect extends OneShotEffect {
|
|||
}
|
||||
}
|
||||
|
||||
class IllusionistsGambitRequirementEffect extends RequirementEffect<IllusionistsGambitRequirementEffect> {
|
||||
class IllusionistsGambitRequirementEffect extends RequirementEffect {
|
||||
|
||||
private List attackers;
|
||||
private Phase phase;
|
||||
|
|
|
@ -92,7 +92,7 @@ public class OpalPalace extends CardImpl {
|
|||
}
|
||||
}
|
||||
|
||||
class OpalPalaceManaEffect extends ManaEffect<OpalPalaceManaEffect> {
|
||||
class OpalPalaceManaEffect extends ManaEffect {
|
||||
|
||||
public OpalPalaceManaEffect() {
|
||||
super();
|
||||
|
|
|
@ -74,7 +74,7 @@ public class ExoticOrchard extends CardImpl {
|
|||
}
|
||||
}
|
||||
|
||||
class ExoticOrchardEffect extends ManaEffect<ExoticOrchardEffect> {
|
||||
class ExoticOrchardEffect extends ManaEffect {
|
||||
|
||||
private static final FilterPermanent filter = new FilterLandPermanent();
|
||||
static {
|
||||
|
|
|
@ -129,7 +129,7 @@ class GwafaHazidProfiteerEffect1 extends OneShotEffect {
|
|||
|
||||
}
|
||||
|
||||
class GwafaHazidProfiteerEffect2 extends RestrictionEffect<GwafaHazidProfiteerEffect2> {
|
||||
class GwafaHazidProfiteerEffect2 extends RestrictionEffect {
|
||||
|
||||
public GwafaHazidProfiteerEffect2() {
|
||||
super(Duration.WhileOnBattlefield);
|
||||
|
|
|
@ -71,7 +71,7 @@ public class SuicidalCharge extends CardImpl {
|
|||
}
|
||||
}
|
||||
|
||||
class SuicidalChargeEffect extends RequirementEffect<SuicidalChargeEffect> {
|
||||
class SuicidalChargeEffect extends RequirementEffect {
|
||||
|
||||
public SuicidalChargeEffect() {
|
||||
super(Duration.EndOfTurn);
|
||||
|
|
|
@ -74,7 +74,7 @@ public class ViewFromAbove extends CardImpl {
|
|||
}
|
||||
}
|
||||
|
||||
class ViewFromAboveEffect extends PostResolveEffect<ViewFromAboveEffect> {
|
||||
class ViewFromAboveEffect extends PostResolveEffect {
|
||||
|
||||
public ViewFromAboveEffect() {
|
||||
this.staticText = "If you control a white permanent, return {this} to its owner's hand";
|
||||
|
|
|
@ -76,7 +76,7 @@ public class IncreasingAmbition extends CardImpl {
|
|||
}
|
||||
}
|
||||
|
||||
class IncreasingAmbitionEffect extends SearchEffect<IncreasingAmbitionEffect> {
|
||||
class IncreasingAmbitionEffect extends SearchEffect {
|
||||
|
||||
public IncreasingAmbitionEffect() {
|
||||
super(new TargetCardInLibrary(), Outcome.DrawCard);
|
||||
|
|
|
@ -77,7 +77,7 @@ public class ThaliaGuardianOfThraben extends CardImpl {
|
|||
}
|
||||
}
|
||||
|
||||
class ThaliaGuardianOfThrabenCostReductionEffect extends CostModificationEffectImpl<ThaliaGuardianOfThrabenCostReductionEffect> {
|
||||
class ThaliaGuardianOfThrabenCostReductionEffect extends CostModificationEffectImpl {
|
||||
|
||||
ThaliaGuardianOfThrabenCostReductionEffect ( ) {
|
||||
super(Duration.WhileOnBattlefield, Outcome.Benefit, CostModificationType.INCREASE_COST);
|
||||
|
|
|
@ -68,7 +68,7 @@ public class Trinisphere extends CardImpl {
|
|||
}
|
||||
}
|
||||
|
||||
class TrinisphereEffect extends CostModificationEffectImpl<TrinisphereEffect> {
|
||||
class TrinisphereEffect extends CostModificationEffectImpl {
|
||||
|
||||
public TrinisphereEffect() {
|
||||
super(Duration.WhileOnBattlefield, Outcome.Neutral, CostModificationType.SET_COST);
|
||||
|
|
|
@ -161,7 +161,7 @@ class UtopiaSprawlTriggeredAbility extends TriggeredManaAbility<UtopiaSprawlTrig
|
|||
}
|
||||
|
||||
|
||||
class UtopiaSprawlEffect extends ManaEffect<UtopiaSprawlEffect> {
|
||||
class UtopiaSprawlEffect extends ManaEffect {
|
||||
|
||||
public UtopiaSprawlEffect() {
|
||||
super();
|
||||
|
|
|
@ -170,7 +170,7 @@ class CouncilOfTheAbsoluteReplacementEffect extends ReplacementEffectImpl {
|
|||
}
|
||||
}
|
||||
|
||||
class CouncilOfTheAbsoluteCostReductionEffect extends CostModificationEffectImpl<CouncilOfTheAbsoluteCostReductionEffect> {
|
||||
class CouncilOfTheAbsoluteCostReductionEffect extends CostModificationEffectImpl {
|
||||
|
||||
public CouncilOfTheAbsoluteCostReductionEffect() {
|
||||
super(Duration.WhileOnBattlefield, Outcome.Benefit, CostModificationType.REDUCE_COST);
|
||||
|
|
|
@ -106,7 +106,7 @@ class PlasmCaptureCounterEffect extends OneShotEffect {
|
|||
}
|
||||
}
|
||||
|
||||
class PlasmCaptureManaEffect extends ManaEffect<PlasmCaptureManaEffect> {
|
||||
class PlasmCaptureManaEffect extends ManaEffect {
|
||||
|
||||
int amountOfMana;
|
||||
|
||||
|
|
|
@ -116,7 +116,7 @@ class ZhurTaaAncientAbility extends TriggeredManaAbility<ZhurTaaAncientAbility>
|
|||
}
|
||||
}
|
||||
|
||||
class ZhurTaaAncientEffect extends ManaEffect<ZhurTaaAncientEffect> {
|
||||
class ZhurTaaAncientEffect extends ManaEffect {
|
||||
|
||||
public ZhurTaaAncientEffect() {
|
||||
super();
|
||||
|
|
|
@ -73,7 +73,7 @@ public class BloomTender extends CardImpl {
|
|||
}
|
||||
}
|
||||
|
||||
class BloomTenderEffect extends ManaEffect<BloomTenderEffect> {
|
||||
class BloomTenderEffect extends ManaEffect {
|
||||
|
||||
public BloomTenderEffect() {
|
||||
super();
|
||||
|
|
|
@ -78,7 +78,7 @@ public class EndlessHorizons extends CardImpl {
|
|||
}
|
||||
}
|
||||
|
||||
class EndlessHorizonsEffect extends SearchEffect<EndlessHorizonsEffect> {
|
||||
class EndlessHorizonsEffect extends SearchEffect {
|
||||
|
||||
private static final FilterLandCard filter = new FilterLandCard("Plains card");
|
||||
|
||||
|
|
|
@ -73,7 +73,7 @@ public class RecumbentBliss extends CardImpl {
|
|||
}
|
||||
}
|
||||
|
||||
class RecumbentBlissEffect extends RestrictionEffect<RecumbentBlissEffect> {
|
||||
class RecumbentBlissEffect extends RestrictionEffect {
|
||||
|
||||
public RecumbentBlissEffect() {
|
||||
super(Duration.WhileOnBattlefield);
|
||||
|
|
|
@ -108,7 +108,7 @@ public class ShrewdHatchling extends CardImpl {
|
|||
}
|
||||
}
|
||||
|
||||
class ShrewdHatchlingEffect extends RestrictionEffect<ShrewdHatchlingEffect> {
|
||||
class ShrewdHatchlingEffect extends RestrictionEffect {
|
||||
|
||||
public ShrewdHatchlingEffect() {
|
||||
super(Duration.EndOfTurn);
|
||||
|
|
|
@ -113,7 +113,7 @@ class HighTideTriggeredAbility extends DelayedTriggeredManaAbility<HighTideTrigg
|
|||
}
|
||||
}
|
||||
|
||||
class AddBlueToTargetEffect extends ManaEffect<AddBlueToTargetEffect> {
|
||||
class AddBlueToTargetEffect extends ManaEffect {
|
||||
|
||||
|
||||
public AddBlueToTargetEffect() {
|
||||
|
|
|
@ -113,7 +113,7 @@ class DawnsReflectionTriggeredAbility extends TriggeredManaAbility<DawnsReflecti
|
|||
}
|
||||
|
||||
|
||||
class DawnsReflectionManaEffect extends ManaEffect<DawnsReflectionManaEffect> {
|
||||
class DawnsReflectionManaEffect extends ManaEffect {
|
||||
|
||||
public DawnsReflectionManaEffect() {
|
||||
super();
|
||||
|
|
|
@ -73,7 +73,7 @@ public class DeathcultRogue extends CardImpl {
|
|||
}
|
||||
}
|
||||
|
||||
class DeathcultRogueRestrictionEffect extends RestrictionEffect<DeathcultRogueRestrictionEffect> {
|
||||
class DeathcultRogueRestrictionEffect extends RestrictionEffect {
|
||||
|
||||
public DeathcultRogueRestrictionEffect() {
|
||||
super(Duration.WhileOnBattlefield);
|
||||
|
|
|
@ -82,7 +82,7 @@ public class HellraiserGoblin extends CardImpl {
|
|||
}
|
||||
}
|
||||
|
||||
class AttacksIfAbleAllEffect extends RequirementEffect<AttacksIfAbleAllEffect> {
|
||||
class AttacksIfAbleAllEffect extends RequirementEffect {
|
||||
|
||||
private FilterControlledCreaturePermanent filter;
|
||||
|
||||
|
|
|
@ -84,7 +84,7 @@ public class LegionLoyalist extends CardImpl {
|
|||
}
|
||||
}
|
||||
|
||||
class CantBeBlockedByTokenEffect extends RestrictionEffect<CantBeBlockedByTokenEffect> {
|
||||
class CantBeBlockedByTokenEffect extends RestrictionEffect {
|
||||
|
||||
public CantBeBlockedByTokenEffect() {
|
||||
super(Duration.EndOfTurn);
|
||||
|
|
|
@ -72,7 +72,7 @@ public class SignalTheClans extends CardImpl {
|
|||
}
|
||||
}
|
||||
|
||||
class SignalTheClansEffect extends SearchEffect<SignalTheClansEffect> {
|
||||
class SignalTheClansEffect extends SearchEffect {
|
||||
|
||||
|
||||
public SignalTheClansEffect() {
|
||||
|
|
|
@ -72,7 +72,7 @@ public class SkyblinderStaff extends CardImpl {
|
|||
}
|
||||
}
|
||||
|
||||
class CantBeBlockedByCreaturesWithFlyingAttachedEffect extends RestrictionEffect<CantBeBlockedByCreaturesWithFlyingAttachedEffect> {
|
||||
class CantBeBlockedByCreaturesWithFlyingAttachedEffect extends RestrictionEffect {
|
||||
|
||||
public CantBeBlockedByCreaturesWithFlyingAttachedEffect() {
|
||||
super(Duration.WhileOnBattlefield);
|
||||
|
|
|
@ -74,7 +74,7 @@ public class SpireTracer extends CardImpl {
|
|||
}
|
||||
}
|
||||
|
||||
class CantBeBlockedExceptByCreaturesWithFlyingOrReachEffect extends RestrictionEffect<CantBeBlockedExceptByCreaturesWithFlyingOrReachEffect> {
|
||||
class CantBeBlockedExceptByCreaturesWithFlyingOrReachEffect extends RestrictionEffect {
|
||||
|
||||
public CantBeBlockedExceptByCreaturesWithFlyingOrReachEffect() {
|
||||
super(Duration.WhileOnBattlefield);
|
||||
|
|
|
@ -120,7 +120,7 @@ class VerdantHavenTriggeredAbility extends TriggeredManaAbility<VerdantHavenTrig
|
|||
}
|
||||
}
|
||||
|
||||
class VerdantHavenManaEffect extends ManaEffect<VerdantHavenManaEffect> {
|
||||
class VerdantHavenManaEffect extends ManaEffect {
|
||||
|
||||
public VerdantHavenManaEffect() {
|
||||
super();
|
||||
|
|
|
@ -94,7 +94,7 @@ public class InfiltratorsMagemark extends CardImpl {
|
|||
}
|
||||
}
|
||||
|
||||
class InfiltratorsMagemarkUnblockableAllEffect extends RestrictionEffect<InfiltratorsMagemarkUnblockableAllEffect> {
|
||||
class InfiltratorsMagemarkUnblockableAllEffect extends RestrictionEffect {
|
||||
|
||||
private FilterPermanent filter;
|
||||
|
||||
|
|
|
@ -77,7 +77,7 @@ public class SilhanaLedgewalker extends CardImpl {
|
|||
|
||||
}
|
||||
|
||||
class SilhanaLedgewalkerEffect extends RestrictionEffect<SilhanaLedgewalkerEffect> {
|
||||
class SilhanaLedgewalkerEffect extends RestrictionEffect {
|
||||
|
||||
public SilhanaLedgewalkerEffect() {
|
||||
super(Duration.WhileOnBattlefield);
|
||||
|
|
|
@ -88,7 +88,7 @@ public class OrcishLumberjack extends CardImpl {
|
|||
}
|
||||
}
|
||||
|
||||
class OrcishLumberjackManaEffect extends ManaEffect <OrcishLumberjackManaEffect> {
|
||||
class OrcishLumberjackManaEffect extends ManaEffect {
|
||||
|
||||
public OrcishLumberjackManaEffect() {
|
||||
super();
|
||||
|
|
|
@ -114,7 +114,7 @@ class WildGrowthTriggeredAbility extends TriggeredManaAbility<WildGrowthTriggere
|
|||
}
|
||||
}
|
||||
|
||||
class WildGrowthEffect extends ManaEffect<WildGrowthEffect> {
|
||||
class WildGrowthEffect extends ManaEffect {
|
||||
|
||||
public WildGrowthEffect() {
|
||||
super();
|
||||
|
|
|
@ -78,7 +78,7 @@ public class CurseOfTheNightlyHunt extends CardImpl {
|
|||
}
|
||||
}
|
||||
|
||||
class CurseOfTheNightlyHuntEffect extends RequirementEffect<CurseOfTheNightlyHuntEffect> {
|
||||
class CurseOfTheNightlyHuntEffect extends RequirementEffect {
|
||||
|
||||
public CurseOfTheNightlyHuntEffect() {
|
||||
super(Duration.WhileOnBattlefield);
|
||||
|
|
|
@ -97,7 +97,7 @@ class OrchardSpiritAbility extends EvasionAbility {
|
|||
}
|
||||
}
|
||||
|
||||
class OrchardSpiritEffect extends RestrictionEffect<OrchardSpiritEffect> {
|
||||
class OrchardSpiritEffect extends RestrictionEffect {
|
||||
|
||||
public OrchardSpiritEffect() {
|
||||
super(Duration.WhileOnBattlefield);
|
||||
|
|
|
@ -72,7 +72,7 @@ public class RooftopStorm extends CardImpl {
|
|||
|
||||
|
||||
//TODO : change to alternativCost
|
||||
class RooftopStormCostReductionEffect extends CostModificationEffectImpl<RooftopStormCostReductionEffect> {
|
||||
class RooftopStormCostReductionEffect extends CostModificationEffectImpl {
|
||||
|
||||
private static final String effectText = "You may pay {0} rather than pay the mana cost for Zombie creature spells you cast";
|
||||
|
||||
|
|
|
@ -77,7 +77,7 @@ public class StromkirkNoble extends CardImpl {
|
|||
}
|
||||
}
|
||||
|
||||
class StromkirkEffect extends RestrictionEffect<StromkirkEffect> {
|
||||
class StromkirkEffect extends RestrictionEffect {
|
||||
|
||||
public StromkirkEffect() {
|
||||
super(Duration.WhileOnBattlefield);
|
||||
|
|
|
@ -86,7 +86,7 @@ public class BattlefieldThaumaturge extends CardImpl {
|
|||
}
|
||||
}
|
||||
|
||||
class BattlefieldThaumaturgeSpellsCostReductionEffect extends CostModificationEffectImpl<BattlefieldThaumaturgeSpellsCostReductionEffect> {
|
||||
class BattlefieldThaumaturgeSpellsCostReductionEffect extends CostModificationEffectImpl {
|
||||
|
||||
private static final FilterSpell filter = new FilterSpell("instant and sorcery spell");
|
||||
|
||||
|
|
|
@ -119,7 +119,7 @@ class DesertersQuartersTapTargetEffect extends TapTargetEffect {
|
|||
}
|
||||
}
|
||||
|
||||
class DesertersQuartersRestrictionEffect extends RestrictionEffect<DesertersQuartersRestrictionEffect> {
|
||||
class DesertersQuartersRestrictionEffect extends RestrictionEffect {
|
||||
|
||||
public DesertersQuartersRestrictionEffect() {
|
||||
super(Duration.WhileOnBattlefield);
|
||||
|
|
|
@ -115,7 +115,7 @@ class MarketFestivalTriggeredAbility extends TriggeredManaAbility<MarketFestival
|
|||
}
|
||||
|
||||
|
||||
class MarketFestivalManaEffect extends ManaEffect<MarketFestivalManaEffect> {
|
||||
class MarketFestivalManaEffect extends ManaEffect {
|
||||
|
||||
public MarketFestivalManaEffect() {
|
||||
super();
|
||||
|
|
|
@ -149,7 +149,7 @@ class OppressiveRaysEffect extends ReplacementEffectImpl {
|
|||
|
||||
}
|
||||
|
||||
class OppressiveRaysCostModificationEffect extends CostModificationEffectImpl<OppressiveRaysCostModificationEffect> {
|
||||
class OppressiveRaysCostModificationEffect extends CostModificationEffectImpl {
|
||||
|
||||
OppressiveRaysCostModificationEffect ( ) {
|
||||
super(Duration.WhileOnBattlefield, Outcome.Benefit, CostModificationType.INCREASE_COST);
|
||||
|
|
|
@ -82,7 +82,7 @@ public class QuietSpeculation extends CardImpl {
|
|||
}
|
||||
}
|
||||
|
||||
class SearchLibraryPutInGraveEffect extends SearchEffect<SearchLibraryPutInGraveEffect> {
|
||||
class SearchLibraryPutInGraveEffect extends SearchEffect {
|
||||
|
||||
public SearchLibraryPutInGraveEffect(TargetCardInLibrary target) {
|
||||
super(target, Outcome.Neutral);
|
||||
|
|
|
@ -75,7 +75,7 @@ public class HunterSliver extends CardImpl {
|
|||
}
|
||||
}
|
||||
|
||||
class ProvokeEffect extends RequirementEffect<ProvokeEffect> {
|
||||
class ProvokeEffect extends RequirementEffect {
|
||||
|
||||
public ProvokeEffect() {
|
||||
this(Duration.EndOfTurn);
|
||||
|
|
|
@ -68,7 +68,7 @@ public class Smoke extends CardImpl {
|
|||
}
|
||||
}
|
||||
|
||||
class SmokeEffect extends RestrictionUntapNotMoreThanEffect<SmokeEffect> {
|
||||
class SmokeEffect extends RestrictionUntapNotMoreThanEffect {
|
||||
|
||||
private static final FilterControlledPermanent filter = new FilterControlledCreaturePermanent();
|
||||
|
||||
|
|
|
@ -66,7 +66,7 @@ public class WinterOrb extends CardImpl {
|
|||
}
|
||||
}
|
||||
|
||||
class WinterOrbEffect extends RestrictionUntapNotMoreThanEffect<WinterOrbEffect> {
|
||||
class WinterOrbEffect extends RestrictionUntapNotMoreThanEffect {
|
||||
|
||||
private static final FilterControlledPermanent filter = new FilterControlledLandPermanent();
|
||||
|
||||
|
|
|
@ -95,7 +95,7 @@ class DreadWarlockAbility extends EvasionAbility {
|
|||
}
|
||||
}
|
||||
|
||||
class DreadWarlockEffect extends RestrictionEffect<DreadWarlockEffect> {
|
||||
class DreadWarlockEffect extends RestrictionEffect {
|
||||
|
||||
public DreadWarlockEffect() {
|
||||
super(Duration.WhileOnBattlefield);
|
||||
|
|
|
@ -72,7 +72,7 @@ public class BloodcrazedGoblin extends CardImpl {
|
|||
|
||||
}
|
||||
|
||||
class BloodcrazedGoblinEffect extends RestrictionEffect<BloodcrazedGoblinEffect> {
|
||||
class BloodcrazedGoblinEffect extends RestrictionEffect {
|
||||
|
||||
public BloodcrazedGoblinEffect() {
|
||||
super(Duration.WhileOnBattlefield);
|
||||
|
|
|
@ -72,7 +72,7 @@ public class HarborSerpent extends CardImpl {
|
|||
}
|
||||
}
|
||||
|
||||
class HarborSerpentEffect extends RestrictionEffect<HarborSerpentEffect> {
|
||||
class HarborSerpentEffect extends RestrictionEffect {
|
||||
|
||||
private final FilterLandPermanent filter = new FilterLandPermanent("Island");
|
||||
|
||||
|
|
|
@ -67,7 +67,7 @@ public class TectonicRift extends CardImpl {
|
|||
}
|
||||
}
|
||||
|
||||
class TectonicRiftEffect extends RestrictionEffect<TectonicRiftEffect> {
|
||||
class TectonicRiftEffect extends RestrictionEffect {
|
||||
|
||||
TectonicRiftEffect() {
|
||||
super(Duration.EndOfTurn);
|
||||
|
|
|
@ -69,7 +69,7 @@ public class Omniscience extends CardImpl {
|
|||
}
|
||||
}
|
||||
|
||||
class OmniscienceEffect extends CostModificationEffectImpl<OmniscienceEffect> {
|
||||
class OmniscienceEffect extends CostModificationEffectImpl {
|
||||
|
||||
public OmniscienceEffect() {
|
||||
super(Duration.WhileOnBattlefield, Outcome.PlayForFree, CostModificationType.SET_COST);
|
||||
|
|
|
@ -80,7 +80,7 @@ public class PredatoryRampage extends CardImpl {
|
|||
}
|
||||
}
|
||||
|
||||
class PredatoryRampageEffect extends RequirementEffect<PredatoryRampageEffect> {
|
||||
class PredatoryRampageEffect extends RequirementEffect {
|
||||
|
||||
public PredatoryRampageEffect(Duration duration) {
|
||||
super(duration);
|
||||
|
|
|
@ -83,7 +83,7 @@ public class SlumberingDragon extends CardImpl {
|
|||
}
|
||||
}
|
||||
|
||||
class SlumberingDragonEffect extends RestrictionEffect<SlumberingDragonEffect> {
|
||||
class SlumberingDragonEffect extends RestrictionEffect {
|
||||
|
||||
public SlumberingDragonEffect() {
|
||||
super(Duration.WhileOnBattlefield);
|
||||
|
|
|
@ -77,7 +77,7 @@ public class WarFalcon extends CardImpl {
|
|||
}
|
||||
}
|
||||
|
||||
class WarFalconEffect extends RestrictionEffect<WarFalconEffect> {
|
||||
class WarFalconEffect extends RestrictionEffect {
|
||||
|
||||
private static final FilterControlledPermanent filter = new FilterControlledPermanent("Knight or a Soldier");
|
||||
|
||||
|
|
|
@ -74,7 +74,7 @@ public class CyclopsTyrant extends CardImpl {
|
|||
}
|
||||
}
|
||||
|
||||
class CyclopsTyrantEffect extends RestrictionEffect<CyclopsTyrantEffect> {
|
||||
class CyclopsTyrantEffect extends RestrictionEffect {
|
||||
|
||||
public CyclopsTyrantEffect() {
|
||||
super(Duration.WhileOnBattlefield);
|
||||
|
|
|
@ -72,7 +72,7 @@ public class GoblinDiplomats extends CardImpl {
|
|||
}
|
||||
}
|
||||
|
||||
class GoblinDiplomatsEffect extends RequirementEffect<GoblinDiplomatsEffect> {
|
||||
class GoblinDiplomatsEffect extends RequirementEffect {
|
||||
|
||||
public GoblinDiplomatsEffect() {
|
||||
super(Duration.EndOfTurn);
|
||||
|
|
|
@ -64,7 +64,7 @@ public class SeismicStomp extends CardImpl {
|
|||
}
|
||||
}
|
||||
|
||||
class SeismicStompEffect extends RestrictionEffect<SeismicStompEffect> {
|
||||
class SeismicStompEffect extends RestrictionEffect {
|
||||
|
||||
SeismicStompEffect() {
|
||||
super(Duration.EndOfTurn);
|
||||
|
|
|
@ -92,7 +92,7 @@ public class KyrenToy extends CardImpl {
|
|||
}
|
||||
}
|
||||
|
||||
private class KyrenToyManaEffect extends ManaEffect<KyrenToyManaEffect> {
|
||||
private class KyrenToyManaEffect extends ManaEffect {
|
||||
|
||||
KyrenToyManaEffect() {
|
||||
super();
|
||||
|
|
|
@ -126,7 +126,7 @@ class AmberPrisonTapTargetEffect extends OneShotEffect {
|
|||
|
||||
}
|
||||
|
||||
class AmberPrisonRestrictionEffect extends RestrictionEffect<AmberPrisonRestrictionEffect> {
|
||||
class AmberPrisonRestrictionEffect extends RestrictionEffect {
|
||||
|
||||
public AmberPrisonRestrictionEffect() {
|
||||
super(Duration.WhileOnBattlefield);
|
||||
|
|
|
@ -122,7 +122,7 @@ class ChromeMoxEffect extends OneShotEffect {
|
|||
|
||||
}
|
||||
|
||||
class ChromeMoxManaEffect extends ManaEffect<ChromeMoxManaEffect> {
|
||||
class ChromeMoxManaEffect extends ManaEffect {
|
||||
|
||||
|
||||
ChromeMoxManaEffect() {
|
||||
|
|
|
@ -95,7 +95,7 @@ class ConcussiveBoltEffect extends OneShotEffect {
|
|||
}
|
||||
}
|
||||
|
||||
class ConcussiveBoltRestrictionEffect extends RestrictionEffect<ConcussiveBoltRestrictionEffect> {
|
||||
class ConcussiveBoltRestrictionEffect extends RestrictionEffect {
|
||||
|
||||
public ConcussiveBoltRestrictionEffect() {
|
||||
super(Duration.EndOfTurn);
|
||||
|
|
|
@ -73,7 +73,7 @@ public class HeroOfOxidRidge extends CardImpl {
|
|||
|
||||
}
|
||||
|
||||
class HeroOfOxidRidgeEffect extends RestrictionEffect<HeroOfOxidRidgeEffect> {
|
||||
class HeroOfOxidRidgeEffect extends RestrictionEffect {
|
||||
|
||||
public HeroOfOxidRidgeEffect() {
|
||||
super(Duration.EndOfTurn);
|
||||
|
|
|
@ -96,7 +96,7 @@ class SignalPestAbility extends EvasionAbility {
|
|||
}
|
||||
}
|
||||
|
||||
class SignalPestEffect extends RestrictionEffect<SignalPestEffect> {
|
||||
class SignalPestEffect extends RestrictionEffect {
|
||||
|
||||
public SignalPestEffect() {
|
||||
super(Duration.WhileOnBattlefield);
|
||||
|
|
|
@ -72,7 +72,7 @@ public class SpinEngine extends CardImpl {
|
|||
|
||||
}
|
||||
|
||||
class SpinEngineEffect extends RestrictionEffect<SpinEngineEffect> {
|
||||
class SpinEngineEffect extends RestrictionEffect {
|
||||
|
||||
public SpinEngineEffect() {
|
||||
super(Duration.EndOfTurn);
|
||||
|
|
|
@ -69,7 +69,7 @@ public class TrainingDrone extends CardImpl {
|
|||
}
|
||||
}
|
||||
|
||||
class TrainingDroneEffect extends RestrictionEffect<TrainingDroneEffect> {
|
||||
class TrainingDroneEffect extends RestrictionEffect {
|
||||
|
||||
public TrainingDroneEffect() {
|
||||
super(Duration.WhileOnBattlefield);
|
||||
|
|
|
@ -74,7 +74,7 @@ public class BlindSpotGiant extends CardImpl {
|
|||
}
|
||||
}
|
||||
|
||||
class BlindSpotGiantEffect extends RestrictionEffect<BlindSpotGiantEffect> {
|
||||
class BlindSpotGiantEffect extends RestrictionEffect {
|
||||
|
||||
private static final FilterControlledPermanent filter = new FilterControlledPermanent("another Giant");
|
||||
static {
|
||||
|
|
|
@ -91,7 +91,7 @@ public class GrandArbiterAugustinIV extends CardImpl {
|
|||
}
|
||||
}
|
||||
|
||||
class GrandArbiterAugustinIVCostIncreaseEffect extends CostModificationEffectImpl<GrandArbiterAugustinIVCostIncreaseEffect> {
|
||||
class GrandArbiterAugustinIVCostIncreaseEffect extends CostModificationEffectImpl {
|
||||
|
||||
private static final String effectText = "Spells your opponents cast cost {1} more to cast";
|
||||
|
||||
|
|
|
@ -134,7 +134,7 @@ class PetalsOfInsightEffect extends OneShotEffect {
|
|||
}
|
||||
}
|
||||
|
||||
class PetalsOfInsightReturnEffect extends PostResolveEffect<PetalsOfInsightReturnEffect> {
|
||||
class PetalsOfInsightReturnEffect extends PostResolveEffect {
|
||||
|
||||
public PetalsOfInsightReturnEffect() {
|
||||
staticText = "If you do, return Petals of Insight to its owner's hand. Otherwise, draw three cards";
|
||||
|
|
|
@ -194,7 +194,7 @@ class CagedSunTriggeredAbility extends TriggeredManaAbility<CagedSunTriggeredAbi
|
|||
}
|
||||
|
||||
|
||||
class CagedSunEffect extends ManaEffect<CagedSunEffect> {
|
||||
class CagedSunEffect extends ManaEffect {
|
||||
|
||||
public CagedSunEffect() {
|
||||
super();
|
||||
|
|
|
@ -63,7 +63,7 @@ public class RuthlessInvasion extends CardImpl {
|
|||
|
||||
}
|
||||
|
||||
class RuthlessInvasionEffect extends RestrictionEffect<RuthlessInvasionEffect> {
|
||||
class RuthlessInvasionEffect extends RestrictionEffect {
|
||||
RuthlessInvasionEffect() {
|
||||
super(Duration.EndOfTurn);
|
||||
staticText = "Nonartifact creatures can't block this turn";
|
||||
|
|
|
@ -123,7 +123,7 @@ class VorinclexTriggeredAbility1 extends TriggeredManaAbility<VorinclexTriggered
|
|||
}
|
||||
|
||||
|
||||
class VorinclexEffect extends ManaEffect<VorinclexEffect> {
|
||||
class VorinclexEffect extends ManaEffect {
|
||||
|
||||
public VorinclexEffect() {
|
||||
super();
|
||||
|
|
|
@ -65,7 +65,7 @@ public class DefenseGrid extends CardImpl {
|
|||
}
|
||||
}
|
||||
|
||||
class DefenseGridCostModificationEffect extends CostModificationEffectImpl<DefenseGridCostModificationEffect> {
|
||||
class DefenseGridCostModificationEffect extends CostModificationEffectImpl {
|
||||
|
||||
DefenseGridCostModificationEffect ( ) {
|
||||
super(Duration.WhileOnBattlefield, Outcome.Benefit, CostModificationType.INCREASE_COST);
|
||||
|
|
|
@ -70,7 +70,7 @@ public class StorageMatrix extends CardImpl {
|
|||
|
||||
|
||||
|
||||
class StorageMatrixRestrictionEffect extends RestrictionEffect<StorageMatrixRestrictionEffect> {
|
||||
class StorageMatrixRestrictionEffect extends RestrictionEffect {
|
||||
|
||||
private int turn;
|
||||
private boolean applies;
|
||||
|
|
|
@ -71,7 +71,7 @@ public class Entomb extends CardImpl {
|
|||
}
|
||||
|
||||
|
||||
class SearchLibraryPutInGraveyard extends SearchEffect<SearchLibraryPutInGraveyard> {
|
||||
class SearchLibraryPutInGraveyard extends SearchEffect {
|
||||
|
||||
public SearchLibraryPutInGraveyard() {
|
||||
super(new TargetCardInLibrary(new FilterCard()), Outcome.Neutral);
|
||||
|
|
|
@ -128,7 +128,7 @@ class VedalkenEngineerAbility extends ManaAbility<VedalkenEngineerAbility> {
|
|||
}
|
||||
}
|
||||
|
||||
class VedalkenEngineerEffect extends ManaEffect<VedalkenEngineerEffect> {
|
||||
class VedalkenEngineerEffect extends ManaEffect {
|
||||
|
||||
private int amount;
|
||||
private ConditionalManaBuilder manaBuilder;
|
||||
|
|
|
@ -85,7 +85,7 @@ public class ElderwoodScion extends CardImpl {
|
|||
}
|
||||
}
|
||||
|
||||
class ElderwoodScionCostReductionEffect extends CostModificationEffectImpl<ElderwoodScionCostReductionEffect> {
|
||||
class ElderwoodScionCostReductionEffect extends CostModificationEffectImpl {
|
||||
|
||||
private static final String effectText = "Spells you cast that target {this} cost {2} less to cast";
|
||||
|
||||
|
@ -128,7 +128,7 @@ class ElderwoodScionCostReductionEffect extends CostModificationEffectImpl<Elder
|
|||
|
||||
}
|
||||
|
||||
class ElderwoodScionCostReductionEffect2 extends CostModificationEffectImpl<ElderwoodScionCostReductionEffect2> {
|
||||
class ElderwoodScionCostReductionEffect2 extends CostModificationEffectImpl {
|
||||
|
||||
private static final String effectText = "Spells your opponents cast that target Elderwood Scion cost {2} more to cast";
|
||||
|
||||
|
|
|
@ -112,7 +112,7 @@ class AvatarOfFuryAdjustingCostsAbility extends SimpleStaticAbility implements A
|
|||
}
|
||||
}
|
||||
|
||||
//class AvatarOfFuryAdjustingCostsEffect extends CostModificationEffectImpl<AvatarOfFuryAdjustingCostsEffect> {
|
||||
//class AvatarOfFuryAdjustingCostsEffect extends CostModificationEffectImpl {
|
||||
//
|
||||
// public AvatarOfFuryAdjustingCostsEffect() {
|
||||
// super(Duration.Custom, Outcome.Benefit, CostModificationType.REDUCE_COST);
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue