mirror of
https://github.com/correl/mage.git
synced 2025-01-11 19:13:02 +00:00
added IKO tokens
This commit is contained in:
parent
a90276b55b
commit
eba1980a9a
3 changed files with 25 additions and 2 deletions
|
@ -350,6 +350,18 @@ public class ScryfallImageSupportTokens {
|
|||
put("THB/Wolf", "https://api.scryfall.com/cards/tthb/11/en?format=image");
|
||||
put("THB/Zombie", "https://api.scryfall.com/cards/tthb/7/en?format=image");
|
||||
|
||||
// IKO
|
||||
put("IKO/Emblem Narset Of The Ancient Way", "https://api.scryfall.com/cards/tiko/12/en?format=image");
|
||||
put("IKO/Beast", "https://api.scryfall.com/cards/tiko/10/en?format=image");
|
||||
put("IKO/Cat Bird", "https://api.scryfall.com/cards/tiko/2/en?format=image");
|
||||
put("IKO/Cat", "https://api.scryfall.com/cards/tiko/1/en?format=image");
|
||||
put("IKO/Dinosaur Beast", "https://api.scryfall.com/cards/tiko/11/en?format=image");
|
||||
put("IKO/Dinosaur", "https://api.scryfall.com/cards/tiko/8/en?format=image");
|
||||
put("IKO/Feather", "https://api.scryfall.com/cards/tiko/9/en?format=image");
|
||||
put("IKO/Human Soldier", "https://api.scryfall.com/cards/tiko/4/en?format=image");
|
||||
put("IKO/Kraken", "https://api.scryfall.com/cards/tiko/6/en?format=image");
|
||||
put("IKO/Shark", "https://api.scryfall.com/cards/tiko/7/en?format=image");
|
||||
|
||||
// PCA (planes)
|
||||
put("PCA/Eldrazi", "https://api.scryfall.com/cards/tpca/1/en?format=image");
|
||||
put("PCA/Plane - Academy at Tolaria West", "https://api.scryfall.com/cards/opca/9/en?format=image");
|
||||
|
|
|
@ -101,6 +101,7 @@
|
|||
|Generate|EMBLEM:DOM|Teferi, Hero of Dominaria||Emblem Teferi|TeferiHeroOfDominariaEmblem|
|
||||
|Generate|EMBLEM:AER|Tezzeret the Schemer||Emblem Tezzeret|TezzeretTheSchemerEmblem|
|
||||
|Generate|EMBLEM:ELD|Garruk, Cursed Huntsman||Emblem Garruk|GarrukCursedHuntsmanEmblem|
|
||||
|Generate|EMBLEM:IKO|Narset Of The Ancient Way||Emblem Narset|NarsetOfTheAncientWayEmblem|
|
||||
|Generate|PLANE:PCA|Plane - Academy at Tolaria West|||AcademyAtTolariaWestPlane|
|
||||
|Generate|PLANE:PCA|Plane - Agyrem|||AgyremPlane|
|
||||
|Generate|PLANE:PCA|Plane - Akoum|||AkoumPlane|
|
||||
|
@ -1357,4 +1358,13 @@
|
|||
|Generate|TOK:THB|Wolf|||WolfToken|
|
||||
|Generate|TOK:THB|Nightmare|||AshiokNightmareMuseToken|
|
||||
|Generate|TOK:THB|GoldToken|||Gold|
|
||||
|Generate|TOK:THB|ArtifactWallToken|||Wall|
|
||||
|Generate|TOK:THB|ArtifactWallToken|||Wall|
|
||||
|Generate|TOK:IKO|Beast|||BeastToken|
|
||||
|Generate|TOK:IKO|Cat Bird|||CatBirdToken|
|
||||
|Generate|TOK:IKO|Cat|||CatToken|
|
||||
|Generate|TOK:IKO|Dinosaur Beast|||DinosaurBeastToken|
|
||||
|Generate|TOK:IKO|Dinosaur|||DinosaurHasteToken|
|
||||
|Generate|TOK:IKO|Feather|||FeatherToken|
|
||||
|Generate|TOK:IKO|Human Soldier|||HumanSoldierToken|
|
||||
|Generate|TOK:IKO|Kraken|||KrakenToken|
|
||||
|Generate|TOK:IKO|Shark|||SharkToken|
|
||||
|
|
|
@ -13,6 +13,7 @@ import mage.game.events.DamagedPlayerEvent;
|
|||
import mage.game.events.GameEvent;
|
||||
import mage.game.permanent.Permanent;
|
||||
import mage.game.permanent.token.BeastXToken;
|
||||
import mage.game.permanent.token.DinosaurBeastToken;
|
||||
import mage.target.targetpointer.FixedTarget;
|
||||
import mage.watchers.Watcher;
|
||||
|
||||
|
@ -119,7 +120,7 @@ class QuartzwoodCrasherEffect extends OneShotEffect {
|
|||
@Override
|
||||
public boolean apply(Game game, Ability source) {
|
||||
QuartzwoodCrasherWatcher watcher = game.getState().getWatcher(QuartzwoodCrasherWatcher.class);
|
||||
return watcher != null && new BeastXToken(
|
||||
return watcher != null && new DinosaurBeastToken(
|
||||
watcher.getDamage(targetPointer.getFirst(game, source), source.getControllerId())
|
||||
).putOntoBattlefield(1, game, source.getSourceId(), source.getControllerId());
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue