Improved Android donwloader, updated Android manifest to fix release version, updated AI commander deck, added LTR and LTC sets, updated cards image url list, updated missing cards by sets list.

This commit is contained in:
Vittorio Alfieri
2023-06-25 20:51:01 +02:00
parent 9a23c4b83b
commit 197686962c
8 changed files with 6135 additions and 15 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?> <?xml version="1.0" encoding="utf-8" standalone="no"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
android:versionCode="0231" android:versionCode="0240"
android:installLocation="preferExternal" android:installLocation="preferExternal"
android:versionName="@string/app_version" android:versionName="@string/app_version"
package="net.wagic.app"> package="net.wagic.app">
@@ -4093,7 +4093,7 @@ public class ImgDownloader {
if(card != null && hasToken(id)) { if(card != null && hasToken(id)) {
String text = (String) card.get("oracle_text"); String text = (String) card.get("oracle_text");
String nametoken = findTokenName(card, id, "Copy"); String nametoken = findTokenName(card, id, "Copy");
if (!nametoken.isEmpty() || (text != null && !text.isEmpty() && !text.trim().toLowerCase().contains("nontoken") && ((text.trim().toLowerCase().contains("investigate")) || (text.trim().toLowerCase().contains("create") && text.trim().toLowerCase().contains("creature token")) || (text.trim().toLowerCase().contains("put") && text.trim().toLowerCase().contains("token"))))) { if (!nametoken.isEmpty() || (text != null && !text.isEmpty() && !text.trim().toLowerCase().contains("nontoken") && ((text.trim().toLowerCase().contains("investigate")) || (text.trim().toLowerCase().contains("create") && text.trim().toLowerCase().contains("token")) || (text.trim().toLowerCase().contains("put") && text.trim().toLowerCase().contains("token"))))) {
System.out.println("The card: " + mappa.get(id) + " (" + id + ".jpg) can create a token, i will try to download that image too as " + id + "t.jpg"); System.out.println("The card: " + mappa.get(id) + " (" + id + ".jpg) can create a token, i will try to download that image too as " + id + "t.jpg");
String specialtokenurl = findTokenImageUrl(card, id, "large", "Copy"); String specialtokenurl = findTokenImageUrl(card, id, "large", "Copy");
if (!specialtokenurl.isEmpty()) { if (!specialtokenurl.isEmpty()) {
File diff suppressed because it is too large Load Diff
+15 -12
View File
@@ -1,12 +1,13 @@
#NAME:Tatyova Commander #NAME:Tatyova Commander 2023
#DESC:The Tatiyova Commander Deck #DESC:The Tatyova Commander Deck
#DESC:Refined for Wagic by Bob
#HINT:castpriority(commander,*) #HINT:castpriority(commander,*)
Mana Crypt (VMA) *1 #HINT:combo hold(Finale of Devastation|myhand)^cast(Finale of Devastation|myhand) targeting(Worldspine Wurm|mylibrary)~totalmananeeded({11}{G}{G})
#HINT:combo hold(Genesis Wave|myhand)^cast(Genesis Wave|myhand)~totalmananeeded({5}{G}{G}{G})
Allosaurus Shepherd (JMP) *1 Allosaurus Shepherd (JMP) *1
Rimewood Falls (KHM) *1 Rimewood Falls (KHM) *1
Explore (C19) *1 Explore (C19) *1
Rampant Growth (PRM) *1 Rampant Growth (PRM) *1
Commit // Memory (MB1) *1
Echoing Truth (C19) *1 Echoing Truth (C19) *1
Mystic Sanctuary (ELD) *1 Mystic Sanctuary (ELD) *1
Ramunap Excavator (PRM) *1 Ramunap Excavator (PRM) *1
@@ -31,8 +32,6 @@ Force of Will (EMA) *1
Broken Bond (MB1) *1 Broken Bond (MB1) *1
Command Tower (C19) *1 Command Tower (C19) *1
Sylvan Scrying (MB1) *1 Sylvan Scrying (MB1) *1
Mana Vault (PUMA) *1
Jolrael, Mwonvuli Recluse (M21) *1
Solemn Simulacrum (MB1) *1 Solemn Simulacrum (MB1) *1
Simic Signet (C15) *1 Simic Signet (C15) *1
Reliquary Tower (C19) *1 Reliquary Tower (C19) *1
@@ -46,12 +45,9 @@ Koma, Cosmos Serpent (KHM) *1
Simic Growth Chamber (C19) *1 Simic Growth Chamber (C19) *1
Command Beacon (PZ1) *1 Command Beacon (PZ1) *1
Eternal Witness (PZ1) *1 Eternal Witness (PZ1) *1
Sylvan Library (PZ1) *1
Heroic Intervention (KLR) *1
Kinnan, Bonder Prodigy (IKO) *1 Kinnan, Bonder Prodigy (IKO) *1
Lotus Cobra (PRM) *1 Lotus Cobra (PRM) *1
Island (UNH) *8 Island (UNH) *8
Archmage's Charm (H1R) *1
Dryad Arbor (TSR) *1 Dryad Arbor (TSR) *1
Finale of Devastation (WAR) *1 Finale of Devastation (WAR) *1
Arcane Signet (AFC) *1 Arcane Signet (AFC) *1
@@ -65,16 +61,13 @@ Sakura-Tribe Elder (MB1) *1
Seedborn Muse (C19) *1 Seedborn Muse (C19) *1
Prophet of Kruphix (PRM) *1 Prophet of Kruphix (PRM) *1
Misty Rainforest (ZNE) *1 Misty Rainforest (ZNE) *1
Natural Order (EMA) *1
Wayfarer's Bauble (C17) *1 Wayfarer's Bauble (C17) *1
Tyrite Sanctum (KHM) *1 Tyrite Sanctum (KHM) *1
Gaea's Cradle (USG) *1 Gaea's Cradle (USG) *1
Consecrated Sphinx (MBS) *1 Consecrated Sphinx (MBS) *1
Castle Vantress (ELD) *1 Castle Vantress (ELD) *1
Mox Diamond (FVR) *1
Verdant Catacombs (MH2) *1 Verdant Catacombs (MH2) *1
Primeval Titan (TSR) *1 Primeval Titan (TSR) *1
Neoform (WAR) *1
Rampaging Baloths (C19) *1 Rampaging Baloths (C19) *1
Pongify (TSR) *1 Pongify (TSR) *1
Flooded Strand (EXP) *1 Flooded Strand (EXP) *1
@@ -84,4 +77,14 @@ Polluted Delta (ONS) *1
Birds of Paradise (PRM) *1 Birds of Paradise (PRM) *1
Courser of Kruphix (TSR) *1 Courser of Kruphix (TSR) *1
Search for Tomorrow (MB1) *1 Search for Tomorrow (MB1) *1
Worldspine Wurm *1
Decanter of Endless Water *1
Tangled Islet *1
Hinterland Harbor *1
Thran Dynamo *1
Ancient Greenwarden *1
Multani, Yavimaya's Avatar *1
Scute Swarm *1
Oran-Rief Hydra *1
Aesi, Tyrant of Gyre Strait *1
#CMD:Tatyova, Benthic Druid (DOM) *1 #CMD:Tatyova, Benthic Druid (DOM) *1
@@ -0,0 +1,37 @@
[card]
name=Harsh Mentor
text=Whenever an opponent activates an ability of an artifact, creature, or land on the battlefield, if it isn't a mana ability, Harsh Mentor deals 2 damage to that player.
mana={1}{R}
type=Creature
subtype=Human Cleric
power=2
toughness=2
[/card]
[card]
name=Rings of Brighthearth
text=Whenever you activate an ability, if it isn't a mana ability, you may pay {2}. If you do, copy that ability. You may choose new targets for the copy.
mana={3}
type=Artifact
[/card]
[card]
name=The Ozolith
text=Whenever a creature you control leaves the battlefield, if it had counters on it, put those counters on The Ozolith. -- At the beginning of combat on your turn, if The Ozolith has counters on it, you may move all counters from The Ozolith onto target creature.
mana={1}
type=Legendary Artifact
[/card]
[card]
name=Selfless Squire
abilities=flash
text=Flash -- When Selfless Squire enters the battlefield, prevent all damage that would be dealt to you this turn. -- Whenever damage that would be dealt to you is prevented, put that many +1/+1 counters on Selfless Squire.
mana={3}{W}
type=Creature
subtype=Human Soldier
power=1
toughness=1
[/card]
[card]
name=Plea for Power
text=Will of the council - Starting with you, each player votes for time or knowledge. If time gets more votes, take an extra turn after this one. If knowledge gets more votes or the vote is tied, draw three cards.
mana={3}{U}
type=Sorcery
[/card]
@@ -352,3 +352,4 @@ Myojin of Cryptic Dreams
Lithoform Engine Lithoform Engine
Reality Spasm Reality Spasm
Suffer the Past Suffer the Past
Grishnákh, Brash Instigator
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff