forked from External/mage
[DFT] Implement Cloudspire Captain
This commit is contained in:
parent
59115c631e
commit
4b5bf3e1de
8 changed files with 140 additions and 20 deletions
|
|
@ -10,11 +10,7 @@ import mage.constants.Zone;
|
|||
public class CrewIncreasedPowerAbility extends StaticAbility {
|
||||
|
||||
public CrewIncreasedPowerAbility() {
|
||||
this("{this}");
|
||||
}
|
||||
|
||||
public CrewIncreasedPowerAbility(String selfName) {
|
||||
super(Zone.BATTLEFIELD, new InfoEffect(selfName + " crews Vehicles as though its power were 2 greater."));
|
||||
super(Zone.BATTLEFIELD, new InfoEffect("this creature crews Vehicles as though its power were 2 greater."));
|
||||
}
|
||||
|
||||
private CrewIncreasedPowerAbility(final CrewIncreasedPowerAbility ability) {
|
||||
|
|
|
|||
|
|
@ -0,0 +1,24 @@
|
|||
package mage.abilities.common;
|
||||
|
||||
import mage.abilities.StaticAbility;
|
||||
import mage.abilities.effects.common.InfoEffect;
|
||||
import mage.constants.Zone;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public class CrewSaddleIncreasedPowerAbility extends StaticAbility {
|
||||
|
||||
public CrewSaddleIncreasedPowerAbility() {
|
||||
super(Zone.BATTLEFIELD, new InfoEffect("this creature saddles Mounts and crews Vehicles as though its power were 2 greater."));
|
||||
}
|
||||
|
||||
private CrewSaddleIncreasedPowerAbility(final CrewSaddleIncreasedPowerAbility ability) {
|
||||
super(ability);
|
||||
}
|
||||
|
||||
@Override
|
||||
public CrewSaddleIncreasedPowerAbility copy() {
|
||||
return new CrewSaddleIncreasedPowerAbility(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,37 @@
|
|||
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 TheElk801
|
||||
*/
|
||||
public class CrewSaddleWithToughnessAbility extends StaticAbility implements MageSingleton {
|
||||
|
||||
private static final CrewSaddleWithToughnessAbility instance;
|
||||
|
||||
static {
|
||||
instance = new CrewSaddleWithToughnessAbility();
|
||||
}
|
||||
|
||||
private Object readResolve() throws ObjectStreamException {
|
||||
return instance;
|
||||
}
|
||||
|
||||
public static CrewSaddleWithToughnessAbility getInstance() {
|
||||
return instance;
|
||||
}
|
||||
|
||||
private CrewSaddleWithToughnessAbility() {
|
||||
super(Zone.BATTLEFIELD, new InfoEffect("{this} saddles Mounts and crews Vehicles using its toughness rather than its power."));
|
||||
}
|
||||
|
||||
@Override
|
||||
public CrewSaddleWithToughnessAbility copy() {
|
||||
return instance;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue