mirror of
https://github.com/magefree/mage.git
synced 2025-12-29 23:12:10 -08:00
Add OTP token images
This commit is contained in:
parent
fd6f2f48df
commit
66f09decfc
4 changed files with 17 additions and 2 deletions
|
|
@ -2335,6 +2335,13 @@ public class ScryfallImageSupportTokens {
|
|||
put("BIG/Golem", "https://api.scryfall.com/cards/tbig/6/en?format=image");
|
||||
put("BIG/Map", "https://api.scryfall.com/cards/tbig/7/en?format=image");
|
||||
|
||||
// OTP
|
||||
put("OTP/Food", "https://api.scryfall.com/cards/totp/5/en?format=image");
|
||||
put("OTP/Human Cleric", "https://api.scryfall.com/cards/totp/1/en?format=image");
|
||||
put("OTP/Human Rogue", "https://api.scryfall.com/cards/totp/2/en?format=image");
|
||||
put("OTP/Human Warrior", "https://api.scryfall.com/cards/totp/3/en?format=image");
|
||||
put("OTP/Pest", "https://api.scryfall.com/cards/totp/4/en?format=image");
|
||||
|
||||
// generate supported sets
|
||||
supportedSets.clear();
|
||||
for (String cardName : this.keySet()) {
|
||||
|
|
|
|||
|
|
@ -25,7 +25,8 @@ public final class OutlawsMerrimentRogueToken extends TokenImpl {
|
|||
toughness = new MageInt(2);
|
||||
|
||||
this.addAbility(HasteAbility.getInstance());
|
||||
Ability ability = new EntersBattlefieldTriggeredAbility(new DamageTargetEffect(1, "it"));
|
||||
Ability ability = new EntersBattlefieldTriggeredAbility(new DamageTargetEffect(1, "it"))
|
||||
.setTriggerPhrase("When this creature enters the battlefield, ");
|
||||
ability.addTarget(new TargetAnyTarget());
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ public final class Pest11GainLifeToken extends TokenImpl {
|
|||
power = new MageInt(1);
|
||||
toughness = new MageInt(1);
|
||||
|
||||
this.addAbility(new DiesSourceTriggeredAbility(new GainLifeEffect(1)));
|
||||
this.addAbility(new DiesSourceTriggeredAbility(new GainLifeEffect(1)).setTriggerPhrase("When this creature dies, "));
|
||||
}
|
||||
|
||||
private Pest11GainLifeToken(final Pest11GainLifeToken token) {
|
||||
|
|
|
|||
|
|
@ -2270,3 +2270,10 @@
|
|||
|Generate|TOK:BIG|Gnome|||GnomeToken|
|
||||
|Generate|TOK:BIG|Golem|||GolemToken|
|
||||
|Generate|TOK:BIG|Map|||MapToken|
|
||||
|
||||
# OTP
|
||||
|Generate|TOK:OTP|Food|||FoodToken|
|
||||
|Generate|TOK:OTP|Human Cleric|||OutlawsMerrimentClericToken|
|
||||
|Generate|TOK:OTP|Human Rogue|||OutlawsMerrimentRogueToken|
|
||||
|Generate|TOK:OTP|Human Warrior|||OutlawsMerrimentWarriorToken|
|
||||
|Generate|TOK:OTP|Pest|||Pest11GainLifeToken|
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue