[MID] Implemented Tavern Ruffian // Tavern Smasher

This commit is contained in:
Evan Kranzler 2021-09-02 21:22:54 -04:00
parent 693c790f51
commit dd45977a9b
6 changed files with 173 additions and 0 deletions

View file

@ -0,0 +1,43 @@
package mage.abilities.keyword;
import mage.abilities.MageSingleton;
import mage.abilities.StaticAbility;
import mage.constants.Zone;
import java.io.ObjectStreamException;
/**
* @author TheElk801
* TODO: Implement this
*/
public class DayboundAbility extends StaticAbility implements MageSingleton {
private static final DayboundAbility instance;
static {
instance = new DayboundAbility();
// instance.addIcon(DayboundAbilityIcon.instance); (needs to be added)
}
private Object readResolve() throws ObjectStreamException {
return instance;
}
public static DayboundAbility getInstance() {
return instance;
}
private DayboundAbility() {
super(Zone.ALL, null);
}
@Override
public String getRule() {
return "daybound <i>(If a player casts no spells during their own turn, it becomes night next turn.)</i>";
}
@Override
public DayboundAbility copy() {
return instance;
}
}

View file

@ -0,0 +1,43 @@
package mage.abilities.keyword;
import mage.abilities.MageSingleton;
import mage.abilities.StaticAbility;
import mage.constants.Zone;
import java.io.ObjectStreamException;
/**
* @author TheElk801
* TODO: Implement this
*/
public class NightboundAbility extends StaticAbility implements MageSingleton {
private static final NightboundAbility instance;
static {
instance = new NightboundAbility();
// instance.addIcon(NightboundAbilityIcon.instance); (needs to be added)
}
private Object readResolve() throws ObjectStreamException {
return instance;
}
public static NightboundAbility getInstance() {
return instance;
}
private NightboundAbility() {
super(Zone.ALL, null);
}
@Override
public String getRule() {
return "nightbound <i>(If a player casts at least two spells during their own turn, it becomes day next turn.)</i>";
}
@Override
public NightboundAbility copy() {
return instance;
}
}