mirror of
https://github.com/magefree/mage.git
synced 2026-01-09 20:32:06 -08:00
[LCI] Implement Kellan, Daring Traveler (#11332)
Also adds Map Token, a new Token with implicit rules:
> {1}, {T}, sacrifice {this}: target creature you control explores. Activate only as a sorcery.
This commit is contained in:
parent
7ec64639bd
commit
d440cf5b08
4 changed files with 184 additions and 0 deletions
|
|
@ -55,6 +55,7 @@ public enum SubType {
|
|||
FORTIFICATION("Fortification", SubTypeSet.ArtifactType),
|
||||
GOLD("Gold", SubTypeSet.ArtifactType),
|
||||
INCUBATOR("Incubator", SubTypeSet.ArtifactType),
|
||||
MAP("Map", SubTypeSet.ArtifactType),
|
||||
POWERSTONE("Powerstone", SubTypeSet.ArtifactType),
|
||||
TREASURE("Treasure", SubTypeSet.ArtifactType),
|
||||
VEHICLE("Vehicle", SubTypeSet.ArtifactType),
|
||||
|
|
|
|||
41
Mage/src/main/java/mage/game/permanent/token/MapToken.java
Normal file
41
Mage/src/main/java/mage/game/permanent/token/MapToken.java
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
package mage.game.permanent.token;
|
||||
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.ActivateAsSorceryActivatedAbility;
|
||||
import mage.abilities.costs.common.SacrificeSourceCost;
|
||||
import mage.abilities.costs.common.TapSourceCost;
|
||||
import mage.abilities.costs.mana.GenericManaCost;
|
||||
import mage.abilities.effects.keyword.ExploreTargetEffect;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.target.common.TargetControlledCreaturePermanent;
|
||||
|
||||
/**
|
||||
* @author Susucr
|
||||
*/
|
||||
public final class MapToken extends TokenImpl {
|
||||
|
||||
public MapToken() {
|
||||
super("Map Token", "Map token");
|
||||
cardType.add(CardType.ARTIFACT);
|
||||
subtype.add(SubType.MAP);
|
||||
|
||||
Ability ability = new ActivateAsSorceryActivatedAbility(
|
||||
new ExploreTargetEffect(false)
|
||||
.setText("target creature you control explores"),
|
||||
new GenericManaCost(1)
|
||||
);
|
||||
ability.addCost(new TapSourceCost());
|
||||
ability.addCost(new SacrificeSourceCost());
|
||||
ability.addTarget(new TargetControlledCreaturePermanent());
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
||||
protected MapToken(final MapToken token) {
|
||||
super(token);
|
||||
}
|
||||
|
||||
public MapToken copy() {
|
||||
return new MapToken(this);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue