mirror of
https://github.com/magefree/mage.git
synced 2025-12-26 13:32:06 -08:00
[MID] Implemented Tavern Ruffian // Tavern Smasher
This commit is contained in:
parent
693c790f51
commit
dd45977a9b
6 changed files with 173 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue