foul-magics/Mage/src/main/java/mage/abilities/common/CrewWithToughnessAbility.java
Jozsef Kerekes c5cc99144d
[KHM] Implemented Giant Ox (#7447)
* [KHM] Implemented Giant Ox

* [KHM] Giant Ox rework after review
2021-01-26 15:31:52 -05:00

34 lines
880 B
Java

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;
}
}