forked from External/mage
[KHM] Implemented Giant Ox (#7447)
* [KHM] Implemented Giant Ox * [KHM] Giant Ox rework after review
This commit is contained in:
parent
a3b012bdf8
commit
c5cc99144d
4 changed files with 90 additions and 3 deletions
|
|
@ -0,0 +1,34 @@
|
|||
package mage.abilities.common;
|
||||
|
||||
import mage.abilities.MageSingleton;
|
||||
import mage.abilities.StaticAbility;
|
||||
import mage.abilities.effects.common.InfoEffect;
|
||||
import mage.constants.Zone;
|
||||
|
||||
import java.io.ObjectStreamException;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author varaghar
|
||||
*/
|
||||
public class CrewWithToughnessAbility extends StaticAbility implements MageSingleton {
|
||||
|
||||
private static final CrewWithToughnessAbility instance = new CrewWithToughnessAbility();
|
||||
|
||||
private Object readResolve() throws ObjectStreamException {
|
||||
return instance;
|
||||
}
|
||||
|
||||
public static CrewWithToughnessAbility getInstance() {
|
||||
return instance;
|
||||
}
|
||||
|
||||
private CrewWithToughnessAbility() {
|
||||
super(Zone.BATTLEFIELD, new InfoEffect("{this} crews Vehicles using its toughness rather than its power."));
|
||||
}
|
||||
|
||||
@Override
|
||||
public CrewWithToughnessAbility copy() {
|
||||
return instance;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue