mirror of
https://github.com/magefree/mage.git
synced 2025-12-30 07:22:03 -08:00
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:
parent
fd46ac052a
commit
53be4f384e
5 changed files with 0 additions and 106 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue