mirror of
https://github.com/magefree/mage.git
synced 2025-12-26 13:32:06 -08:00
[SLD] Implemented Dustin, Gadget Genius
This commit is contained in:
parent
4c93eda485
commit
3bba2a308d
4 changed files with 122 additions and 0 deletions
|
|
@ -0,0 +1,37 @@
|
|||
package mage.abilities.keyword;
|
||||
|
||||
import mage.abilities.MageSingleton;
|
||||
import mage.abilities.StaticAbility;
|
||||
import mage.constants.Zone;
|
||||
|
||||
import java.io.ObjectStreamException;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public class FriendsForeverAbility extends StaticAbility implements MageSingleton {
|
||||
|
||||
private static final FriendsForeverAbility instance = new FriendsForeverAbility();
|
||||
|
||||
private Object readResolve() throws ObjectStreamException {
|
||||
return instance;
|
||||
}
|
||||
|
||||
public static FriendsForeverAbility getInstance() {
|
||||
return instance;
|
||||
}
|
||||
|
||||
private FriendsForeverAbility() {
|
||||
super(Zone.BATTLEFIELD, null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getRule() {
|
||||
return "Friends forever <i>(You can have two commanders if both have friends forever.)</i>";
|
||||
}
|
||||
|
||||
@Override
|
||||
public FriendsForeverAbility copy() {
|
||||
return instance;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue