mirror of
https://github.com/correl/mage.git
synced 2024-11-15 03:00:16 +00:00
Removed duplicate Kher Keep Kobold token class
This commit is contained in:
parent
b277b87654
commit
e3d64451ed
2 changed files with 2 additions and 32 deletions
|
@ -18,7 +18,7 @@ import mage.constants.Duration;
|
|||
import mage.constants.SuperType;
|
||||
import mage.constants.Zone;
|
||||
import mage.filter.StaticFilters;
|
||||
import mage.game.permanent.token.ProsshKoboldToken;
|
||||
import mage.game.permanent.token.KherKeepKoboldToken;
|
||||
import mage.target.common.TargetControlledCreaturePermanent;
|
||||
|
||||
/**
|
||||
|
@ -38,7 +38,7 @@ public final class ProsshSkyraiderOfKher extends CardImpl {
|
|||
// Flying
|
||||
this.addAbility(FlyingAbility.getInstance());
|
||||
// When you cast Prossh, Skyraider of Kher, create X 0/1 red Kobold creature tokens named Kobolds of Kher Keep, where X is the amount of mana spent to cast Prossh.
|
||||
this.addAbility(new CastSourceTriggeredAbility(new CreateTokenEffect(new ProsshKoboldToken(), ManaSpentToCastCount.instance), false));
|
||||
this.addAbility(new CastSourceTriggeredAbility(new CreateTokenEffect(new KherKeepKoboldToken(), ManaSpentToCastCount.instance), false));
|
||||
// Sacrifice another creature: Prossh gets +1/+0 until end of turn.
|
||||
this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostSourceEffect(1, 0, Duration.EndOfTurn),
|
||||
new SacrificeTargetCost(new TargetControlledCreaturePermanent(1, 1, StaticFilters.FILTER_CONTROLLED_ANOTHER_CREATURE, true))));
|
||||
|
|
|
@ -1,30 +0,0 @@
|
|||
|
||||
|
||||
package mage.game.permanent.token;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.MageInt;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author spjspj
|
||||
*/
|
||||
public final class ProsshKoboldToken extends TokenImpl {
|
||||
|
||||
public ProsshKoboldToken() {
|
||||
super("Kobolds of Kher Keep", "0/1 red Kobold creature tokens named Kobolds of Kher Keep");
|
||||
cardType.add(CardType.CREATURE);
|
||||
color.setRed(true);
|
||||
subtype.add(SubType.KOBOLD);
|
||||
power = new MageInt(0);
|
||||
toughness = new MageInt(1);
|
||||
}
|
||||
|
||||
public ProsshKoboldToken(final ProsshKoboldToken token) {
|
||||
super(token);
|
||||
}
|
||||
|
||||
public ProsshKoboldToken copy() {
|
||||
return new ProsshKoboldToken(this);
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue