Magic-Spoiler icon indicating copy to clipboard operation
Magic-Spoiler copied to clipboard

Cards are duplicated in spoiler files when there are several pictures available

Open tooomm opened this issue 2 years ago • 0 comments

Our script creates a new card with identical values, expect a different picture URL.

See example in current deployment:

<card> 
   <name>Tezzeret, Betrayer of Flesh</name> 
   <text>The first activated ability of an artifact you activate each turn costs {2} less to activate.+1: Draw two cards. Then discard two cards unless you discard an artifact card.−2: Target artifact becomes an artifact creature. If it isn't a Vehicle, it has base power and toughness 4/4.−6: You get an emblem with "Whenever an artifact you control becomes tapped, draw a card."</text> 
   <prop> 
     <color>U</color> 
     <type>Legendary Planeswalker - Tezzeret</type> 
     <cmc>4.0</cmc> 
     <manacost>2UU</manacost> 
     <loyalty>4</loyalty> 
   </prop> 
   <set rarity="Mythic Rare" picURL="https://c1.scryfall.com/file/scryfall-cards/normal/front/a/b/abc079b5-291d-466e-9f1b-baaf1079637b.jpg">NEO~</set> 
   <tablerow>1</tablerow> 
 </card> 
 <card> 
   <name>Tezzeret, Betrayer of Flesh</name> 
   <text>The first activated ability of an artifact you activate each turn costs {2} less to activate.+1: Draw two cards. Then discard two cards unless you discard an artifact card.−2: Target artifact becomes an artifact creature. If it isn't a Vehicle, it has base power and toughness 4/4.−6: You get an emblem with "Whenever an artifact you control becomes tapped, draw a card."</text> 
   <prop> 
     <color>U</color> 
     <type>Legendary Planeswalker - Tezzeret</type> 
     <cmc>4.0</cmc> 
     <manacost>2UU</manacost> 
     <loyalty>4</loyalty> 
   </prop> 
   <set rarity="Mythic Rare" picURL="https://c1.scryfall.com/file/scryfall-cards/normal/front/d/0/d0b71dd5-0bed-4c02-9f92-c52984e2bb78.jpg">NEO~</set> 
   <tablerow>1</tablerow> 
 </card> 
 <card> 
   <name>Tezzeret, Betrayer of Flesh</name> 
   <text>The first activated ability of an artifact you activate each turn costs {2} less to activate.+1: Draw two cards. Then discard two cards unless you discard an artifact card.−2: Target artifact becomes an artifact creature. If it isn't a Vehicle, it has base power and toughness 4/4.−6: You get an emblem with "Whenever an artifact you control becomes tapped, draw a card."</text> 
   <prop> 
     <color>U</color> 
     <type>Legendary Planeswalker - Tezzeret</type> 
     <cmc>4.0</cmc> 
     <manacost>2UU</manacost> 
     <loyalty>4</loyalty> 
   </prop> 
   <set rarity="Mythic Rare" picURL="https://c1.scryfall.com/file/scryfall-cards/normal/front/4/0/40dd7793-5a6d-4b5c-8924-b0aee73e31eb.jpg">NEO~</set> 
   <tablerow>1</tablerow> 
 </card> 

In the above example, two of those pictures are even the same (not the same link though).


Just realized that this happened with other sets before and is not a new issue: https://github.com/Cockatrice/Magic-Spoiler/issues/269

tooomm avatar Feb 06 '22 21:02 tooomm