Added PLG21 set, improved Android downloader, fixed Nicol Bolas, God-Pharaoh (issue #1063 by @DoidArthas)
This commit is contained in:
@@ -2997,7 +2997,7 @@ public class ImgDownloader {
|
|||||||
|| scryset.equals("AKR") || scryset.equals("ANB") || scryset.equals("PLIST") || scryset.equals("KLR") || scryset.equals("CC1")
|
|| scryset.equals("AKR") || scryset.equals("ANB") || scryset.equals("PLIST") || scryset.equals("KLR") || scryset.equals("CC1")
|
||||||
|| scryset.equals("ATH") || scryset.equals("HA4") || scryset.equals("TSR") || scryset.equals("HA5") || scryset.equals("H1R")
|
|| scryset.equals("ATH") || scryset.equals("HA4") || scryset.equals("TSR") || scryset.equals("HA5") || scryset.equals("H1R")
|
||||||
|| scryset.equals("HTR18") || scryset.equals("HTR19") || scryset.equals("DKM") || scryset.equals("S00") || scryset.equals("XLN")
|
|| scryset.equals("HTR18") || scryset.equals("HTR19") || scryset.equals("DKM") || scryset.equals("S00") || scryset.equals("XLN")
|
||||||
|| scryset.equals("SOI") || scryset.equals("UST")){
|
|| scryset.equals("SOI") || scryset.equals("UST") || scryset.equals("PLG21")){
|
||||||
try {
|
try {
|
||||||
doc = Jsoup.connect(imageurl + scryset.toLowerCase()).get();
|
doc = Jsoup.connect(imageurl + scryset.toLowerCase()).get();
|
||||||
Elements outlinks = doc.select("body a");
|
Elements outlinks = doc.select("body a");
|
||||||
@@ -3190,7 +3190,7 @@ public class ImgDownloader {
|
|||||||
&& !scryset.equals("AKR") && !scryset.equals("ANB") && !scryset.equals("PLIST") && !scryset.equals("KLR") && !scryset.equals("CC1")
|
&& !scryset.equals("AKR") && !scryset.equals("ANB") && !scryset.equals("PLIST") && !scryset.equals("KLR") && !scryset.equals("CC1")
|
||||||
&& !scryset.equals("ATH") && !scryset.equals("HA4") && !scryset.equals("TSR") && !scryset.equals("HA5") && !scryset.equals("H1R")
|
&& !scryset.equals("ATH") && !scryset.equals("HA4") && !scryset.equals("TSR") && !scryset.equals("HA5") && !scryset.equals("H1R")
|
||||||
&& !scryset.equals("HTR18") && !scryset.equals("HTR19") && !scryset.equals("DKM") && !scryset.equals("S00") && !scryset.equals("XLN")
|
&& !scryset.equals("HTR18") && !scryset.equals("HTR19") && !scryset.equals("DKM") && !scryset.equals("S00") && !scryset.equals("XLN")
|
||||||
&& !scryset.equals("SOI") && !scryset.equals("UST")){
|
&& !scryset.equals("SOI") && !scryset.equals("UST") && !scryset.equals("PLG21")){
|
||||||
try {
|
try {
|
||||||
doc = Jsoup.connect(imageurl + scryset.toLowerCase()).get();
|
doc = Jsoup.connect(imageurl + scryset.toLowerCase()).get();
|
||||||
Elements outlinks = doc.select("body a");
|
Elements outlinks = doc.select("body a");
|
||||||
@@ -3307,7 +3307,7 @@ public class ImgDownloader {
|
|||||||
&& !scryset.equals("AKR") && !scryset.equals("ANB") && !scryset.equals("PLIST") && !scryset.equals("KLR") && !scryset.equals("CC1")
|
&& !scryset.equals("AKR") && !scryset.equals("ANB") && !scryset.equals("PLIST") && !scryset.equals("KLR") && !scryset.equals("CC1")
|
||||||
&& !scryset.equals("ATH") && !scryset.equals("HA4") && !scryset.equals("TSR") && !scryset.equals("HA5") && !scryset.equals("H1R")
|
&& !scryset.equals("ATH") && !scryset.equals("HA4") && !scryset.equals("TSR") && !scryset.equals("HA5") && !scryset.equals("H1R")
|
||||||
&& !scryset.equals("HTR18") && !scryset.equals("HTR19") && !scryset.equals("DKM") && !scryset.equals("S00") && !scryset.equals("XLN")
|
&& !scryset.equals("HTR18") && !scryset.equals("HTR19") && !scryset.equals("DKM") && !scryset.equals("S00") && !scryset.equals("XLN")
|
||||||
&& !scryset.equals("SOI") && !scryset.equals("UST")){
|
&& !scryset.equals("SOI") && !scryset.equals("UST") && !scryset.equals("PLG21")){
|
||||||
try {
|
try {
|
||||||
doc = Jsoup.connect(imageurl + scryset.toLowerCase()).get();
|
doc = Jsoup.connect(imageurl + scryset.toLowerCase()).get();
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
@@ -3476,7 +3476,7 @@ public class ImgDownloader {
|
|||||||
|| scryset.equals("ANB") || scryset.equals("PLIST") || scryset.equals("KLR") || scryset.equals("CC1") || scryset.equals("ATH")
|
|| scryset.equals("ANB") || scryset.equals("PLIST") || scryset.equals("KLR") || scryset.equals("CC1") || scryset.equals("ATH")
|
||||||
|| scryset.equals("HA4") || scryset.equals("TSR") || scryset.equals("HA5") || scryset.equals("H1R") || scryset.equals("HTR18")
|
|| scryset.equals("HA4") || scryset.equals("TSR") || scryset.equals("HA5") || scryset.equals("H1R") || scryset.equals("HTR18")
|
||||||
|| scryset.equals("HTR19") || scryset.equals("DKM") || scryset.equals("S00") || scryset.equals("XLN") || scryset.equals("SOI")
|
|| scryset.equals("HTR19") || scryset.equals("DKM") || scryset.equals("S00") || scryset.equals("XLN") || scryset.equals("SOI")
|
||||||
|| scryset.equals("UST")){
|
|| scryset.equals("UST") || scryset.equals("PLG21")){
|
||||||
Elements metadata = doc.select("head meta");
|
Elements metadata = doc.select("head meta");
|
||||||
if(metadata != null) {
|
if(metadata != null) {
|
||||||
for (int j = 0; j < metadata.size(); j++){
|
for (int j = 0; j < metadata.size(); j++){
|
||||||
|
|||||||
@@ -0,0 +1,37 @@
|
|||||||
|
[meta]
|
||||||
|
author=Wagic Team
|
||||||
|
name=Love Your LGS 2021
|
||||||
|
orderindex=PRO-ZF.PLG21
|
||||||
|
year=2021-06-22
|
||||||
|
total=6
|
||||||
|
[/meta]
|
||||||
|
[card]
|
||||||
|
primitive=Aven Mindcensor
|
||||||
|
id=296421
|
||||||
|
rarity=R
|
||||||
|
[/card]
|
||||||
|
[card]
|
||||||
|
primitive=Orb of Dragonkind
|
||||||
|
id=296422
|
||||||
|
rarity=R
|
||||||
|
[/card]
|
||||||
|
[card]
|
||||||
|
primitive=Dig Through Time
|
||||||
|
id=296423
|
||||||
|
rarity=R
|
||||||
|
[/card]
|
||||||
|
[card]
|
||||||
|
primitive=Bolas's Citadel
|
||||||
|
id=296424
|
||||||
|
rarity=R
|
||||||
|
[/card]
|
||||||
|
[card]
|
||||||
|
primitive=Goblin Guide
|
||||||
|
id=296425
|
||||||
|
rarity=R
|
||||||
|
[/card]
|
||||||
|
[card]
|
||||||
|
primitive=Scavenging Ooze
|
||||||
|
id=296426
|
||||||
|
rarity=R
|
||||||
|
[/card]
|
||||||
@@ -3872,6 +3872,16 @@ power=3
|
|||||||
toughness=1
|
toughness=1
|
||||||
[/card]
|
[/card]
|
||||||
[card]
|
[card]
|
||||||
|
name=Aven Mindcensor
|
||||||
|
abilities=flash,flying
|
||||||
|
text=Flash (You may cast this spell any time you could cast an instant.) -- Flying -- If an opponent would search a library, that player searches the top four cards of that library instead.
|
||||||
|
mana={2}{W}
|
||||||
|
type=Creature
|
||||||
|
subtype=Bird Wizard
|
||||||
|
power=2
|
||||||
|
toughness=1
|
||||||
|
[/card]
|
||||||
|
[card]
|
||||||
name=Aven Reedstalker
|
name=Aven Reedstalker
|
||||||
abilities=flash, flying
|
abilities=flash, flying
|
||||||
text=Flash -- Flying
|
text=Flash -- Flying
|
||||||
@@ -58181,7 +58191,7 @@ type=Instant
|
|||||||
[/card]
|
[/card]
|
||||||
[card]
|
[card]
|
||||||
name=Soul Shatter
|
name=Soul Shatter
|
||||||
auto=ability$!name(Sacrifice a creature or planeswalker) sacrifice notatarget(*[creature;planeswalker;manacost=convertedcost:highest:*:myBattlefield])!$ opponent
|
auto=ability$!name(Sacrifice a creature or planeswalker) name(Sacrifice a creature or planeswalker) sacrifice notatarget(*[creature;planeswalker;manacost=convertedcost:highest:*:myBattlefield]|myBattlefield)!$ opponent
|
||||||
text=Each opponent sacrifices a creature or planeswalker with the highest converted mana cost among creatures and planeswalkers they control.
|
text=Each opponent sacrifices a creature or planeswalker with the highest converted mana cost among creatures and planeswalkers they control.
|
||||||
mana={2}{B}
|
mana={2}{B}
|
||||||
type=Instant
|
type=Instant
|
||||||
|
|||||||
@@ -1928,11 +1928,12 @@ subtype=Bolas
|
|||||||
[card]
|
[card]
|
||||||
name=Nicol Bolas, God-Pharaoh
|
name=Nicol Bolas, God-Pharaoh
|
||||||
auto=counter(0/0,7,loyalty)
|
auto=counter(0/0,7,loyalty)
|
||||||
auto={C(0/0,2,Loyalty)}:name(+2: Exile cards from top and may cast it) moverandom(*[-land]) from(opponentlibrary) to(myhand) && altercost(colorless,blue,green,red,black,white,-15)
|
aicode=activate transforms((,newability[all(*[zpos=oppofindfirsttypenonland]|opponentlibrary) moveto(myexile) and!( transforms((,newability[zerocast],newability[canplayfromexile],newability[phaseaction[my endofturn once checkex] moveto(ownerExile)],newability[all(*[zpos<=oppofindfirsttypenonland]|opponentlibrary) moveto(ownerExile)])) ueot )!])) oneshot
|
||||||
auto={C(0/0,1,Loyalty)}:name(+1: Opponent exiles two cards from hand) ability$!moveto(exile) target(<2>*|myhand)!$ opponent
|
auto={C(0/0,2,Loyalty)}:name(+2: Exile cards from top and may cast it) reveal:1 revealzone(opponentlibrary) revealuntil(*[-land]|opponentlibrary) optionone name(Move to your exile for cast) target(*[-land]|reveal) moveto(myexile) and!( transforms((,newability[zerocast],newability[canplayfromexile],newability[phaseaction[my endofturn once checkex] moveto(ownerExile)])) ueot )! optiononeend optiontwo name(Exile other cards) all(*|reveal) moveto(ownerExile) oneshot optiontwoend revealend
|
||||||
auto={C(0/0,-4,Loyalty)}:name(-4: Deals 7 damage to creature or opponent) damage:7 target(creature,player)
|
auto={C(0/0,1,Loyalty)}:name(+1: Opponent exiles two cards from hand) ability$!name(Move to exile) name(Move to exile) moveto(exile) notatarget(<2>*|myhand)!$ opponent
|
||||||
auto={C(0/0,-12,Loyalty)}:name(-12: Exile all nonland permanents) moveTo(exile) all(*[-land]|opponentbattlefield)
|
auto={C(0/0,-4,Loyalty)}:name(-4: Deals 7 damage) ability$!name(Choose one) choice name(Damage opponent) damage:7 opponent _ choice name(Damage creature or planeswalker) damage:7 target(*[creature;planeswalker]|opponentbattlefield)!$ controller
|
||||||
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. -- +1: Each opponent exiles two cards from his or her hand. -- -4: Nicol Bolas, God-Pharaoh deals 7 damage to target opponent or creature an opponent controls. -- -12: Exile each nonland permanent your opponents control.
|
auto={C(0/0,-12,Loyalty)}:name(-12: Exile all non-land permanents) moveTo(exile) all(*[-land]|opponentbattlefield)
|
||||||
|
text=+2: Target opponent exiles cards from the top of their library until they exile a nonland card. Until end of turn, you may cast that card without paying its mana cost. -- +1: Each opponent exiles two cards from their hand. -- −4: Nicol Bolas, God-Pharaoh deals 7 damage to target opponent, creature an opponent controls, or planeswalker an opponent controls. -- −12: Exile each nonland permanent your opponents control.
|
||||||
mana={4}{U}{B}{R}
|
mana={4}{U}{B}{R}
|
||||||
type=Legendary Planeswalker
|
type=Legendary Planeswalker
|
||||||
subtype=Bolas
|
subtype=Bolas
|
||||||
|
|||||||
@@ -553,16 +553,6 @@ power=1
|
|||||||
toughness=1
|
toughness=1
|
||||||
[/card]
|
[/card]
|
||||||
[card]
|
[card]
|
||||||
name=Aven Mindcensor
|
|
||||||
abilities=flash
|
|
||||||
text=Flash (You may cast this spell any time you could cast an instant.) -- Flying -- If an opponent would search a library, that player searches the top four cards of that library instead.
|
|
||||||
mana={2}{W}
|
|
||||||
type=Creature
|
|
||||||
subtype=Bird Wizard
|
|
||||||
power=2
|
|
||||||
toughness=1
|
|
||||||
[/card]
|
|
||||||
[card]
|
|
||||||
name=Aven Soulgazer
|
name=Aven Soulgazer
|
||||||
abilities=flying
|
abilities=flying
|
||||||
text=Flying -- {2}{W}: Look at target face-down creature.
|
text=Flying -- {2}{W}: Look at target face-down creature.
|
||||||
|
|||||||
Reference in New Issue
Block a user