Fix Nivix Cyclops and clean up some similar cards

This commit is contained in:
Alex W. Jackson 2021-12-18 19:53:27 -05:00
parent 18db39f131
commit 3ac82adb4d
8 changed files with 48 additions and 129 deletions

View file

@ -16,8 +16,12 @@ import mage.game.Game;
public class CanAttackAsThoughItDidntHaveDefenderSourceEffect extends AsThoughEffectImpl {
public CanAttackAsThoughItDidntHaveDefenderSourceEffect(Duration duration) {
this(duration, "{this}");
}
public CanAttackAsThoughItDidntHaveDefenderSourceEffect(Duration duration, String description) {
super(AsThoughEffectType.ATTACK, duration, Outcome.Benefit);
staticText = "{this} can attack "
staticText = description + " can attack "
+ (duration == Duration.EndOfTurn ? "this turn " : "")
+ "as though it didn't have defender";
}