Remove fake "marker" abilities

Only three cards used these, but it should be handled by a hint instead and be more broadly applicable
This commit is contained in:
xenohedron 2023-08-27 15:20:48 -04:00
parent fd46ac052a
commit 53be4f384e
5 changed files with 0 additions and 106 deletions

View file

@ -1,43 +0,0 @@
package mage.abilities.keyword;
import mage.constants.Zone;
import mage.abilities.MageSingleton;
import mage.abilities.StaticAbility;
import java.io.ObjectStreamException;
/**
* This is marker ability that is used only for rule display.
* You should use {@see AttacksIfAbleTargetEffect} for real effect.
*
* @author magenoxx_at_googlemail.com
*/
public class AttacksThisTurnMarkerAbility extends StaticAbility implements MageSingleton {
private static final AttacksThisTurnMarkerAbility instance = new AttacksThisTurnMarkerAbility();
private Object readResolve() throws ObjectStreamException {
return instance;
}
public static AttacksThisTurnMarkerAbility getInstance() {
return instance;
}
private AttacksThisTurnMarkerAbility() {
super(Zone.BATTLEFIELD, null);
}
@Override
public String getRule() {
return "{this} attacks this turn if able";
}
@Override
public AttacksThisTurnMarkerAbility copy() {
return instance;
}
}

View file

@ -1,43 +0,0 @@
package mage.abilities.keyword;
import mage.constants.Zone;
import mage.abilities.MageSingleton;
import mage.abilities.StaticAbility;
import java.io.ObjectStreamException;
/**
* This is marker ability that is used only for rule display.
* You should use {@see BlocksIfAbleTargetEffect} for real effect.
*
* @author magenoxx_at_googlemail.com
*/
public class BlocksThisTurnMarkerAbility extends StaticAbility implements MageSingleton {
private static final BlocksThisTurnMarkerAbility instance = new BlocksThisTurnMarkerAbility();
private Object readResolve() throws ObjectStreamException {
return instance;
}
public static BlocksThisTurnMarkerAbility getInstance() {
return instance;
}
private BlocksThisTurnMarkerAbility() {
super(Zone.BATTLEFIELD, null);
}
@Override
public String getRule() {
return "{this} blocks this turn if able";
}
@Override
public BlocksThisTurnMarkerAbility copy() {
return instance;
}
}