[KHM] Implemented Giant Ox (#7447)

* [KHM] Implemented Giant Ox

* [KHM] Giant Ox rework after review
This commit is contained in:
Jozsef Kerekes 2021-01-26 22:31:52 +02:00 committed by GitHub
parent a3b012bdf8
commit c5cc99144d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 90 additions and 3 deletions

View file

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