From cd091939242a88c31eb5dbafa960147a3c101952 Mon Sep 17 00:00:00 2001 From: Chris H Date: Tue, 11 Nov 2025 10:14:33 -0500 Subject: [PATCH] Add TLA Booster info and Rankins --- forge-gui/res/blockdata/blocks.txt | 1 + forge-gui/res/draft/rankings/tla.rnk | 348 ++++++++++++++++++ .../Avatar The Last Airbender Eternal.txt | 14 + .../editions/Avatar The Last Airbender.txt | 163 ++++++++ forge-gui/tools/RankingScraper.py | 37 +- 5 files changed, 555 insertions(+), 8 deletions(-) create mode 100644 forge-gui/res/draft/rankings/tla.rnk diff --git a/forge-gui/res/blockdata/blocks.txt b/forge-gui/res/blockdata/blocks.txt index bf3b9fd39e3..4984a03922c 100644 --- a/forge-gui/res/blockdata/blocks.txt +++ b/forge-gui/res/blockdata/blocks.txt @@ -145,3 +145,4 @@ Final Fantasy, 3/6/FIN, FIN Alchemy: Innistrad, 3/6/ISD, YMID Edge of Eternities, 3/6/EOE, EOE Marvel's Spider-Man, 3/6/SPM, SPM +Avatar: The Last Airbender, 3/6/TLA, TLA \ No newline at end of file diff --git a/forge-gui/res/draft/rankings/tla.rnk b/forge-gui/res/draft/rankings/tla.rnk new file mode 100644 index 00000000000..248c3e038ca --- /dev/null +++ b/forge-gui/res/draft/rankings/tla.rnk @@ -0,0 +1,348 @@ +//Rank|Name|Rarity|Set +#1|Day of Black Sun|R|TLA +#2|Phoenix Fleet Airship|M|TLA +#3|The Rise of Sozin|M|TLA +#4|Ran and Shaw|R|TLA +#5|Azula, Cunning Usurper|R|TLA +#6|Sokka, Tenacious Tactician|R|TLA +#7|Black Sun's Zenith|M|TLA +#8|Koma, Cosmos Serpent|M|TLA +#9|Hakoda, Selfless Commander|R|TLA +#10|United Front|M|TLA +#11|Iroh, Grand Lotus|R|TLA +#12|Agent of Treachery|M|TLA +#13|Noxious Gearhulk|M|TLA +#14|Appa, Steadfast Guardian|M|TLA +#15|Avatar's Wrath|R|TLA +#16|Suki, Courageous Rescuer|R|TLA +#17|Wan Shi Tong, Librarian|M|TLA +#18|The Fire Nation Drill|R|TLA +#19|Wartime Protestors|R|TLA +#20|The Earth King|R|TLA +#21|Aang, at the Crossroads|R|TLA +#22|Bumi, Unleashed|M|TLA +#23|Iroh, Tea Master|R|TLA +#24|Katara, Water Tribe's Hope|R|TLA +#25|Ozai, the Phoenix King|M|TLA +#26|Abandoned Air Temple|R|TLA +#27|Jasmine Dragon Tea Shop|R|TLA +#28|South Pole Voyager|R|TLA +#29|Fire Lord Azula|R|TLA +#30|Return of the Wildspeaker|M|TLA +#31|The Legend of Kuruk|M|TLA +#32|Spirit Water Revival|R|TLA +#33|The Unagi of Kyoshi Island|R|TLA +#34|Koh, the Face Stealer|M|TLA +#35|Diligent Zookeeper|R|TLA +#36|The Legend of Kyoshi|M|TLA +#37|Aang, Swift Savior|R|TLA +#38|Earth King's Lieutenant|R|TLA +#39|Sandbender Scavengers|R|TLA +#40|Toph, the First Metalbender|R|TLA +#41|Planetarium of Wan Shi Tong|M|TLA +#42|Mirrorwing Dragon|M|TLA +#43|Warstorm Surge|M|TLA +#44|Cityscape Leveler|M|TLA +#45|Obsessive Pursuit|R|TLA +#46|Toph, Hardheaded Teacher|R|TLA +#47|Realm of Koh|R|TLA +#48|Airbender Ascension|R|TLA +#49|The Legend of Yangchen|M|TLA +#50|Momo, Friendly Flier|R|TLA +#51|The Mechanist, Aerial Artisan|R|TLA +#52|Ty Lee, Chi Blocker|R|TLA +#53|Waterbender Ascension|R|TLA +#54|Yue, the Moon Spirit|R|TLA +#55|Boiling Rock Rioter|R|TLA +#56|Mai, Scornful Striker|R|TLA +#57|Raven Eagle|R|TLA +#58|Fated Firepower|M|TLA +#59|The Legend of Roku|M|TLA +#60|Badgermole Cub|M|TLA +#61|Great Divide Guide|R|TLA +#62|Avatar Aang|M|TLA +#63|Beifong's Bounty Hunters|R|TLA +#64|Fire Lord Zuko|R|TLA +#65|Agna Qel'a|R|TLA +#66|Ba Sing Se|R|TLA +#67|Drannith Magistrate|M|TLA +#68|Bribery|M|TLA +#69|Blasphemous Act|M|TLA +#70|Insurrection|M|TLA +#71|Beastmaster Ascension|M|TLA +#72|The Great Henge|M|TLA +#73|Rhys the Redeemed|M|TLA +#74|Treetop Village|M|TLA +#75|Earth Kingdom Jailer|U|TLA +#76|Water Tribe Rallier|U|TLA +#77|Accumulate Wisdom|U|TLA +#78|Master Pakku|U|TLA +#79|Joo Dee, One of Many|U|TLA +#80|June, Bounty Hunter|U|TLA +#81|Firebending Student|R|TLA +#82|Haru, Hidden Talent|U|TLA +#83|Invasion Tactics|U|TLA +#84|Leaves from the Vine|U|TLA +#85|Ostrich-Horse|C|TLA +#86|Bitter Work|U|TLA +#87|Dragonfly Swarm|U|TLA +#88|Sokka, Bold Boomeranger|R|TLA +#89|Sokka, Lateral Strategist|U|TLA +#90|White Lotus Reinforcements|U|TLA +#91|Aang, the Last Airbender|U|TLA +#92|Aang's Iceberg|R|TLA +#93|Team Avatar|U|TLA +#94|Crashing Wave|U|TLA +#95|Forecasting Fortune Teller|C|TLA +#96|Katara, Bending Prodigy|U|TLA +#97|Knowledge Seeker|U|TLA +#98|The Cave of Two Lovers|U|TLA +#99|Combustion Technique|U|TLA +#100|Iroh's Demonstration|U|TLA +#101|The Last Agni Kai|R|TLA +#102|Lightning Strike|C|TLA +#103|Earth Rumble|U|TLA +#104|Air Nomad Legacy|U|TLA +#105|Cruel Administrator|U|TLA +#106|Hama, the Bloodbender|U|TLA +#107|Hei Bai, Spirit of Balance|U|TLA +#108|Hermitic Herbalist|U|TLA +#109|Katara, the Fearless|R|TLA +#110|The Lion-Turtle|R|TLA +#111|Suki, Kyoshi Warrior|U|TLA +#112|Tolls of War|U|TLA +#113|Lightning Bolt|M|TLA +#114|Enter the Avatar State|U|TLA +#115|Invasion Reinforcements|U|TLA +#116|Master Piandao|U|TLA +#117|Momo, Playful Pet|U|TLA +#118|Sold Out|C|TLA +#119|Swampsnare Trap|C|TLA +#120|Fire Nation Attacks|U|TLA +#121|Firebender Ascension|R|TLA +#122|Allies at Last|U|TLA +#123|Earth Kingdom General|U|TLA +#124|Earthbender Ascension|R|TLA +#125|Rocky Rebuke|C|TLA +#126|Toph, the Blind Bandit|U|TLA +#127|True Ancestry|U|TLA +#128|Guru Pathik|U|TLA +#129|Jet, Freedom Fighter|U|TLA +#130|Long Feng, Grand Secretariat|U|TLA +#131|Messenger Hawk|C|TLA +#132|Sun Warriors|U|TLA +#133|Uncle Iroh|U|TLA +#134|Vindictive Warden|C|TLA +#135|Zhao, Ruthless Admiral|U|TLA +#136|Lita, Mechanical Engineer|M|TLA +#137|Release to Memory|M|TLA +#138|Searing Blood|M|TLA +#139|Elemental Bond|M|TLA +#140|Appa, Loyal Sky Bison|U|TLA +#141|Earth Kingdom Protectors|U|TLA +#142|Glider Staff|U|TLA +#143|Path to Redemption|C|TLA +#144|Southern Air Temple|U|TLA +#145|Vengeful Villagers|U|TLA +#146|Benevolent River Spirit|U|TLA +#147|Boomerang Basics|U|TLA +#148|Invasion Submersible|U|TLA +#149|Lost Days|C|TLA +#150|Octopus Form|C|TLA +#151|The Spirit Oasis|U|TLA +#152|Azula, On the Hunt|U|TLA +#153|Buzzard-Wasp Colony|U|TLA +#154|Epic Downfall|U|TLA +#155|Heartless Act|U|TLA +#156|Lo and Li, Twin Tutors|U|TLA +#157|Combustion Man|U|TLA +#158|Crescent Island Temple|U|TLA +#159|Fire Sages|U|TLA +#160|Firebending Lesson|C|TLA +#161|Jeong Jeong, the Deserter|U|TLA +#162|Mai, Jaded Edge|U|TLA +#163|Zhao, the Moon Slayer|R|TLA +#164|Avatar Destiny|R|TLA +#165|Bumi, King of Three Trials|U|TLA +#166|Earthen Ally|R|TLA +#167|Flopsie, Bumi's Buddy|U|TLA +#168|Unlucky Cabbage Merchant|U|TLA +#169|Dai Li Agents|U|TLA +#170|Foggy Swamp Spirit Keeper|U|TLA +#171|Three Dreams|M|TLA +#172|Sakashima of a Thousand Faces|M|TLA +#173|Standstill|M|TLA +#174|Heroic Intervention|M|TLA +#175|Captain Sisay|M|TLA +#176|Join the Dance|M|TLA +#177|Aang's Journey|C|TLA +#178|Avatar Enthusiasts|C|TLA +#179|Gather the White Lotus|U|TLA +#180|Ember Island Production|U|TLA +#181|Honest Work|U|TLA +#182|Serpent of the Pass|U|TLA +#183|Teo, Spirited Glider|U|TLA +#184|Waterbending Scroll|U|TLA +#185|Watery Grasp|C|TLA +#186|Callous Inspector|C|TLA +#187|Cat-Gator|U|TLA +#188|Corrupt Court Official|C|TLA +#189|Fire Nation Engineer|U|TLA +#190|Fire Navy Trebuchet|U|TLA +#191|Tundra Tank|U|TLA +#192|Wolfbat|U|TLA +#193|Zuko's Conviction|U|TLA +#194|Twin Blades|U|TLA +#195|Ty Lee, Artful Acrobat|U|TLA +#196|War Balloon|U|TLA +#197|Zuko, Exiled Prince|U|TLA +#198|The Boulder, Ready to Rumble|U|TLA +#199|Origin of Metalbending|C|TLA +#200|Fire Nation Warship|U|TLA +#201|Meteor Sword|U|TLA +#202|Fervor|M|TLA +#203|Meteorite|M|TLA +#204|Zuko's Exile|C|TLA +#205|Airbender's Reversal|U|TLA +#206|Airbending Lesson|C|TLA +#207|Compassionate Healer|C|TLA +#208|Fancy Footwork|U|TLA +#209|Glider Kids|C|TLA +#210|Jeong Jeong's Deserters|C|TLA +#211|Kyoshi Warriors|C|TLA +#212|Rabaroo Troop|C|TLA +#213|Sandbenders' Storm|C|TLA +#214|Water Tribe Captain|C|TLA +#215|Yip Yip!|C|TLA +#216|First-Time Flyer|C|TLA +#217|Giant Koi|C|TLA +#218|Gran-Gran|U|TLA +#219|Iguana Parrot|C|TLA +#220|Otter-Penguin|C|TLA +#221|Rowdy Snowballers|C|TLA +#222|Waterbending Lesson|C|TLA +#223|Canyon Crawler|C|TLA +#224|Deadly Precision|C|TLA +#225|Pirate Peddlers|C|TLA +#226|Bumi Bash|C|TLA +#227|Cunning Maneuver|C|TLA +#228|Fire Nation Raider|C|TLA +#229|Mongoose Lizard|C|TLA +#230|Treetop Freedom Fighters|C|TLA +#231|Yuyan Archers|C|TLA +#232|Badgermole|C|TLA +#233|Foggy Swamp Vinebender|C|TLA +#234|Pillar Launch|C|TLA +#235|Raucous Audience|C|TLA +#236|Rebellious Captives|C|TLA +#237|Rockalanche|U|TLA +#238|Saber-Tooth Moose-Lion|C|TLA +#239|Cat-Owl|C|TLA +#240|Earth Kingdom Soldier|C|TLA +#241|Platypus-Bear|C|TLA +#242|Pretending Poxbearers|C|TLA +#243|Professor Zei, Anthropologist|U|TLA +#244|Wandering Musicians|C|TLA +#245|Kyoshi Battle Fan|C|TLA +#246|Airship Engine Room|C|TLA +#247|Boiling Rock Prison|C|TLA +#248|Foggy Bottom Swamp|C|TLA +#249|Kyoshi Village|C|TLA +#250|Meditation Pools|C|TLA +#251|Misty Palms Oasis|C|TLA +#252|North Pole Gates|C|TLA +#253|Omashu City|C|TLA +#254|Serpent's Pass|C|TLA +#255|Sun-Blessed Peak|C|TLA +#256|White Lotus Hideout|U|TLA +#257|Imprisoned in the Moon|M|TLA +#258|Visions of Beyond|M|TLA +#259|Fabled Passage|M|TLA +#260|Energybending|U|TLA +#261|Curious Farm Animals|C|TLA +#262|Razor Rings|C|TLA +#263|Flexible Waterbender|C|TLA +#264|Geyser Leaper|C|TLA +#265|It'll Quench Ya!|C|TLA +#266|North Pole Patrol|U|TLA +#267|Sokka's Haiku|U|TLA +#268|Azula Always Lies|C|TLA +#269|Beetle-Headed Merchants|C|TLA +#270|Dai Li Indoctrination|C|TLA +#271|Fatal Fissure|U|TLA +#272|Foggy Swamp Hunters|C|TLA +#273|Hog-Monkey|C|TLA +#274|Merchant of Many Hats|C|TLA +#275|Ozai's Cruelty|U|TLA +#276|Boar-q-pine|C|TLA +#277|Deserter's Disciple|C|TLA +#278|Fire Nation Cadets|C|TLA +#279|How to Start a Riot|C|TLA +#280|Jet's Brainwashing|U|TLA +#281|Price of Freedom|U|TLA +#282|Rough Rhino Cavalry|C|TLA +#283|Cycle of Renewal|C|TLA +#284|Earthbending Lesson|C|TLA +#285|Kyoshi Island Plaza|U|TLA +#286|Seismic Sense|U|TLA +#287|Shared Roots|U|TLA +#288|Sparring Dummy|U|TLA +#289|Turtle-Duck|C|TLA +#290|Walltop Sentries|C|TLA +#291|Abandon Attachments|C|TLA +#292|Earth Rumble Wrestlers|C|TLA +#293|Earth Village Ruffians|C|TLA +#294|Barrels of Blasting Jelly|C|TLA +#295|Bender's Waterskin|C|TLA +#296|Fire Nation Palace|R|TLA +#297|Rumble Arena|C|TLA +#298|Secret Tunnel|R|TLA +#299|Clone|M|TLA +#300|Dockside Extortionist|M|TLA +#301|Ruinous Waterbending|U|TLA +#302|Tiger-Dillo|U|TLA +#303|Northern Air Temple|U|TLA +#304|Zuko, Conflicted|R|TLA +#305|Trusty Boomerang|U|TLA +#306|The Walls of Ba Sing Se|M|TLA +#307|Brought Back|M|TLA +#308|Force of Negation|M|TLA +#309|Humble Defector|M|TLA +#310|Rending Volley|M|TLA +#311|Eladamri's Call|M|TLA +#312|Sunbaked Canyon|M|TLA +#313|Valakut, the Molten Pinnacle|M|TLA +#314|Clone Legion|M|TLA +#315|Destined Confrontation|U|TLA +#316|Tiger-Seal|R|TLA +#317|Solstice Revelations|U|TLA +#318|Elemental Teachings|R|TLA +#319|Scout's Warning|M|TLA +#320|Teferi's Protection|M|TLA +#321|Prosperity|M|TLA +#322|Diaochan, Artful Beauty|M|TLA +#323|Shattering Spree|M|TLA +#324|Volcanic Torrent|M|TLA +#325|Taunting Challenge|M|TLA +#326|Fevered Visions|M|TLA +#327|Secret of Bloodbending|M|TLA +#328|Foggy Swamp Visions|R|TLA +#329|Redirect Lightning|R|TLA +#330|Sozin's Comet|M|TLA +#331|White Lotus Tile|M|TLA +#332|Empty City Ruse|M|TLA +#333|Mystic Remora|M|TLA +#334|Training Grounds|M|TLA +#335|Bloodchief Ascension|M|TLA +#336|Cruel Tutor|M|TLA +#337|Heartbeat of Spring|M|TLA +#338|Rites of Flourishing|M|TLA +#339|Sundial of the Infinite|M|TLA +#340|Dark Depths|M|TLA +#341|Tarnished Citadel|M|TLA +#342|Plains|C|TLA +#343|Island|C|TLA +#344|Swamp|C|TLA +#345|Mountain|C|TLA +#346|Forest|C|TLA +#347|Intruder Alarm|M|TLA diff --git a/forge-gui/res/editions/Avatar The Last Airbender Eternal.txt b/forge-gui/res/editions/Avatar The Last Airbender Eternal.txt index eb1930e8386..43bfcb1a0f9 100644 --- a/forge-gui/res/editions/Avatar The Last Airbender Eternal.txt +++ b/forge-gui/res/editions/Avatar The Last Airbender Eternal.txt @@ -6,6 +6,8 @@ Type=Expansion ScryfallCode=TLE [cards] + +[borderless] 1 M Brought Back @Viacom 2 M Drannith Magistrate @Viacom ${"flavorName": "Mayor Tong of Chin Village"} 3 M Empty City Ruse @Viacom @@ -67,18 +69,24 @@ ScryfallCode=TLE 59 M Tarnished Citadel @Viacom 60 M Treetop Village @Viacom 61 M Valakut, the Molten Pinnacle @Viacom ${"flavorName": "Volcano of Roku's Island"} + +[black sun invasion] 62 R Appa, the Vigilant @Fahmi Fauzi 63 R Katara's Reversal @Fahmi Fauzi 64 R Fire Nation Turret @Fahmi Fauzi 65 R Swampbenders @Fahmi Fauzi 66 R Sokka's Charge @Fahmi Fauzi 67 R Earthshape @Fahmi Fauzi + +[tea time] 68 R Mai and Zuko @Brian Yuen 69 R Aang and Katara @Brian Yuen 70 R Toph, Greatest Earthbender @Brian Yuen 71 R Sokka and Suki @Brian Yuen 72 R Momo's Heist @Brian Yuen 73 R Uncle's Musings @Brian Yuen + +[extended art] 74 M Aang, Airbending Master @Tomoyo Asatani 75 U Air Nomad Student @Tky 76 U The Duke, Rebel Sentry @Logan Feliciano @@ -151,6 +159,8 @@ ScryfallCode=TLE 143 R Tale of Katara and Toph @Ichiko Milk Tei 144 R Tectonic Split @Mengxuan Li 145 M Toph, Earthbending Master @Phima + +[jumpstart] 146 U Aang, A Lot to Learn @Tomoyo Asatani 147 U Hook Swords @Eliz Roxs 148 U Katara, Seeking Revenge @Yoshioka @@ -215,6 +225,8 @@ ScryfallCode=TLE 207 R Tale of Katara and Toph @Ichiko Milk Tei 208 R Tectonic Split @Mengxuan Li 209 M Toph, Earthbending Master @Phima + +[tutorial] 210 R Aang, Air Nomad @Jinho Bae 211 C Aang's Defense @Jo Cordisco 212 C Aardvark Sloth @Ionomycin @@ -310,6 +322,8 @@ ScryfallCode=TLE 302 L Plains @Slawek Fedorczuk 303 L Plains @Slawek Fedorczuk 304 L Plains @Slawek Fedorczuk + +[commander bundle] 305 R Enlightened Tutor @Brigitte Roka & Clifton Stommel 306 R Flawless Maneuver @Irina Nordsol 307 R Fierce Guardianship @Ina Wong diff --git a/forge-gui/res/editions/Avatar The Last Airbender.txt b/forge-gui/res/editions/Avatar The Last Airbender.txt index f86b9971df1..24f2edea55d 100644 --- a/forge-gui/res/editions/Avatar The Last Airbender.txt +++ b/forge-gui/res/editions/Avatar The Last Airbender.txt @@ -4,6 +4,77 @@ Date=2025-11-21 Name=Avatar: The Last Airbender Type=Expansion ScryfallCode=TLA +#https://mtgscribe.com/2025/11/08/avatar-play-booster-fact-sheet/ +BoosterSlots=Common,Common-Borderless,Uncommon,RareMythic,Land,Wildcard,WildcardFoil +Booster=6 Common, 1 Common-Borderless, 3 Uncommon, 1 RareMythic, 1 Wildcard, 1 WildcardFoil+, 1 Land +Prerelease=6 Boosters, 1 RareMythic+ +BoosterBox=30 + +[Common] +Base=Common:fromSheet("TLA cards") + +[Common-Borderless] +Base=Common:fromSheet("TLA cards") +Replace=.0384F fromSheet("TLE borderless") + +[Uncommon] +Base=Uncommon:fromSheet("TLA cards") +Replace=0.036F Uncommon:fromSheet("TLA scene cards") + +[RareMythic] +Base=Rare:fromSheet("TLA cards") +Replace=.126F Mythic:fromSheet("TLA cards") +Replace=.016F Rare:fromSheet("TLA scene cards") +Replace=.004F Mythic:fromSheet("TLA scene cards") +Replace=.006F Rare:fromSheet("TLA field notes") +Replace=.004F Mythic:fromSheet("TLA field notes") +Replace=.001F Rare:fromSheet("TLA battle pose") +Replace=.0005F Mythic:fromSheet("TLA battle pose") +Replace=.001F Rare:fromSheet("TLA elemental frame") +Replace=.0005F Mythic:fromSheet("TLA elemental frame") +Replace=.0005F Mythic:fromSheet("TLA borderless saga") + +[Wildcard] +Base=Uncommon:fromSheet("TLA cards") +Replace=0.042F Common:fromSheet("TLA cards") +Replace=0.167F Rare:fromSheet("TLA cards") +Replace=0.0026F Mythic:fromSheet("TLA cards") +Replace=0.008F Uncommon:fromSheet("TLA scene cards") +Replace=.006F Rare:fromSheet("TLA scene cards") +Replace=.004F Mythic:fromSheet("TLA scene cards") +Replace=.006F Rare:fromSheet("TLA field notes") +Replace=.004F Mythic:fromSheet("TLA field notes") +Replace=.001F Rare:fromSheet("TLA battle pose") +Replace=.0005F Mythic:fromSheet("TLA battle pose") +Replace=.001F Rare:fromSheet("TLA elemental frame") +Replace=.0005F Mythic:fromSheet("TLA elemental frame") +Replace=.0005F Mythic:fromSheet("TLA borderless dfc saga") + +[WildcardFoil] +Base=Common:fromSheet("TLA cards") +Replace=0.367F Uncommon:fromSheet("TLA cards") +Replace=0.067F Rare:fromSheet("TLA cards") +Replace=0.012F Mythic:fromSheet("TLA cards") +Replace=0.008F Uncommon:fromSheet("TLA scene cards") +Replace=.006F Rare:fromSheet("TLA scene cards") +Replace=.004F Mythic:fromSheet("TLA scene cards") +Replace=.006F Rare:fromSheet("TLA field notes") +Replace=.004F Mythic:fromSheet("TLA field notes") +Replace=.001F Rare:fromSheet("TLA battle pose") +Replace=.0005F Mythic:fromSheet("TLA battle pose") +Replace=.001F Rare:fromSheet("TLA elemental frame") +Replace=.0005F Mythic:fromSheet("TLA elemental frame") +Replace=.0005F Mythic:fromSheet("TLA borderless dfc saga") + +[Land] +Base=fromSheet("TLA allied lands") +Replace=0.20F BasicLand:fromSheet("TLA default basic") +Replace=0.10F BasicLand:fromSheet("TLA Avatar journey basic") +Replace=0.10F BasicLand:fromSheet("TLA Appa basic") +Replace=0.10F fromSheet("TLA allied lands")+ +Replace=0.05F BasicLand:fromSheet("TLA default basic")+ +Replace=0.025F BasicLand:fromSheet("TLA Avatar journey basic")+ +Replace=0.025F BasicLand:fromSheet("TLA Appa basic")+ [cards] 1 C Aang's Journey @Kotakan @@ -292,6 +363,8 @@ ScryfallCode=TLA 284 L Swamp @Matteo Bassini 285 L Mountain @Salvatorre Zee Yazzie 286 L Forest @Maojin Lee + +[full art] 287 L Plains @Salvatorre Zee Yazzie 288 L Island @Grady Frederick 289 L Swamp @John Di Giovanni @@ -302,6 +375,8 @@ ScryfallCode=TLA 294 L Swamp @Robin Olausson 295 L Mountain @Maojin Lee 296 L Forest @Slawek Fedorczuk + +scene cards] 297 M Fated Firepower @Claudiu-Antoniu Magherusan 298 R Aang, Swift Savior @Claudiu-Antoniu Magherusan 299 U Fire Nation Attacks @Claudiu-Antoniu Magherusan @@ -321,6 +396,8 @@ ScryfallCode=TLA 313 R Fire Lord Azula @Dominik Mayer 314 R The Last Agni Kai @Dominik Mayer 315 R Fire Lord Zuko @Dominik Mayer + +[borderless] 316 M Appa, Steadfast Guardian @Ilse Gort 317 R Momo, Friendly Flier @Filip Burburan 318 R Tiger-Seal @Andrea Piparo @@ -401,6 +478,92 @@ ScryfallCode=TLA 393 R Firebending Student @Airi Yoshihisa 394 R Momo, Friendly Flier @Ryota Murayama +[field notes] +1 Appa, Steadfast Guardian|TLA|[316] +1 Momo, Friendly Flier|TLA|[317] +1 Tiger-Seal|TLA|[318] +1 The Unagi of Kyoshi Island|TLA|[319] +1 Wan Shi Tong, Librarian|TLA|[320] +1 The Fire Nation Drill|TLA|[321] +1 Koh, the Face Stealer|TLA|[322] +1 Phoenix Fleet Airship|TLA|[323] +1 Raven Eagle|TLA|[324] +1 Ran and Shaw|TLA|[325] +1 Badgermole Cub|TLA|[326] +1 Diligent Zookeeper|TLA|[327] +1 The Lion-Turtle|TLA|[328] +1 The Walls of Ba Sing Se|TLA|[329] +1 White Lotus Tile|TLA|[330] + +[battle pose] +1 Aang, Swift Savior|TLA|[359] +1 Fire Lord Zuko|TLA|[360] +1 Katara, the Fearless|TLA|[361] +1 Toph, the First Metalbender|TLA|[362] +1 United Front|TLA|[331] +1 Sozin's Comet|TLA|[332] +1 Avatar Destiny|TLA|[333] +1 Fire Lord Azula|TLA|[334] +1 Ozai, the Phoenix King|TLA|[335] + +[elemental frame] +1 Aang's Iceberg|TLA|[336] +1 Fated Firepower|TLA|[337] +1 Yue, the Moon Spirit|TLA|[338] +1 Foggy Swamp Visions|TLA|[339] +1 Obsessive Pursuit|TLA|[340] +1 Firebending Student|TLA|[342] +1 Redirect Lightning|TLA|[343] +1 The Earth King|TLA|[344] +1 Great Divide Guide|TLA|[345] +1 Aang, at the Crossroads|TLA|[346] +1 Bumi, Unleashed|TLA|[348] +1 Iroh, Grand Lotus|TLA|[349] +1 Katara, the Fearless|TLA|[350] +1 Katara, Water Tribe's Hope|TLA|[351] +1 Sokka, Tenacious Tactician|TLA|[352] +1 Toph, the First Metalbender|TLA|[353] + +[borderless dfc saga] +1 The Legend of Yangchen|TLA|[354] +1 The Legend of Kuruk|TLA|[355] +1 The Rise of Sozin|TLA|[356] +1 The Legend of Roku|TLA|[357] +1 The Legend of Kyoshi|TLA|[358] + +[allied lands] +1 Airship Engine Room|TLA|[265] +1 Boiling Rock Prison|TLA|[267] +1 Foggy Bottom Swamp|TLA|[269] +1 Kyoshi Village|TLA|[271] +1 Meditation Pools|TLA|[272] +1 Misty Palms Oasis|TLA|[273] +1 North Pole Gates|TLA|[274] +1 Omashu City|TLA|[275] +1 Serpent's Pass|TLA|[279] +1 Sun-Blessed Peak|TLA|[280] + +[default basic] +1 Plains|TLA|[282] +1 Island|TLA|[283] +1 Swamp|TLA|[284] +1 Mountain|TLA|[285] +1 Forest|TLA|[286] + +[Appa basic] +1 Plains|TLA|[287] +1 Island|TLA|[288] +1 Swamp|TLA|[289] +1 Mountain|TLA|[290] +1 Forest|TLA|[291] + +[Avatar journey basic] +1 Plains|TLA|[292] +1 Island|TLA|[293] +1 Swamp|TLA|[294] +1 Mountain|TLA|[295] +1 Forest|TLA|[296] + [tokens] 3 c_1_1_spirit_spiritshadow @Valera Lutfullina 4 w_1_1_ally @Rose Benjamin diff --git a/forge-gui/tools/RankingScraper.py b/forge-gui/tools/RankingScraper.py index 06570937901..fece321b46f 100644 --- a/forge-gui/tools/RankingScraper.py +++ b/forge-gui/tools/RankingScraper.py @@ -2,8 +2,26 @@ import argparse import json import requests +def manualRankings(edition='TLA'): + with open(edition + '.json', 'r') as f: + cardlist = json.load(f) + # remove duplicates + unique_cards = dict() + for card in cardlist: + if card['name'] not in unique_cards: + unique_cards[card['name']] = card -def draftsimRankings(edition='SPM', extra=None): + cardlist = list(unique_cards.values()) + cardlist.sort(key=lambda k:k['myrating'], reverse=True) + with open("../res/draft/rankings/" + edition.lower() + '.rnk', 'w') as out: + out.write('//Rank|Name|Rarity|Set\n') + for counter, card in enumerate(cardlist): + l = [str(counter+1), card['name'].replace('_', ' '), card['rarity'], edition] + out.write('#') + out.write('|'.join(l)) + out.write('\n') + +def draftsimRankings(edition='TLA', extra=None): edition = edition.upper() url1 = 'https://draftsim.com/generated/%s/' % (edition) url2 = '%s' % edition @@ -76,11 +94,14 @@ def idToNameLoops(name, code=None): if __name__ == "__main__": - parser = argparse.ArgumentParser(description='Edition File Generator') + parser = argparse.ArgumentParser(description='Edition File Generator') - parser.add_argument('-c', action='store', dest='setcode', help='Required setcode', required=True) - parser.add_argument('-x', action='store', dest='altpage', help='Additional rankings page', required=False) - - result = parser.parse_args() - - draftsimRankings(result.setcode, result.altpage) + parser.add_argument('-c', action='store', dest='setcode', help='Required setcode', required=True) + parser.add_argument('-x', action='store', dest='altpage', help='Additional rankings page', required=False) + parser.add_argument('-m', action='store_true', dest='manual', help='Additional rankings page', required=False) + result = parser.parse_args() + manual = result.manual is not None + if manual: + manualRankings(result.setcode) + else: + draftsimRankings(result.setcode, result.altpage)