mirror of
https://github.com/Cockatrice/Magic-Spoiler.git
synced 2026-09-30 13:27:34 -05:00
remove old sets and better correction files (#133)
* remove old sets and better correction files * debug manual_sets * Update main.py * little tweaks
This commit is contained in:
@@ -1,91 +1,68 @@
|
||||
# Objects to be fixed
|
||||
#
|
||||
# Format is
|
||||
#
|
||||
# Card Name:
|
||||
# field to fix: new value
|
||||
#
|
||||
# Ex:
|
||||
#
|
||||
# Jace, the Planeswalker:
|
||||
# loyalty: 5
|
||||
# manaCost: 1UUB
|
||||
#
|
||||
# Fields and their values
|
||||
# name: Card Name
|
||||
# cmc: 4
|
||||
# colorIdentity:
|
||||
# - U
|
||||
# - B
|
||||
# colors:
|
||||
# - Blue
|
||||
# - Black
|
||||
# manaCost: 1UUB
|
||||
# number: 140
|
||||
# rarity: Mythic Rare
|
||||
# power: X
|
||||
# text: "{5}, {T}: You win the game."
|
||||
# toughness: *
|
||||
# type: Legendary Artifact Creature - Human Monk
|
||||
# url: http://wizards.c0m/link/to/card.png
|
||||
#
|
||||
# Indentation is critical, two spaces per indentation
|
||||
|
||||
### How to Use: #########################################################
|
||||
# #
|
||||
# Each card to fix has to be #
|
||||
# * in its own new array #
|
||||
# #
|
||||
# Each card array starts with #
|
||||
# * a space (" ") #
|
||||
# * exact card name #
|
||||
# * followed by a colon (":") #
|
||||
# #
|
||||
# Each card array consist out of #
|
||||
# * a list of corrected fields #
|
||||
# #
|
||||
# Each card corrections consist out of #
|
||||
# * 3 leading spaces (" ") #
|
||||
# * card attribute with wrong value #
|
||||
# * followed by a colon (":") #
|
||||
# * additional space (" ") #
|
||||
# * new value for that attribute #
|
||||
# #
|
||||
### Hints: ##############################################################
|
||||
# #
|
||||
# * Indentation is critical, two spaces per indentation #
|
||||
# * For a better overview group cards from the same set and #
|
||||
# label them with "#setcode" above the first entry of each set #
|
||||
# #
|
||||
### Form: ###############################################################
|
||||
# #
|
||||
#card name: #
|
||||
# field to fix: new value #
|
||||
# #
|
||||
### Example Entries: ####################################################
|
||||
# #
|
||||
#Jace, the Planeswalker: #
|
||||
# loyalty: 5 #
|
||||
# manaCost: 1UUB #
|
||||
# #
|
||||
#Terror: #
|
||||
# type: Instant #
|
||||
# #
|
||||
### Explanation of Fields and their Values: #############################
|
||||
# #
|
||||
# name: Card Name #
|
||||
# cmc: 4 #
|
||||
# colorIdentity: #
|
||||
# - U #
|
||||
# - B #keep track of https://github.com/mtgjson/mtgjson4/issues/56 #
|
||||
# colors: #
|
||||
# - Blue #
|
||||
# - Black #
|
||||
# manaCost: 1UUB #
|
||||
# number: 140 #
|
||||
# rarity: Mythic Rare #
|
||||
# power: X #
|
||||
# text: "{5}, {T}: You win the game." #
|
||||
# toughness: * #
|
||||
# type: Legendary Artifact Creature - Human Monk #
|
||||
# url: http://wizards.c0m/link/to/card.png #
|
||||
# #
|
||||
#########################################################################
|
||||
# never remove this part of the file, since it will break otherwise #
|
||||
corrections: #
|
||||
- must not be empty! #
|
||||
#########################################################################
|
||||
|
||||
# Enter cards with their corrections below. But note the syntax hints on top!
|
||||
|
||||
Angel of the God-Pharoh:
|
||||
name: Angel of the God-Pharaoh
|
||||
Blood Moon:
|
||||
number: 46
|
||||
Damnation:
|
||||
colorIdentity:
|
||||
- B
|
||||
Doomsday:
|
||||
number: 42
|
||||
Shatterstorm:
|
||||
number: 48
|
||||
Crook of Comdemnation:
|
||||
name: Crook of Condemnation
|
||||
Nissa, Genesis Mage:
|
||||
loyalty: 5
|
||||
Hollow One:
|
||||
power: 4
|
||||
toughness: 4
|
||||
Maurauding Boneslasher:
|
||||
name: Marauding Boneslasher
|
||||
Graven Abomination:
|
||||
power: 3
|
||||
toughness: 1
|
||||
Wall of Forgotten Pharaohs:
|
||||
power: 0
|
||||
toughness: 4
|
||||
The Scarab God:
|
||||
url: http://media.wizards.com/2017/hou/en_oCj378nHkJ.png
|
||||
The Scorpion God:
|
||||
url: http://media.wizards.com/2017/hou/en_q742Vz27AN.png
|
||||
text: "Whenever a creature with a -1/-1 counter on it dies, draw a card.\n\n{1}{B}{R}: Put a -1/-1 counter on another target creature.\n\nWhen The Scorpion God dies, return it to its owner's hand at the beginning of the next end step."
|
||||
Banewhip Punisher:
|
||||
text: "When Banewhip Punisher enters the battlefield, you may put a -1/-1 counter on target creature.\n{B}, Sacrifice Banewhip Punisher: Destroy target creature that has a -1/-1 counter on it."
|
||||
Ifnir Deadlands:
|
||||
text: "{T}: Add {C} to your mana pool.\n{T}, Pay 1 life: Add {B} to your mana pool.\n{2}{B}{B}, {T}, Sacrifice a Desert: Put two -1/-1 counters on target creature an opponent controls. Activate this ability only any time you could cast a sorcery."
|
||||
Ipnu Rivulet:
|
||||
text: "{T}: Add {C} to your mana pool.\n{T}, Pay 1 life: Add {U} to your mana pool.\n{1}{U}, {T}, Sacrifice a Desert: Target player puts the top four cards of his or her library into his or her graveyard."
|
||||
Ramunap Ruins:
|
||||
text: "{T}: Add {C} to your mana pool.\n{T}, Pay 1 life: Add {R} to your mana pool.\n{2}{R}{R}, {T}, Sacrifice a Desert: Ramunap Ruins deals 2 damage to each opponent."
|
||||
Scavenger Grounds:
|
||||
text: "{T}: Add {C} to your mana pool.\n{2}, {T}, Sacrifice a Desert: Exile all cards from all graveyards."
|
||||
Shefet Dunes:
|
||||
text: "{T}: Add {C} to your mana pool.\n{T}, Pay 1 life: Add {W} to your mana pool.\n{2}{W}{W}, {T}, Sacrifice a Desert: Creatures you control get +1/+1 until end of turn. Activate this ability only any time you could cast a sorcery."
|
||||
Unconventional Tactics:
|
||||
text: Target creature gets +3/+3 and gains flying until end of turn.\nWhenever a Zombie enters the battlefield under your control, you may pay {W}. If you do, return Unconventional Tactics from your graveyard to your hand.
|
||||
Unraveling Mummy:
|
||||
text: "{1}{W}: Target attacking Zombie gains lifelink until end of turn.\n\n{1}{B}: Target attacking Zombie gains deathtouch until end of turn."
|
||||
Feral Prowler:
|
||||
type: Creature - Cat
|
||||
types:
|
||||
- Creature
|
||||
Visage of Bolas:
|
||||
text: "When Visage of Bolas enters the battlefield, you may search your library and/or graveyard for a card named Nicol Bolas, the Deceiver, reveal it, and put it into your hand. If you search your library this way, shuffle it.\n{T}: Add {U}, {B}, or {R} to your mana pool."
|
||||
Cinder Barrens:
|
||||
text: "Cinder Barrens enters the battlefield tapped.\n{T}: Add {B} or {R} to your mana pool."
|
||||
Sifter Wurm:
|
||||
rarity: Uncommon
|
||||
|
||||
@@ -1,10 +1,37 @@
|
||||
# each card to delete should be a new line, two spaces, a -, a space, card name
|
||||
# cards that begin/end with a space or contain a colon need quoted
|
||||
#
|
||||
# ex
|
||||
# delete:
|
||||
# - Not a Real Card
|
||||
# - " Test Card "
|
||||
|
||||
delete:
|
||||
- Cannot be empty
|
||||
### How to Use: #########################################################
|
||||
# #
|
||||
# Each card to delete has to be #
|
||||
# * in its own new line #
|
||||
# #
|
||||
# Each line has to consist out of #
|
||||
# * 2 leading spaces (" ") #
|
||||
# * a dash ("-") #
|
||||
# * additional space (" ") #
|
||||
# * exact card name #
|
||||
# #
|
||||
### Hints: ##############################################################
|
||||
# #
|
||||
# * Cards that begin/end with spaces or contain a colon need quoted #
|
||||
# * Indentation is critical, two spaces per indentation #
|
||||
# * For a better overview group cards from the same set and #
|
||||
# label them with "#setcode" above the first entry of each set #
|
||||
# #
|
||||
### Form: ###############################################################
|
||||
# #
|
||||
# - card name #
|
||||
# #
|
||||
### Example Entry: ######################################################
|
||||
# #
|
||||
# - JUNK NAME TO DELETE #
|
||||
# - " Tocaf's Honor Guard " #
|
||||
# #
|
||||
#########################################################################
|
||||
# never remove this part of the file, since it will break otherwise #
|
||||
delete: #
|
||||
- must not be empty! #
|
||||
#########################################################################
|
||||
|
||||
# Enter cards that should be deleted below. But note the syntax hints on top!
|
||||
|
||||
|
||||
389
cards_manual.yml
389
cards_manual.yml
@@ -1,320 +1,69 @@
|
||||
HOU:
|
||||
-
|
||||
name: Nicol Bolas, God-Pharaoh
|
||||
manaCost: 4UBR
|
||||
number: 140
|
||||
rarity: Mythic Rare
|
||||
type: Planeswalker - Bolas
|
||||
url: https://i.imgur.com/DTNXG2z.png
|
||||
text: "+2: Target opponent exiles cards from the top of his or her library until he or she exiles a nonland card. Until end of turn, you may cast that card without paying its mana cost.\n+1: Each opponent exiles two cards from his or her hand.\n-4: Nicol Bolas, God-Pharaoh deals 7 damage to target opponent or creature an opponent controls.\n-12: Exile each nonland permanent your opponents control."
|
||||
loyalty: 7
|
||||
cmc: 7
|
||||
-
|
||||
name: Bontu's Last Reckoning
|
||||
manaCost: 1BB
|
||||
number: 60
|
||||
rarity: Rare
|
||||
type: Sorcery
|
||||
url: https://i.imgur.com/HOjh3pE.png
|
||||
text: Destroy all creatures. Lands you control don't untap during your next untap step.
|
||||
cmc: 3
|
||||
-
|
||||
name: Samut, the Tested
|
||||
manaCost: 2RG
|
||||
number: 144
|
||||
rarity: Mythic Rare
|
||||
type: Planeswalker - Samut
|
||||
url: https://i.imgur.com/4tRYs5z.png
|
||||
text: "+1: Up to one target creature gains double strike until end of turn.\n-2: Samut, the Tested deals 2 damage divided as you choose among one or two target creatures and/or players.\n-7: Search your library for up to two creature and/or planeswalker cards, put them onto the battlefield, then shuffle your library."
|
||||
loyalty: 4
|
||||
cmc: 4
|
||||
-
|
||||
name: Nicol Bolas, the Deceiver
|
||||
manaCost: 5UBR
|
||||
number: 205
|
||||
rarity: Mythic Rare
|
||||
type: Planeswalker - Bolas
|
||||
url: http://mythicspoiler.com/hou/cards/nicolbolasthedeceiver.jpg
|
||||
text: "+3: Each opponent loses 3 life unless that player sacrifices a nonland permanent or discards a card.\n-3: Destroy a creature. Draw a card.\n-11: Nicol Bolas, the Deciever deals 7 damage to each opponent. You draw seven cards."
|
||||
loyalty: 5
|
||||
cmc: 8
|
||||
XLN:
|
||||
-
|
||||
name: Haven Raptor
|
||||
manaCost: 2GG
|
||||
number: 0
|
||||
rarity: Rare
|
||||
type: Creature - Dinosaur
|
||||
url: http://mythicspoiler.com/ixa/cards/havenraptor.jpg
|
||||
text: Tough - Whenever Haven Raptor is dealt damage, draw a card.
|
||||
cmc: 4
|
||||
power: 4
|
||||
toughness: 5
|
||||
-
|
||||
name: Tiehana, Voice of Thunder
|
||||
manaCost: 0
|
||||
number: 0
|
||||
rarity: Rare
|
||||
type: Legendary Creature - Merfolk
|
||||
url: http://mythicspoiler.com/ixa/cards/tiehanavoiceofthunder.jpg
|
||||
text: Tiehana, Voice of Thunder's power and toughness are equal to the number of cards in your hand.\nYou have no maximum hand size.\nWhen Tiehana enters the battlefield, draw a card for each creature you control.
|
||||
cmc: 0
|
||||
power: "*"
|
||||
toughness: "*"
|
||||
-
|
||||
name: Ogre Hand Ravager
|
||||
manaCost: 3BB
|
||||
number: 0
|
||||
rarity: Rare
|
||||
type: Creature - Orc Pirate Wizard
|
||||
url: http://mythicspoiler.com/ixa/cards/ogrehandravager.jpg
|
||||
text: When Ogre Hand Ravager enters the battlefield, each player loses a third of his or her life, rounded up.
|
||||
cmc: 5
|
||||
power: 4
|
||||
toughness: 4
|
||||
-
|
||||
name: Bishop of Rebirth
|
||||
manaCost: 3WW
|
||||
number: 0
|
||||
rarity: Rare
|
||||
type: Creature - Vampire Cleric
|
||||
url: http://mythicspoiler.com/ixa/cards/bishopofrebirth.jpg
|
||||
text: Whenever Bishop of Rebirth attacks, you may return target creature card with converted mana cost 3 or less from your graveyard to the battlefield.
|
||||
cmc: 5
|
||||
power: 3
|
||||
toughness: 4
|
||||
-
|
||||
name: Ashes of the Abhorrent
|
||||
manaCost: 1W
|
||||
number: 0
|
||||
rarity: Rare
|
||||
type: Enchantment
|
||||
url: http://mythicspoiler.com/ixa/cards/ashesoftheabhorrent.jpg
|
||||
text: Players can't cast spells from graveyards or active abilities of cards in graveyards.\nWhenever a creature dies, you gain 1 life.
|
||||
cmc: 2
|
||||
-
|
||||
name: Deeproot Champion
|
||||
manaCost: 1G
|
||||
number: 0
|
||||
rarity: Rare
|
||||
type: Creature - Merfolk Champion
|
||||
url: http://mythicspoiler.com/ixa/cards/deeprootchampion.jpg
|
||||
text: Whenever you cast a noncreature spell, put a +1/+1 counter on Deeproot Champion.
|
||||
cmc: 2
|
||||
power: 1
|
||||
toughness: 1
|
||||
-
|
||||
name: Dreamcaller Siren
|
||||
manaCost: 3UU
|
||||
number: 0
|
||||
rarity: Rare
|
||||
type: Creature - Siren Pirate
|
||||
url: http://mythicspoiler.com/ixa/cards/dreamcallersiren.jpg
|
||||
text: Flash\nFlying\nDreamcaller Siren can only block creatures with flying.\nWhen Dreamcaller Siren enters the battlefield, if you control another Pirate, tap up to two target nonland permanents.
|
||||
cmc: 5
|
||||
power: 3
|
||||
toughness: 3
|
||||
-
|
||||
name: Goring Ceratops
|
||||
manaCost: 5WW
|
||||
number: 0
|
||||
rarity: Rare
|
||||
type: Creature - Dinosaur
|
||||
url: http://mythicspoiler.com/ixa/cards/goringceratops.jpg
|
||||
text: Double strike\nWhenever Goring Ceratops attacks, other creatures you control gain double strike until end of turn.
|
||||
cmc: 7
|
||||
power: "?"
|
||||
toughness: "?"
|
||||
-
|
||||
name: Hostage Taker
|
||||
manaCost: 2UB
|
||||
number: 0
|
||||
rarity: Rare
|
||||
type: Creature - Human Pirate
|
||||
url: http://mythicspoiler.com/ixa/cards/hostagetaker.jpg
|
||||
text: When Hostage Taker enters the battlefield, exile target artifact or creature until Hostage Taker leaves the battlefield. You may cast that card for as long as it remains exiled, and you may spend mana as though it were mana of any color to cast that spell.
|
||||
cmc: 4
|
||||
power: 2
|
||||
toughness: 1
|
||||
-
|
||||
name: Emperor's Vnguard
|
||||
manaCost: 5G
|
||||
number: 0
|
||||
rarity: Rare
|
||||
type: Creature - Unknown
|
||||
url: http://mythicspoiler.com/ixa/cards/emperorsvanguard.jpg
|
||||
text: Whenever Emperor's Vanguard ???
|
||||
cmc: 6
|
||||
power: 4
|
||||
toughness: 3
|
||||
-
|
||||
name: Drowned Catacomb
|
||||
number: 0
|
||||
rarity: Rare
|
||||
type: Land
|
||||
url: http://mythicspoiler.com/ixa/cards/drownedcatacomb.jpg
|
||||
text: "Drowned Catacomb enters the battlefield tapped unless you control an Island or Swamp.\n{T}: Add {U} or {B} to your mana pool."
|
||||
cmc: 0
|
||||
-
|
||||
name: Dragonskull Summit
|
||||
number: 0
|
||||
rarity: Rare
|
||||
type: Land
|
||||
url: http://mythicspoiler.com/ixa/cards/dragonskullsummit.jpg
|
||||
text: "Dragonskull Summit enters the battlefield tapped unless you control a Swamp or Mountain.\n{T}: Add {B} or {R} to your mana pool."
|
||||
cmc: 0
|
||||
-
|
||||
name: Ruin Raider
|
||||
manaCost: 2B
|
||||
number: 0
|
||||
rarity: Rare
|
||||
type: Creature - Orc Pirate
|
||||
url: http://mythicspoiler.com/ixa/cards/ruinraider.jpg
|
||||
text: Raid - At the beginning of your end step, if you attacked with a creature this turn, reveal the top card of your library and put that card into your hand. You lose life equal to that card's converted mana cost.
|
||||
cmc: 3
|
||||
power: "?"
|
||||
toughness: "?"
|
||||
-
|
||||
name: Vraska's Contempt
|
||||
manaCost: 2BB
|
||||
number: 0
|
||||
rarity: Rare
|
||||
type: Instant
|
||||
url: http://mythicspoiler.com/ixa/cards/vraskascontempt.jpg
|
||||
text: Exile target creature or planeswalker. You gain 2 life.
|
||||
cmc: 4
|
||||
-
|
||||
name: Rowdy Crew
|
||||
manaCost: 3RR
|
||||
number: 0
|
||||
rarity: Mythic Rare
|
||||
type: Creature - Goblin Pirate
|
||||
url: http://mythicspoiler.com/ixa/cards/rowdycrew.jpg
|
||||
text: Trample\nWhen Rowdy Crew enters the battlefield, draw three cards, then discard 2 cards at random. If two cards that share a type are discarded this way, put two +1/+1 counters on Rowdy Crew.
|
||||
cmc: 5
|
||||
power: 3
|
||||
toughness: 3
|
||||
-
|
||||
name: Bloodstained Paladin
|
||||
manaCost: 3B
|
||||
number: 0
|
||||
rarity: Rare
|
||||
type: Creature - Vampire Knight
|
||||
url: http://mythicspoiler.com/ixa/cards/bloodstainedpaladin.jpg
|
||||
text: Flash\nBloodstained Paladin enters the battlefield with a +1/+1 counter on it for each creature that died this turn.
|
||||
cmc: 4
|
||||
power: 3
|
||||
toughness: 4
|
||||
-
|
||||
name: Arcane Adaptation
|
||||
manaCost: 2U
|
||||
number: 44
|
||||
rarity: Mythic Rare
|
||||
type: Enchantment
|
||||
url: http://mythicspoiler.com/ixa/cards/arcaneadaptation.jpg
|
||||
text: As Arcane Adaptation enters the battlefield, choose a creature type.\nCreatures you control are the chosen type in addition to their other types. The same is true for creature spells you control and creature cards you own that aren't on the battlefield.
|
||||
cmc: 3
|
||||
-
|
||||
name: Captain Lannery Storm
|
||||
manaCost: 2R
|
||||
number: 0
|
||||
rarity: Mythic Rare
|
||||
type: Legendary Creature - Human Pirate
|
||||
url: http://mythicspoiler.com/ixa/cards/captainlannerystorm.jpg
|
||||
text: "Haste\nWhenever Captain Lannery Storm attacks, create a colorless Treasure artifact token with \"{T}, Sacrifice this artifact: Add one mana of any color to your mana pool.\"\nWhenever you sacrifice a Treasure, Captain Lannery Storm gets +1/+0 until end of turn."
|
||||
cmc: 3
|
||||
power: 2
|
||||
toughness: 2
|
||||
-
|
||||
name: Daring Saboteur
|
||||
manaCost: 1U
|
||||
number: 0
|
||||
rarity: Rare
|
||||
type: Creature - Human Pirate
|
||||
url: http://mythicspoiler.com/ixa/cards/daringsaboteur.jpg
|
||||
text: "{2}{U}: Daring Saboteur can't be blocked this turn.\nWhenever Daring Saboteur deals combat damage to a player, you may draw a card. If you do, discard a card."
|
||||
cmc: 2
|
||||
power: "?"
|
||||
toughness: "?"
|
||||
-
|
||||
name: Sorcerous Spyglass
|
||||
manaCost: 2
|
||||
number: 0
|
||||
rarity: Rare
|
||||
type: Artifact
|
||||
url: http://mythicspoiler.com/ixa/cards/sorcerousspyglass.jpg
|
||||
text: As Sorcerous Spyglass enters the battlefield, look at an opponent's hand, then choose any card name.\nActivated abilities of sources with the chosen name can't be activated unless they're mana abilities.
|
||||
cmc: 2
|
||||
-
|
||||
name: Sunpetal Grove
|
||||
number: 0
|
||||
rarity: Rare
|
||||
type: Land
|
||||
url: http://mythicspoiler.com/ixa/cards/sunpetalgrove.jpg
|
||||
text: "Sunpetal Grove enters the battlefield tapped unless you control a Forest or a Plains.\n{T}: Add {G} or {W} to your mana pool."
|
||||
cmc: 0
|
||||
-
|
||||
name: Vanquisher's Banner
|
||||
manaCost: 5
|
||||
number: 0
|
||||
rarity: Rare
|
||||
type: Artifact
|
||||
url: http://mythicspoiler.com/ixa/cards/vanquishersbanner.jpg
|
||||
text: As Vanquisher's Banner enters the battlefield, choose a creature type.\nCreatures you control of the chosen type get +1/+1.\nWhenever you cast a creature spell of the chosen type, draw a card.
|
||||
cmc: 5
|
||||
C17:
|
||||
-
|
||||
name: Taigam, Ojutai Master
|
||||
manaCost: 2WU
|
||||
number: 46
|
||||
rarity: Rare
|
||||
type: Legendary Creature - Human Monk
|
||||
url: http://mythicspoiler.com/c17/cards/taigamojutaimaster.jpg
|
||||
text: Instant, sorcery, and Dragon spells you control can't be countered by spells or abilities.\nWhenever you cast an instant or sorcery spell from your hand, if Taigam, Ojutai Master attacked this turn, that spell gains rebound. (Exile the spell as it resolves. At the beginning of your next upkeep, you may cast that card from exile without paying its mana cost.)
|
||||
cmc: 4
|
||||
power: 3
|
||||
toughness: 4
|
||||
-
|
||||
name: Ramos, Dragon Engine
|
||||
manaCost: 6
|
||||
number: 0
|
||||
rarity: Mythic Rare
|
||||
type: Legendary Artifact Creature - Dragon
|
||||
url: http://mythicspoiler.com/c17/cards/ramosdragonengine.jpg
|
||||
text: "Flying\nWhenever you cast a spell, put a +1/+1 counter on Ramos, Dragon Engine for each of that spell's colors.\nRemove five +1/+1 counters from Ramos: Add {W}{W}{U}{U}{B}{B}{R}{R}{G}{G} to your mana pool. Activate this ability only once each turn."
|
||||
cmc: 6
|
||||
power: 4
|
||||
toughness: 4
|
||||
-
|
||||
name: O-Kagachi, Vengeful Kami
|
||||
manaCost: 1WUBRG
|
||||
number: 0
|
||||
rarity: Mythic Rare
|
||||
type: Legendary Creature - Dragon Spirit
|
||||
url: http://mythicspoiler.com/c17/cards/okagachivengefulkami.jpg
|
||||
text: Flying, trample\nWhenever O-Kagachi, Vengeful Kami deals combat damage to a player, if that player attacked you during his or her last turn, exile target nonland permanent that player controls.
|
||||
cmc: 6
|
||||
power: 6
|
||||
toughness: 6
|
||||
-
|
||||
name: The Ur-Dragon
|
||||
manaCost: 4WUBRG
|
||||
number: 0
|
||||
rarity: Mythic Rare
|
||||
type: Legendary Creature - Dragon Avatar
|
||||
url: http://mythicspoiler.com/c17/cards/theurdragon.jpg
|
||||
text: Eminence - As long as The Ur-Dragon is the command zone or on the battlefield, other Dragon spells you cast cost {1} less to cast.\nFlying\nWhenever one or more Dragons you control attack, draw that many cards, then you may put a permanent card from your hand onto the battlefield.
|
||||
cmc: 9
|
||||
power: 10
|
||||
toughness: 10
|
||||
-
|
||||
name: Wasitora, Nekoru Queen
|
||||
manaCost: 2BRG
|
||||
number: 0
|
||||
rarity: Rare
|
||||
type: Legendary Creature - Cat Dragon
|
||||
url: http://mythicspoiler.com/c17/cards/wasitoranekoruqueen.jpg
|
||||
text: Flying, trample\nWhenever Wasitora, Nekoru Queen deals combat damage to a player, that player sacrifices a creature. If the player can't, you create a 3/3 black, red, and green Cat Dragon creature token with flying.
|
||||
cmc: 5
|
||||
power: 5
|
||||
toughness: 4
|
||||
|
||||
### How to Use: #########################################################
|
||||
# #
|
||||
# Each card that you want to manually add has to be #
|
||||
# * in its correct set block #
|
||||
# #
|
||||
# Each set block has to start with #
|
||||
# * set code #
|
||||
# * followed by a colon (":") #
|
||||
# #
|
||||
# Each set block consist out of #
|
||||
# * a list of cards #
|
||||
# #
|
||||
# Each card in the list has to start with #
|
||||
# * 2 leading spaces (" ") #
|
||||
# * a dash ("-") to open an new array for each card #
|
||||
# #
|
||||
# Each new card has to consist out of #
|
||||
# * a new line #
|
||||
# * 4 leading spaces in total (" ") #
|
||||
# * card attribute #
|
||||
# * followed by a colon (":") #
|
||||
# * additional space (" ") #
|
||||
# * value for that attribute #
|
||||
# #
|
||||
### Hints: ##############################################################
|
||||
# #
|
||||
# * Each card attribute you want your card to have needs its own line #
|
||||
# * Most important fields are: name, manaCost, rarity, type and url #
|
||||
# * Indentation is critical, two spaces per indentation #
|
||||
# #
|
||||
### Form: ###############################################################
|
||||
# #
|
||||
#set code: #
|
||||
# - #
|
||||
# card field to add: value #
|
||||
# card field to add: value #
|
||||
# - #
|
||||
# card field to add: value #
|
||||
# #
|
||||
#other set code: #
|
||||
# - #
|
||||
# card field to add: value #
|
||||
# #
|
||||
### Example Entry: ######################################################
|
||||
# #
|
||||
#XLN: #
|
||||
# - #
|
||||
# name: Haven Raptor #
|
||||
# manaCost: 2GG #
|
||||
# number: 0 <--- fix #
|
||||
# rarity: Rare #
|
||||
# type: Creature - Dinosaur #
|
||||
# url: http://mythicspoiler.com/ixa/cards/havenraptor.jpg <--- #
|
||||
# text: Tough - Whenever Haven Raptor is dealt damage, draw a card. #
|
||||
# cmc: 4 #
|
||||
# power: 4 #
|
||||
# toughness: 5 #
|
||||
# - #
|
||||
# name: Vraska's Contempt #
|
||||
# manaCost: 2BB #
|
||||
# rarity: Rare #
|
||||
# type: Instant #
|
||||
# url: http://mythicspoiler.com/ixa/cards/vraskascontempt.jpg <--- #
|
||||
# #
|
||||
#########################################################################
|
||||
|
||||
# Enter cards that should be added manually directly below. But note the syntax hints on top!
|
||||
|
||||
|
||||
6
main.py
6
main.py
@@ -121,8 +121,12 @@ if __name__ == '__main__':
|
||||
mtgs = mtgs_scraper.scrape_mtgs(
|
||||
'http://www.mtgsalvation.com/spoilers.rss') # scrape mtgs rss feed
|
||||
mtgs = mtgs_scraper.parse_mtgs(mtgs, setinfo=setinfo) # parse spoilers into mtgjson format
|
||||
if manual_sets and manual_sets != '' and setinfo['code'] in manual_sets:
|
||||
manual_cards = manual_sets[setinfo['code']]
|
||||
else:
|
||||
manual_cards = []
|
||||
mtgs = spoilers.correct_cards(
|
||||
mtgs, manual_sets[setinfo['code']], card_corrections, delete_cards['delete']) # fix using the fixfiles
|
||||
mtgs, manual_cards, card_corrections, delete_cards['delete']) # fix using the fixfiles
|
||||
mtgjson = spoilers.get_image_urls(
|
||||
mtgs, presets['isfullspoil'], setinfo['code'], setinfo['name'], setinfo['size'], setinfo) # get images
|
||||
if presets['scryfallOnly'] or 'scryfallOnly' in setinfo and setinfo['scryfallOnly']:
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
#
|
||||
# alternativeNames: ["Same as set long name, but minus 'Masterpiece Series:'"]
|
||||
#
|
||||
# Example Hour of Devastation Info:
|
||||
# Example "Hour of Devastation" info (scraped from MTGS) with leading dashes and masterpieces from all its block:
|
||||
# ---
|
||||
# code: "HOU"
|
||||
# name: "Hour of Devastation"
|
||||
@@ -31,7 +31,7 @@
|
||||
# size: 199
|
||||
# releaseDate: "2017-07-14"
|
||||
# type: "expansion"
|
||||
# mtgsurl: "http://www.mtgsalvation.com/spoilers/183-hour-of-devastation"
|
||||
# mtgsurl: "http://www.mtgsalvation.com/spoilers/183-hour-of-devastation" #looks like http://www.mtgsalvation.com/spoilers/183 automatically redirects to same page
|
||||
# mtgscardpath: "http://www.mtgsalvation.com/cards/hour-of-devastation/"
|
||||
# fullSpoil: false
|
||||
# masterpieces:
|
||||
|
||||
Reference in New Issue
Block a user