mirror of
https://github.com/magefree/mage.git
synced 2025-12-20 10:40:06 -08:00
Add LCC token images
This commit is contained in:
parent
6ead910cfc
commit
b847e9d0d7
5 changed files with 45 additions and 9 deletions
|
|
@ -2189,6 +2189,24 @@ public class ScryfallImageSupportTokens {
|
||||||
put("LCI/Vampire", "https://api.scryfall.com/cards/tlci/4/en?format=image");
|
put("LCI/Vampire", "https://api.scryfall.com/cards/tlci/4/en?format=image");
|
||||||
put("LCI/Vampire Demon", "https://api.scryfall.com/cards/tlci/15/en?format=image");
|
put("LCI/Vampire Demon", "https://api.scryfall.com/cards/tlci/15/en?format=image");
|
||||||
|
|
||||||
|
// LCC
|
||||||
|
put("LCC/Beast", "https://api.scryfall.com/cards/tlcc/8/en?format=image");
|
||||||
|
put("LCC/Bird", "https://api.scryfall.com/cards/tlcc/2/en?format=image");
|
||||||
|
put("LCC/Blood", "https://api.scryfall.com/cards/tlcc/15/en?format=image");
|
||||||
|
put("LCC/Boar", "https://api.scryfall.com/cards/tlcc/9/en?format=image");
|
||||||
|
put("LCC/Dinosaur", "https://api.scryfall.com/cards/tlcc/10/en?format=image");
|
||||||
|
put("LCC/Dinosaur Beast", "https://api.scryfall.com/cards/tlcc/11/en?format=image");
|
||||||
|
put("LCC/Elephant", "https://api.scryfall.com/cards/tlcc/12/en?format=image");
|
||||||
|
put("LCC/Frog Lizard", "https://api.scryfall.com/cards/tlcc/13/en?format=image");
|
||||||
|
put("LCC/Merfolk", "https://api.scryfall.com/cards/tlcc/3/en?format=image");
|
||||||
|
put("LCC/Pirate", "https://api.scryfall.com/cards/tlcc/5/en?format=image");
|
||||||
|
put("LCC/Ragavan", "https://api.scryfall.com/cards/tlcc/7/en?format=image");
|
||||||
|
put("LCC/Salamander Warrior", "https://api.scryfall.com/cards/tlcc/4/en?format=image");
|
||||||
|
put("LCC/Shapeshifter", "https://api.scryfall.com/cards/tlcc/1/en?format=image");
|
||||||
|
put("LCC/Emblem Sorin", "https://api.scryfall.com/cards/tlcc/16/en?format=image");
|
||||||
|
put("LCC/Vampire/1", "https://api.scryfall.com/cards/tlcc/6/en?format=image");
|
||||||
|
put("LCC/Vampire/2", "https://api.scryfall.com/cards/tlcc/14/en?format=image");
|
||||||
|
|
||||||
// generate supported sets
|
// generate supported sets
|
||||||
supportedSets.clear();
|
supportedSets.clear();
|
||||||
for (String cardName : this.keySet()) {
|
for (String cardName : this.keySet()) {
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@ import mage.filter.common.FilterCreaturePermanent;
|
||||||
import mage.filter.predicate.Predicates;
|
import mage.filter.predicate.Predicates;
|
||||||
import mage.game.Game;
|
import mage.game.Game;
|
||||||
import mage.game.permanent.Permanent;
|
import mage.game.permanent.Permanent;
|
||||||
import mage.game.permanent.token.SalamnderWarriorToken;
|
import mage.game.permanent.token.SalamanderWarriorToken;
|
||||||
import mage.players.Player;
|
import mage.players.Player;
|
||||||
import mage.target.TargetPermanent;
|
import mage.target.TargetPermanent;
|
||||||
|
|
||||||
|
|
@ -89,7 +89,7 @@ class AmphinMutineerEffect extends OneShotEffect {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
player.moveCards(permanent, Zone.EXILED, source, game);
|
player.moveCards(permanent, Zone.EXILED, source, game);
|
||||||
new SalamnderWarriorToken().putOntoBattlefield(1, game, source, player.getId());
|
new SalamanderWarriorToken().putOntoBattlefield(1, game, source, player.getId());
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ import mage.filter.FilterPermanent;
|
||||||
import mage.filter.StaticFilters;
|
import mage.filter.StaticFilters;
|
||||||
import mage.game.Controllable;
|
import mage.game.Controllable;
|
||||||
import mage.game.Game;
|
import mage.game.Game;
|
||||||
import mage.game.permanent.token.SalamnderWarriorToken;
|
import mage.game.permanent.token.SalamanderWarriorToken;
|
||||||
import mage.game.permanent.token.Token;
|
import mage.game.permanent.token.Token;
|
||||||
import mage.util.CardUtil;
|
import mage.util.CardUtil;
|
||||||
|
|
||||||
|
|
@ -99,7 +99,7 @@ class GorMuldrakAmphinologistEffect extends OneShotEffect {
|
||||||
.forEach(uuid -> creatureMap.compute(uuid, CardUtil::setOrIncrementValue));
|
.forEach(uuid -> creatureMap.compute(uuid, CardUtil::setOrIncrementValue));
|
||||||
int minValue = creatureMap.values().stream().mapToInt(x -> x).min().orElse(0);
|
int minValue = creatureMap.values().stream().mapToInt(x -> x).min().orElse(0);
|
||||||
minValue = Math.max(minValue, 0);
|
minValue = Math.max(minValue, 0);
|
||||||
Token token = new SalamnderWarriorToken();
|
Token token = new SalamanderWarriorToken();
|
||||||
for (Map.Entry<UUID, Integer> entry : creatureMap.entrySet()) {
|
for (Map.Entry<UUID, Integer> entry : creatureMap.entrySet()) {
|
||||||
if (entry.getValue() > minValue) {
|
if (entry.getValue() > minValue) {
|
||||||
continue;
|
continue;
|
||||||
|
|
|
||||||
|
|
@ -7,9 +7,9 @@ import mage.constants.SubType;
|
||||||
/**
|
/**
|
||||||
* @author TheElk801
|
* @author TheElk801
|
||||||
*/
|
*/
|
||||||
public final class SalamnderWarriorToken extends TokenImpl {
|
public final class SalamanderWarriorToken extends TokenImpl {
|
||||||
|
|
||||||
public SalamnderWarriorToken() {
|
public SalamanderWarriorToken() {
|
||||||
super("Salamander Warrior Token", "4/3 blue Salamander Warrior creature token");
|
super("Salamander Warrior Token", "4/3 blue Salamander Warrior creature token");
|
||||||
cardType.add(CardType.CREATURE);
|
cardType.add(CardType.CREATURE);
|
||||||
color.setBlue(true);
|
color.setBlue(true);
|
||||||
|
|
@ -19,11 +19,11 @@ public final class SalamnderWarriorToken extends TokenImpl {
|
||||||
toughness = new MageInt(3);
|
toughness = new MageInt(3);
|
||||||
}
|
}
|
||||||
|
|
||||||
private SalamnderWarriorToken(final SalamnderWarriorToken token) {
|
private SalamanderWarriorToken(final SalamanderWarriorToken token) {
|
||||||
super(token);
|
super(token);
|
||||||
}
|
}
|
||||||
|
|
||||||
public SalamnderWarriorToken copy() {
|
public SalamanderWarriorToken copy() {
|
||||||
return new SalamnderWarriorToken(this);
|
return new SalamanderWarriorToken(this);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -124,6 +124,7 @@
|
||||||
|Generate|EMBLEM:CMM|Emblem Narset|||NarsetOfTheAncientWayEmblem|
|
|Generate|EMBLEM:CMM|Emblem Narset|||NarsetOfTheAncientWayEmblem|
|
||||||
|Generate|EMBLEM:CMM|Emblem Nixilis|||ObNixilisOfTheBlackOathEmblem|
|
|Generate|EMBLEM:CMM|Emblem Nixilis|||ObNixilisOfTheBlackOathEmblem|
|
||||||
|Generate|EMBLEM:CMM|Emblem Teferi|||TeferiTemporalArchmageEmblem|
|
|Generate|EMBLEM:CMM|Emblem Teferi|||TeferiTemporalArchmageEmblem|
|
||||||
|
|Generate|EMBLEM:LCC|Emblem Sorin|||SorinLordOfInnistradEmblem|
|
||||||
|
|
||||||
# ALL PLANES
|
# ALL PLANES
|
||||||
# Usage hints:
|
# Usage hints:
|
||||||
|
|
@ -2121,3 +2122,20 @@
|
||||||
|Generate|TOK:LCI|Treasure|||TreasureToken|
|
|Generate|TOK:LCI|Treasure|||TreasureToken|
|
||||||
|Generate|TOK:LCI|Vampire|||IxalanVampireToken|
|
|Generate|TOK:LCI|Vampire|||IxalanVampireToken|
|
||||||
|Generate|TOK:LCI|Vampire Demon|||VampireDemonToken|
|
|Generate|TOK:LCI|Vampire Demon|||VampireDemonToken|
|
||||||
|
|
||||||
|
# LCC
|
||||||
|
|Generate|TOK:LCC|Beast|||BeastToken|
|
||||||
|
|Generate|TOK:LCC|Bird|||BlueBirdToken|
|
||||||
|
|Generate|TOK:LCC|Blood|||BloodToken|
|
||||||
|
|Generate|TOK:LCC|Boar|||Boar2Token|
|
||||||
|
|Generate|TOK:LCC|Dinosaur|||DinosaurToken|
|
||||||
|
|Generate|TOK:LCC|Dinosaur Beast|||DinosaurBeastToken|
|
||||||
|
|Generate|TOK:LCC|Elephant|||ElephantToken|
|
||||||
|
|Generate|TOK:LCC|Frog Lizard|||FrogLizardToken|
|
||||||
|
|Generate|TOK:LCC|Merfolk|||MerfolkToken|
|
||||||
|
|Generate|TOK:LCC|Pirate|||PirateToken|
|
||||||
|
|Generate|TOK:LCC|Ragavan|||RagavanToken|
|
||||||
|
|Generate|TOK:LCC|Salamander Warrior|||SalamanderWarriorToken|
|
||||||
|
|Generate|TOK:LCC|Shapeshifter|||Shapeshifter32Token|
|
||||||
|
|Generate|TOK:LCC|Vampire|1||SorinLordOfInnistradVampireToken|
|
||||||
|
|Generate|TOK:LCC|Vampire|2||EdgarMarkovsCoffinVampireToken|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue