mirror of
https://github.com/magefree/mage.git
synced 2025-12-26 05:22:02 -08:00
updated Gold token errata
This commit is contained in:
parent
991200256a
commit
3d991635e8
6 changed files with 50 additions and 62 deletions
|
|
@ -43,6 +43,7 @@ public enum SubType {
|
|||
EQUIPMENT("Equipment", SubTypeSet.ArtifactType),
|
||||
FOOD("Food", SubTypeSet.ArtifactType),
|
||||
FORTIFICATION("Fortification", SubTypeSet.ArtifactType),
|
||||
GOLD("Gold", SubTypeSet.ArtifactType),
|
||||
TREASURE("Treasure", SubTypeSet.ArtifactType),
|
||||
VEHICLE("Vehicle", SubTypeSet.ArtifactType),
|
||||
// 205.3m : Creatures and tribals share their lists of subtypes; these subtypes are called creature types.
|
||||
|
|
|
|||
|
|
@ -1,41 +1,38 @@
|
|||
|
||||
|
||||
package mage.game.permanent.token;
|
||||
|
||||
import mage.abilities.costs.Cost;
|
||||
import mage.abilities.costs.common.SacrificeSourceCost;
|
||||
import mage.abilities.mana.AnyColorManaAbility;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
import mage.abilities.costs.common.SacrificeSourceCost;
|
||||
import mage.abilities.effects.mana.AddManaOfAnyColorEffect;
|
||||
import mage.abilities.mana.SimpleManaAbility;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Zone;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author LevelX2
|
||||
*/
|
||||
public final class GoldToken extends TokenImpl {
|
||||
|
||||
|
||||
static final private List<String> tokenImageSets = new ArrayList<>();
|
||||
|
||||
static {
|
||||
tokenImageSets.addAll(Arrays.asList("BNG", "C17"));
|
||||
tokenImageSets.addAll(Arrays.asList("BNG", "C17", "THB"));
|
||||
}
|
||||
|
||||
public GoldToken() {
|
||||
this((String)null);
|
||||
}
|
||||
|
||||
public GoldToken(String setCode) {
|
||||
super("Gold", "colorless artifact token named Gold with \"Sacrifice this artifact: Add one mana of any color.\"");
|
||||
super("Gold", "Gold token");
|
||||
availableImageSetCodes = tokenImageSets;
|
||||
setOriginalExpansionSetCode(setCode);
|
||||
cardType.add(CardType.ARTIFACT);
|
||||
subtype.add(SubType.GOLD);
|
||||
|
||||
this.addAbility(new SimpleManaAbility(Zone.BATTLEFIELD, new AddManaOfAnyColorEffect(), new SacrificeSourceCost()));
|
||||
Cost cost = new SacrificeSourceCost();
|
||||
cost.setText("Sacrifice this artifact");
|
||||
this.addAbility(new AnyColorManaAbility(cost));
|
||||
}
|
||||
|
||||
public GoldToken(final GoldToken token) {
|
||||
private GoldToken(final GoldToken token) {
|
||||
super(token);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue