moved TransformAbility into DayboundAbility for simplicity

This commit is contained in:
Evan Kranzler 2021-11-05 19:59:00 -04:00
parent f53dde0036
commit ecfe08cee0
31 changed files with 1 additions and 60 deletions

View file

@ -7,7 +7,6 @@ import mage.abilities.effects.ReplacementEffectImpl;
import mage.abilities.effects.common.CreateTokenEffect;
import mage.abilities.effects.common.continuous.CastAsThoughItHadFlashAllEffect;
import mage.abilities.keyword.DayboundAbility;
import mage.abilities.keyword.TransformAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.*;
@ -38,7 +37,6 @@ public final class ArlinnThePacksHope extends CardImpl {
this.secondSideCardClazz = mage.cards.a.ArlinnTheMoonsFury.class;
// Daybound
this.addAbility(new TransformAbility());
this.addAbility(new DayboundAbility());
// +1: Until your next turn, you may cast creature spells as though they had flash, and each creature you control enters the battlefield with an additional +1/+1 counter on it.

View file

@ -6,7 +6,6 @@ import mage.abilities.common.BeginningOfCombatTriggeredAbility;
import mage.abilities.effects.common.counter.AddCountersTargetEffect;
import mage.abilities.keyword.DayboundAbility;
import mage.abilities.keyword.HexproofAbility;
import mage.abilities.keyword.TransformAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
@ -54,7 +53,6 @@ public final class AvabruckCaretaker extends CardImpl {
this.addAbility(ability);
// Daybound
this.addAbility(new TransformAbility());
this.addAbility(new DayboundAbility());
}

View file

@ -4,7 +4,6 @@ import mage.MageInt;
import mage.abilities.common.BecomesBlockedSourceTriggeredAbility;
import mage.abilities.effects.common.continuous.BoostAllEffect;
import mage.abilities.keyword.DayboundAbility;
import mage.abilities.keyword.TransformAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
@ -42,7 +41,6 @@ public final class BanebladeScoundrel extends CardImpl {
).setText("each creature blocking it gets -1/-1 until end of turn"), false));
// Daybound
this.addAbility(new TransformAbility());
this.addAbility(new DayboundAbility());
}

View file

@ -3,7 +3,6 @@ package mage.cards.b;
import mage.MageInt;
import mage.abilities.keyword.DayboundAbility;
import mage.abilities.keyword.ReachAbility;
import mage.abilities.keyword.TransformAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
@ -30,7 +29,6 @@ public final class BirdAdmirer extends CardImpl {
this.addAbility(ReachAbility.getInstance());
// Daybound
this.addAbility(new TransformAbility());
this.addAbility(new DayboundAbility());
}

View file

@ -6,7 +6,6 @@ import mage.abilities.common.delayed.OnLeaveReturnExiledToBattlefieldAbility;
import mage.abilities.effects.common.CreateDelayedTriggeredAbilityEffect;
import mage.abilities.effects.common.ExileUntilSourceLeavesEffect;
import mage.abilities.keyword.DayboundAbility;
import mage.abilities.keyword.TransformAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
@ -38,7 +37,6 @@ public final class BrutalCathar extends CardImpl {
this.addAbility(new BrutalCatharTriggeredAbility());
// Daybound
this.addAbility(new TransformAbility());
this.addAbility(new DayboundAbility());
}

View file

@ -3,7 +3,6 @@ package mage.cards.b;
import mage.MageInt;
import mage.abilities.costs.mana.ManaCostsImpl;
import mage.abilities.keyword.DayboundAbility;
import mage.abilities.keyword.TransformAbility;
import mage.abilities.keyword.WardAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
@ -30,7 +29,6 @@ public final class BurlyBreaker extends CardImpl {
this.addAbility(new WardAbility(new ManaCostsImpl<>("{1}")));
// Daybound
this.addAbility(new TransformAbility());
this.addAbility(new DayboundAbility());
}

View file

@ -5,7 +5,6 @@ import mage.abilities.common.SimpleActivatedAbility;
import mage.abilities.costs.mana.ManaCostsImpl;
import mage.abilities.effects.common.CreateTokenEffect;
import mage.abilities.keyword.DayboundAbility;
import mage.abilities.keyword.TransformAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
@ -34,7 +33,6 @@ public final class ChildOfThePack extends CardImpl {
));
// Daybound
this.addAbility(new TransformAbility());
this.addAbility(new DayboundAbility());
}

View file

@ -9,7 +9,6 @@ import mage.abilities.effects.common.GainLifeEffect;
import mage.abilities.effects.common.LoseLifeTargetEffect;
import mage.abilities.keyword.DayboundAbility;
import mage.abilities.keyword.EnchantAbility;
import mage.abilities.keyword.TransformAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.*;
@ -52,7 +51,6 @@ public final class CurseOfLeeches extends CardImpl {
this.addAbility(ability);
// Daybound
this.addAbility(new TransformAbility());
this.addAbility(new DayboundAbility());
}

View file

@ -8,7 +8,6 @@ import mage.abilities.effects.common.continuous.BoostSourceEffect;
import mage.abilities.effects.common.continuous.GainAbilitySourceEffect;
import mage.abilities.keyword.DayboundAbility;
import mage.abilities.keyword.FirstStrikeAbility;
import mage.abilities.keyword.TransformAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
@ -41,7 +40,6 @@ public final class FangbladeBrigand extends CardImpl {
this.addAbility(ability);
// Daybound
this.addAbility(new TransformAbility());
this.addAbility(new DayboundAbility());
}

View file

@ -3,7 +3,6 @@ package mage.cards.f;
import mage.MageInt;
import mage.abilities.keyword.DayboundAbility;
import mage.abilities.keyword.MenaceAbility;
import mage.abilities.keyword.TransformAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
@ -29,7 +28,6 @@ public final class FearfulVillager extends CardImpl {
this.addAbility(new MenaceAbility());
// Daybound
this.addAbility(new TransformAbility());
this.addAbility(new DayboundAbility());
}

View file

@ -6,7 +6,6 @@ import mage.abilities.common.EntersBattlefieldOrAttacksSourceTriggeredAbility;
import mage.abilities.costs.common.DiscardCardCost;
import mage.abilities.effects.OneShotEffect;
import mage.abilities.keyword.DayboundAbility;
import mage.abilities.keyword.TransformAbility;
import mage.abilities.keyword.WardAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
@ -46,7 +45,6 @@ public final class GraveyardTrespasser extends CardImpl {
this.addAbility(ability);
// Daybound
this.addAbility(new TransformAbility());
this.addAbility(new DayboundAbility());
}

View file

@ -3,7 +3,6 @@ package mage.cards.h;
import mage.MageInt;
import mage.abilities.keyword.DayboundAbility;
import mage.abilities.keyword.TrampleAbility;
import mage.abilities.keyword.TransformAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
@ -29,7 +28,6 @@ public final class HarvesttideInfiltrator extends CardImpl {
this.addAbility(TrampleAbility.getInstance());
// Daybound
this.addAbility(new TransformAbility());
this.addAbility(new DayboundAbility());
}

View file

@ -7,7 +7,6 @@ import mage.abilities.costs.mana.ManaCostsImpl;
import mage.abilities.effects.common.counter.AddCountersTargetEffect;
import mage.abilities.keyword.DayboundAbility;
import mage.abilities.keyword.TrampleAbility;
import mage.abilities.keyword.TransformAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
@ -42,7 +41,6 @@ public final class HoundTamer extends CardImpl {
this.addAbility(ability);
// Daybound
this.addAbility(new TransformAbility());
this.addAbility(new DayboundAbility());
}

View file

@ -4,7 +4,6 @@ import mage.MageInt;
import mage.abilities.common.EntersBattlefieldOrAttacksSourceTriggeredAbility;
import mage.abilities.effects.common.CreateTokenEffect;
import mage.abilities.keyword.DayboundAbility;
import mage.abilities.keyword.TransformAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
@ -33,7 +32,6 @@ public final class InfestationExpert extends CardImpl {
));
// Daybound
this.addAbility(new TransformAbility());
this.addAbility(new DayboundAbility());
}

View file

@ -6,7 +6,6 @@ import mage.abilities.Ability;
import mage.abilities.common.AttacksTriggeredAbility;
import mage.abilities.effects.OneShotEffect;
import mage.abilities.keyword.DayboundAbility;
import mage.abilities.keyword.TransformAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
@ -36,7 +35,6 @@ public final class KessigNaturalist extends CardImpl {
this.addAbility(new AttacksTriggeredAbility(new KessigNaturalistEffect()));
// Daybound
this.addAbility(new TransformAbility());
this.addAbility(new DayboundAbility());
}

View file

@ -4,7 +4,6 @@ import mage.MageInt;
import mage.abilities.common.SpellCastControllerTriggeredAbility;
import mage.abilities.effects.common.DamagePlayersEffect;
import mage.abilities.keyword.DayboundAbility;
import mage.abilities.keyword.TransformAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
@ -35,7 +34,6 @@ public final class LambholtRaconteur extends CardImpl {
));
// Daybound
this.addAbility(new TransformAbility());
this.addAbility(new DayboundAbility());
}

View file

@ -4,7 +4,6 @@ import mage.MageInt;
import mage.abilities.common.PayMoreToCastAsThoughtItHadFlashAbility;
import mage.abilities.costs.mana.ManaCostsImpl;
import mage.abilities.keyword.DayboundAbility;
import mage.abilities.keyword.TransformAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
@ -31,7 +30,6 @@ public final class OakshadeStalker extends CardImpl {
this.addAbility(new PayMoreToCastAsThoughtItHadFlashAbility(this, new ManaCostsImpl<>("{2}")));
// Daybound
this.addAbility(new TransformAbility());
this.addAbility(new DayboundAbility());
}

View file

@ -7,7 +7,6 @@ import mage.abilities.costs.common.SacrificeSourceCost;
import mage.abilities.costs.mana.GenericManaCost;
import mage.abilities.effects.common.DestroyTargetEffect;
import mage.abilities.keyword.DayboundAbility;
import mage.abilities.keyword.TransformAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
@ -38,7 +37,6 @@ public final class OutlandLiberator extends CardImpl {
this.addAbility(ability);
// Daybound
this.addAbility(new TransformAbility());
this.addAbility(new DayboundAbility());
}

View file

@ -7,7 +7,6 @@ import mage.abilities.effects.common.continuous.BoostTargetEffect;
import mage.abilities.effects.common.continuous.GainAbilityTargetEffect;
import mage.abilities.keyword.DayboundAbility;
import mage.abilities.keyword.HasteAbility;
import mage.abilities.keyword.TransformAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
@ -45,7 +44,6 @@ public final class RecklessStormseeker extends CardImpl {
this.addAbility(ability);
// Daybound
this.addAbility(new TransformAbility());
this.addAbility(new DayboundAbility());
}

View file

@ -3,7 +3,6 @@ package mage.cards.s;
import mage.MageInt;
import mage.abilities.keyword.DayboundAbility;
import mage.abilities.keyword.MenaceAbility;
import mage.abilities.keyword.TransformAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
@ -29,7 +28,6 @@ public final class ShadyTraveler extends CardImpl {
this.addAbility(new MenaceAbility());
// Daybound
this.addAbility(new TransformAbility());
this.addAbility(new DayboundAbility());
}

View file

@ -4,7 +4,6 @@ import mage.MageInt;
import mage.abilities.common.SpellCastControllerTriggeredAbility;
import mage.abilities.effects.common.continuous.BoostSourceEffect;
import mage.abilities.keyword.DayboundAbility;
import mage.abilities.keyword.TransformAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
@ -36,7 +35,6 @@ public final class SpellrunePainter extends CardImpl {
));
// Daybound
this.addAbility(new TransformAbility());
this.addAbility(new DayboundAbility());
}

View file

@ -5,7 +5,6 @@ import mage.abilities.common.DealsCombatDamageToAPlayerTriggeredAbility;
import mage.abilities.effects.common.DrawDiscardControllerEffect;
import mage.abilities.keyword.CantBeBlockedSourceAbility;
import mage.abilities.keyword.DayboundAbility;
import mage.abilities.keyword.TransformAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
@ -37,7 +36,6 @@ public final class SuspiciousStowaway extends CardImpl {
));
// Daybound
this.addAbility(new TransformAbility());
this.addAbility(new DayboundAbility());
}

View file

@ -2,7 +2,6 @@ package mage.cards.t;
import mage.MageInt;
import mage.abilities.keyword.DayboundAbility;
import mage.abilities.keyword.TransformAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
@ -27,7 +26,6 @@ public final class TavernRuffian extends CardImpl {
this.secondSideCardClazz = mage.cards.t.TavernSmasher.class;
// Daybound
this.addAbility(new TransformAbility());
this.addAbility(new DayboundAbility());
}

View file

@ -2,7 +2,6 @@ package mage.cards.t;
import mage.MageInt;
import mage.abilities.keyword.DayboundAbility;
import mage.abilities.keyword.TransformAbility;
import mage.abilities.keyword.VigilanceAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
@ -29,7 +28,6 @@ public final class TirelessHauler extends CardImpl {
this.addAbility(VigilanceAbility.getInstance());
// Daybound
this.addAbility(new TransformAbility());
this.addAbility(new DayboundAbility());
}

View file

@ -13,7 +13,6 @@ import mage.abilities.effects.common.DrawCardSourceControllerEffect;
import mage.abilities.hint.Hint;
import mage.abilities.hint.ValueHint;
import mage.abilities.keyword.DayboundAbility;
import mage.abilities.keyword.TransformAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.*;
@ -69,7 +68,6 @@ public final class TovolarDireOverlord extends CardImpl {
));
// Daybound
this.addAbility(new TransformAbility());
this.addAbility(new DayboundAbility());
}

View file

@ -4,7 +4,6 @@ import mage.MageInt;
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
import mage.abilities.effects.common.CreateTokenEffect;
import mage.abilities.keyword.DayboundAbility;
import mage.abilities.keyword.TransformAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
@ -31,7 +30,6 @@ public final class TovolarsHuntmaster extends CardImpl {
this.addAbility(new EntersBattlefieldTriggeredAbility(new CreateTokenEffect(new WolfToken(), 2)));
// Daybound
this.addAbility(new TransformAbility());
this.addAbility(new DayboundAbility());
}

View file

@ -3,7 +3,6 @@ package mage.cards.v;
import mage.MageInt;
import mage.abilities.keyword.DayboundAbility;
import mage.abilities.keyword.HasteAbility;
import mage.abilities.keyword.TransformAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
@ -30,7 +29,6 @@ public final class VillageWatch extends CardImpl {
this.addAbility(HasteAbility.getInstance());
// Daybound
this.addAbility(new TransformAbility());
this.addAbility(new DayboundAbility());
}

View file

@ -7,7 +7,6 @@ import mage.abilities.effects.common.DamageTargetEffect;
import mage.abilities.keyword.DayboundAbility;
import mage.abilities.keyword.HasteAbility;
import mage.abilities.keyword.MenaceAbility;
import mage.abilities.keyword.TransformAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
@ -47,7 +46,6 @@ public final class VolatileArsonist extends CardImpl {
this.addAbility(ability);
// Daybound
this.addAbility(new TransformAbility());
this.addAbility(new DayboundAbility());
}

View file

@ -3,7 +3,6 @@ package mage.cards.w;
import mage.MageInt;
import mage.abilities.keyword.DayboundAbility;
import mage.abilities.keyword.DefenderAbility;
import mage.abilities.keyword.TransformAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
@ -30,7 +29,6 @@ public final class WearyPrisoner extends CardImpl {
this.addAbility(DefenderAbility.getInstance());
// Daybound
this.addAbility(new TransformAbility());
this.addAbility(new DayboundAbility());
}

View file

@ -2,7 +2,6 @@ package mage.cards.w;
import mage.MageInt;
import mage.abilities.keyword.DayboundAbility;
import mage.abilities.keyword.TransformAbility;
import mage.abilities.mana.AnyColorManaAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
@ -29,7 +28,6 @@ public final class WeaverOfBlossoms extends CardImpl {
this.addAbility(new AnyColorManaAbility());
// Daybound
this.addAbility(new TransformAbility());
this.addAbility(new DayboundAbility());
}

View file

@ -15,6 +15,7 @@ public class DayboundAbility extends StaticAbility {
public DayboundAbility() {
super(Zone.BATTLEFIELD, new DayboundEffect());
this.addHint(DayNightHint.instance);
this.addSubAbility(new TransformAbility());
}
private DayboundAbility(final DayboundAbility ability) {