1
Fork 0
mirror of https://github.com/Steffo99/patched-porobot.git synced 2024-10-16 09:37:27 +00:00

Update tests for game version 4_9_0

This commit is contained in:
Steffo 2023-10-22 22:48:15 +02:00
parent c778b5cc82
commit 9de0b24931
Signed by: steffo
GPG key ID: 2A24051445686895
12 changed files with 9601 additions and 1206 deletions

View file

@ -1,7 +1,7 @@
{
"vocabTerms": [
{
"description": "When you summon this, it gets its allegiance bonus if the top card of your deck matches its region.",
"description": "When you summon this unit, it gets its allegiance bonus if the top card of your deck matches its region.",
"name": "Allegiance",
"nameRef": "Allegiance"
},
@ -20,6 +20,11 @@
"name": "Reforge",
"nameRef": "Reforge"
},
{
"description": "Secretly transforms into another unit before entering play. They won't reveal their true identity to your opponent until they leave play or level up.",
"name": "Disguise",
"nameRef": "Disguise"
},
{
"description": "Immediately draw 1 of each Ascended ally. For the rest of the game, level 2 Ascended allies are level 3.",
"name": "Restore the Sun Disc",
@ -65,11 +70,21 @@
"name": "Round End",
"nameRef": "RoundEnd"
},
{
"description": "Units with 8+ power or health",
"name": "Titanic",
"nameRef": "Titanic"
},
{
"description": "Completely removed from the game. Doesn't cause Last Breath and can't be revived.",
"name": "Obliterate",
"nameRef": "Obliterate"
},
{
"description": "Shuffle a card into your deck and reduce its cost by 1",
"name": "Updraft",
"nameRef": "Updraft"
},
{
"description": "This is how much damage the unit can withstand. If it reaches zero, the unit dies.",
"name": "Health",
@ -135,6 +150,11 @@
"name": "Round Start",
"nameRef": "RoundStart"
},
{
"description": "A unit's spell-like effect that allows enemy reactions. It's elemental!",
"name": "Elemental Skill",
"nameRef": "ElementalSkill"
},
{
"description": "The opponent in The Path of Champions.",
"name": "Foe",
@ -185,6 +205,11 @@
"name": "Manifest",
"nameRef": "Manifest"
},
{
"description": "Can be played hidden if you have no other hidden Ambush allies. Hidden allies are 2 cost 2|2s. You may pay a hidden ally's Ambush cost to transform it into its base card.",
"name": "Ambush",
"nameRef": "Ambush"
},
{
"description": "Transform allies Equipped with Darkin Equipment into their Darkin unit forms. If they are Champions, they Level Up.",
"name": "Assimilate",
@ -252,6 +277,11 @@
"name": "Fleeting",
"nameRef": "Fleeting"
},
{
"description": "A unit's spell-like effect that allows enemy reactions. It's elemental!",
"name": "Elemental Skill",
"nameRef": "ElementalSkill"
},
{
"description": "Missing Translation",
"name": "Missing Translation",
@ -423,7 +453,7 @@
"nameRef": "Skill"
},
{
"description": "A card triggers its plunder ability when played if you damaged the enemy Nexus this round.",
"description": "A card activates its plunder ability when played if you damaged the enemy Nexus this round.",
"name": "Plunder",
"nameRef": "Plunder"
},
@ -576,115 +606,127 @@
"regions": [
{
"abbreviation": "NX",
"iconAbsolutePath": "http://dd.b.pvp.net/4_3_0/core/en_us/img/regions/icon-noxus.png",
"iconAbsolutePath": "http://dd.b.pvp.net/4_10_0/core/en_us/img/regions/icon-noxus.png",
"name": "Noxus",
"nameRef": "Noxus"
},
{
"abbreviation": "RYZE",
"iconAbsolutePath": "http://dd.b.pvp.net/4_3_0/core/en_us/img/regions/icon-ryze.png",
"iconAbsolutePath": "http://dd.b.pvp.net/4_10_0/core/en_us/img/regions/icon-ryze.png",
"name": "Ryze",
"nameRef": "Ryze"
},
{
"abbreviation": "Jhin",
"iconAbsolutePath": "http://dd.b.pvp.net/4_3_0/core/en_us/img/regions/icon-jhin.png",
"iconAbsolutePath": "http://dd.b.pvp.net/4_10_0/core/en_us/img/regions/icon-jhin.png",
"name": "Jhin",
"nameRef": "Jhin"
},
{
"abbreviation": "Varus",
"iconAbsolutePath": "http://dd.b.pvp.net/4_3_0/core/en_us/img/regions/icon-varus.png",
"iconAbsolutePath": "http://dd.b.pvp.net/4_10_0/core/en_us/img/regions/icon-varus.png",
"name": "Varus",
"nameRef": "Varus"
},
{
"abbreviation": "Aatrox",
"iconAbsolutePath": "http://dd.b.pvp.net/4_3_0/core/en_us/img/regions/icon-aatrox.png",
"iconAbsolutePath": "http://dd.b.pvp.net/4_10_0/core/en_us/img/regions/icon-aatrox.png",
"name": "Aatrox",
"nameRef": "Aatrox"
},
{
"abbreviation": "Neeko",
"iconAbsolutePath": "http://dd.b.pvp.net/4_10_0/core/en_us/img/regions/icon-neeko.png",
"name": "Neeko",
"nameRef": "Neeko"
},
{
"abbreviation": "Jax",
"iconAbsolutePath": "http://dd.b.pvp.net/4_3_0/core/en_us/img/regions/icon-jax.png",
"iconAbsolutePath": "http://dd.b.pvp.net/4_10_0/core/en_us/img/regions/icon-jax.png",
"name": "Jax",
"nameRef": "Jax"
},
{
"abbreviation": "Kayn",
"iconAbsolutePath": "http://dd.b.pvp.net/4_3_0/core/en_us/img/regions/icon-kayn.png",
"iconAbsolutePath": "http://dd.b.pvp.net/4_10_0/core/en_us/img/regions/icon-kayn.png",
"name": "Kayn",
"nameRef": "Kayn"
},
{
"abbreviation": "POROKING",
"iconAbsolutePath": "http://dd.b.pvp.net/4_10_0/core/en_us/img/regions/icon-poroking.png",
"name": "Poro King",
"nameRef": "PoroKing"
},
{
"abbreviation": "Evelynn",
"iconAbsolutePath": "http://dd.b.pvp.net/4_3_0/core/en_us/img/regions/icon-evelynn.png",
"iconAbsolutePath": "http://dd.b.pvp.net/4_10_0/core/en_us/img/regions/icon-evelynn.png",
"name": "Evelynn",
"nameRef": "Evelynn"
},
{
"abbreviation": "Bard",
"iconAbsolutePath": "http://dd.b.pvp.net/4_3_0/core/en_us/img/regions/icon-bard.png",
"iconAbsolutePath": "http://dd.b.pvp.net/4_10_0/core/en_us/img/regions/icon-bard.png",
"name": "Bard",
"nameRef": "Bard"
},
{
"abbreviation": "DE",
"iconAbsolutePath": "http://dd.b.pvp.net/4_3_0/core/en_us/img/regions/icon-demacia.png",
"iconAbsolutePath": "http://dd.b.pvp.net/4_10_0/core/en_us/img/regions/icon-demacia.png",
"name": "Demacia",
"nameRef": "Demacia"
},
{
"abbreviation": "RU",
"iconAbsolutePath": "http://dd.b.pvp.net/4_3_0/core/en_us/img/regions/icon-runeterra.png",
"iconAbsolutePath": "http://dd.b.pvp.net/4_10_0/core/en_us/img/regions/icon-runeterra.png",
"name": "Runeterra",
"nameRef": "Runeterra"
},
{
"abbreviation": "FR",
"iconAbsolutePath": "http://dd.b.pvp.net/4_3_0/core/en_us/img/regions/icon-freljord.png",
"iconAbsolutePath": "http://dd.b.pvp.net/4_10_0/core/en_us/img/regions/icon-freljord.png",
"name": "Freljord",
"nameRef": "Freljord"
},
{
"abbreviation": "SI",
"iconAbsolutePath": "http://dd.b.pvp.net/4_3_0/core/en_us/img/regions/icon-shadowisles.png",
"iconAbsolutePath": "http://dd.b.pvp.net/4_10_0/core/en_us/img/regions/icon-shadowisles.png",
"name": "Shadow Isles",
"nameRef": "ShadowIsles"
},
{
"abbreviation": "MT",
"iconAbsolutePath": "http://dd.b.pvp.net/4_3_0/core/en_us/img/regions/icon-targon.png",
"iconAbsolutePath": "http://dd.b.pvp.net/4_10_0/core/en_us/img/regions/icon-targon.png",
"name": "Targon",
"nameRef": "Targon"
},
{
"abbreviation": "IO",
"iconAbsolutePath": "http://dd.b.pvp.net/4_3_0/core/en_us/img/regions/icon-ionia.png",
"iconAbsolutePath": "http://dd.b.pvp.net/4_10_0/core/en_us/img/regions/icon-ionia.png",
"name": "Ionia",
"nameRef": "Ionia"
},
{
"abbreviation": "SH",
"iconAbsolutePath": "http://dd.b.pvp.net/4_3_0/core/en_us/img/regions/icon-shurima.png",
"iconAbsolutePath": "http://dd.b.pvp.net/4_10_0/core/en_us/img/regions/icon-shurima.png",
"name": "Shurima",
"nameRef": "Shurima"
},
{
"abbreviation": "BW",
"iconAbsolutePath": "http://dd.b.pvp.net/4_3_0/core/en_us/img/regions/icon-bilgewater.png",
"iconAbsolutePath": "http://dd.b.pvp.net/4_10_0/core/en_us/img/regions/icon-bilgewater.png",
"name": "Bilgewater",
"nameRef": "Bilgewater"
},
{
"abbreviation": "PZ",
"iconAbsolutePath": "http://dd.b.pvp.net/4_3_0/core/en_us/img/regions/icon-piltoverzaun.png",
"iconAbsolutePath": "http://dd.b.pvp.net/4_10_0/core/en_us/img/regions/icon-piltoverzaun.png",
"name": "Piltover & Zaun",
"nameRef": "PiltoverZaun"
},
{
"abbreviation": "BC",
"iconAbsolutePath": "http://dd.b.pvp.net/4_3_0/core/en_us/img/regions/icon-bandlecity.png",
"iconAbsolutePath": "http://dd.b.pvp.net/4_10_0/core/en_us/img/regions/icon-bandlecity.png",
"name": "Bandle City",
"nameRef": "BandleCity"
}
@ -727,54 +769,64 @@
],
"sets": [
{
"iconAbsolutePath": "http://dd.b.pvp.net/4_3_0/core/en_us/img/sets/set3_crispmip.png",
"iconAbsolutePath": "http://dd.b.pvp.net/4_10_0/core/en_us/img/sets/set3_crispmip.png",
"name": "Call of the Mountain",
"nameRef": "Set3"
},
{
"iconAbsolutePath": "http://dd.b.pvp.net/4_3_0/core/en_us/img/sets/set5_crispmip.png",
"iconAbsolutePath": "http://dd.b.pvp.net/4_10_0/core/en_us/img/sets/set5_crispmip.png",
"name": "Beyond the Bandlewood",
"nameRef": "Set5"
},
{
"iconAbsolutePath": "http://dd.b.pvp.net/4_3_0/core/en_us/img/sets/set1_crispmip.png",
"iconAbsolutePath": "http://dd.b.pvp.net/4_10_0/core/en_us/img/sets/set1_crispmip.png",
"name": "Foundations",
"nameRef": "Set1"
},
{
"iconAbsolutePath": "http://dd.b.pvp.net/4_3_0/core/en_us/img/sets/set2_crispmip.png",
"iconAbsolutePath": "http://dd.b.pvp.net/4_10_0/core/en_us/img/sets/set2_crispmip.png",
"name": "Rising Tides",
"nameRef": "Set2"
},
{
"iconAbsolutePath": "http://dd.b.pvp.net/4_3_0/core/en_us/img/sets/set6ab_crispmip.png",
"iconAbsolutePath": "http://dd.b.pvp.net/4_10_0/core/en_us/img/sets/set6ab_crispmip.png",
"name": "Worldwalker",
"nameRef": "Set6"
},
{
"iconAbsolutePath": "http://dd.b.pvp.net/4_3_0/core/en_us/img/sets/set4_crispmip.png",
"iconAbsolutePath": "http://dd.b.pvp.net/4_10_0/core/en_us/img/sets/set4_crispmip.png",
"name": "Empires of the Ascended",
"nameRef": "Set4"
},
{
"iconAbsolutePath": "http://dd.b.pvp.net/4_3_0/core/en_us/img/sets/set7_crispmip.png",
"iconAbsolutePath": "http://dd.b.pvp.net/4_10_0/core/en_us/img/sets/set7_crispmip.png",
"name": "Glory in Navori",
"nameRef": "Set7"
},
{
"iconAbsolutePath": "http://dd.b.pvp.net/4_3_0/core/en_us/img/sets/setevent_crispmip.png",
"iconAbsolutePath": "http://dd.b.pvp.net/4_10_0/core/en_us/img/sets/set8_crispmip.png",
"name": "Fate's Voyage",
"nameRef": "Set8"
},
{
"iconAbsolutePath": "http://dd.b.pvp.net/4_10_0/core/en_us/img/sets/set7b_crispmip.png",
"name": "Heart of the Huntress",
"nameRef": "Set7b"
},
{
"iconAbsolutePath": "http://dd.b.pvp.net/4_10_0/core/en_us/img/sets/setevent_crispmip.png",
"name": "Events",
"nameRef": "SetEvent"
},
{
"iconAbsolutePath": "http://dd.b.pvp.net/4_3_0/core/en_us/img/sets/set6cde_crispmip.png",
"iconAbsolutePath": "http://dd.b.pvp.net/4_10_0/core/en_us/img/sets/set6cde_crispmip.png",
"name": "The Darkin Saga",
"nameRef": "Set6cde"
}
],
"formats": [
{
"iconAbsolutePath": "http://dd.b.pvp.net/4_3_0/core/en_us/img/formats/queue_select_standard_toggle_active.png",
"iconAbsolutePath": "http://dd.b.pvp.net/4_10_0/core/en_us/img/formats/queue_select_standard_toggle_active.png",
"name": "Standard",
"nameRef": "client_Formats_Standard_name"
},
@ -784,7 +836,7 @@
"nameRef": "client_Deckbuilder_RulesFilters_Singleton"
},
{
"iconAbsolutePath": "http://dd.b.pvp.net/4_3_0/core/en_us/img/formats/queue_select_eternal_toggle_active.png",
"iconAbsolutePath": "http://dd.b.pvp.net/4_10_0/core/en_us/img/formats/queue_select_eternal_toggle_active.png",
"name": "Eternal",
"nameRef": "client_Formats_Eternal_name"
},
@ -798,5 +850,27 @@
"name": "Even Cost Cards",
"nameRef": "client_Formats_EvenCostCards_name"
}
],
"adventureRarities": [
{
"name": "COMMON",
"nameRef": "Common"
},
{
"name": "RARE",
"nameRef": "Rare"
},
{
"name": "EPIC",
"nameRef": "Epic"
},
{
"name": "LEGENDARY",
"nameRef": "Legendary"
},
{
"name": "SPECIAL",
"nameRef": "Special"
}
]
}

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1 @@
Copyright Riot Games, Inc. 2019

View file

@ -0,0 +1,40 @@
metadata.json
{
"locales": ["{string}", ...],
"clientHash": "{string}"
"gameplayDataHash": "{string}",
"timestamp": "{YYYYMMDDhhmm}",
"patchlineRef": "{string}"
}
cards.json
[
{
"id": "{cardCode}",
"idComponents":
{
"set": "setNumber",
"region":
{
"id": "{shortRegionCode}",
"name": "{regionName}"
}
}
"name": "{name}",
"type": "{type}",
"subType": "{subType}",
"superType": "{superType}",
"description": "{description}",
"keywords": [],
"associatedCards": [{cardCode}, ...]
"health": "{health}",
"attack": "{attack}",
"cost": "{cost}",
"assets":
{
"gameAbsolutePath": "http://{cdn}/{bundleName}/set1/en_us/img/card/game/{cardCode}.png"
}
},
{...}
]

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,5 @@
{
"locales": [
"en_us"
]
}

View file

@ -0,0 +1 @@
Copyright Riot Games, Inc. 2019

40
data/set8-en_us/README.md Normal file
View file

@ -0,0 +1,40 @@
metadata.json
{
"locales": ["{string}", ...],
"clientHash": "{string}"
"gameplayDataHash": "{string}",
"timestamp": "{YYYYMMDDhhmm}",
"patchlineRef": "{string}"
}
cards.json
[
{
"id": "{cardCode}",
"idComponents":
{
"set": "setNumber",
"region":
{
"id": "{shortRegionCode}",
"name": "{regionName}"
}
}
"name": "{name}",
"type": "{type}",
"subType": "{subType}",
"superType": "{superType}",
"description": "{description}",
"keywords": [],
"associatedCards": [{cardCode}, ...]
"health": "{health}",
"attack": "{attack}",
"cost": "{cost}",
"assets":
{
"gameAbsolutePath": "http://{cdn}/{bundleName}/set1/en_us/img/card/game/{cardCode}.png"
}
},
{...}
]

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,5 @@
{
"locales": [
"en_us"
]
}

View file

@ -112,7 +112,7 @@ mod tests {
};
}
test_fetch!(test_fetch_4_5_0_en_us, "4_5_0", "en_us");
test_fetch!(test_fetch_4_5_0_it_it, "4_5_0", "it_it");
test_fetch!(test_fetch_4_9_0_en_us, "4_9_0", "en_us");
test_fetch!(test_fetch_4_9_0_it_it, "4_9_0", "it_it");
test_fetch!(test_fetch_latest_en_us, "latest", "en_us");
}

View file

@ -96,25 +96,27 @@ mod tests {
};
}
test_fetch!(test_fetch_4_5_0_en_us_set1, "4_5_0", "en_us", "set1");
test_fetch!(test_fetch_4_5_0_en_us_set2, "4_5_0", "en_us", "set2");
test_fetch!(test_fetch_4_5_0_en_us_set3, "4_5_0", "en_us", "set3");
test_fetch!(test_fetch_4_5_0_en_us_set4, "4_5_0", "en_us", "set4");
test_fetch!(test_fetch_4_5_0_en_us_set5, "4_5_0", "en_us", "set5");
test_fetch!(test_fetch_4_5_0_en_us_set6, "4_5_0", "en_us", "set6");
test_fetch!(test_fetch_4_5_0_en_us_set6cde, "4_5_0", "en_us", "set6cde");
test_fetch!(test_fetch_4_5_0_en_us_set7, "4_5_0", "en_us", "set7");
// test_fetch!(test_fetch_4_5_0_en_us_set7b, "4_5_0", "en_us", "set7b"); // TODO: Unignore me when set releases
test_fetch!(test_fetch_4_9_0_en_us_set1, "4_9_0", "en_us", "set1");
test_fetch!(test_fetch_4_9_0_en_us_set2, "4_9_0", "en_us", "set2");
test_fetch!(test_fetch_4_9_0_en_us_set3, "4_9_0", "en_us", "set3");
test_fetch!(test_fetch_4_9_0_en_us_set4, "4_9_0", "en_us", "set4");
test_fetch!(test_fetch_4_9_0_en_us_set5, "4_9_0", "en_us", "set5");
test_fetch!(test_fetch_4_9_0_en_us_set6, "4_9_0", "en_us", "set6");
test_fetch!(test_fetch_4_9_0_en_us_set6cde, "4_9_0", "en_us", "set6cde");
test_fetch!(test_fetch_4_9_0_en_us_set7, "4_9_0", "en_us", "set7");
test_fetch!(test_fetch_4_9_0_en_us_set7b, "4_9_0", "en_us", "set7b");
test_fetch!(test_fetch_4_9_0_en_us_set8, "4_9_0", "en_us", "set8");
test_fetch!(test_fetch_4_5_0_it_it_set1, "4_5_0", "it_it", "set1");
test_fetch!(test_fetch_4_5_0_it_it_set2, "4_5_0", "it_it", "set2");
test_fetch!(test_fetch_4_5_0_it_it_set3, "4_5_0", "it_it", "set3");
test_fetch!(test_fetch_4_5_0_it_it_set4, "4_5_0", "it_it", "set4");
test_fetch!(test_fetch_4_5_0_it_it_set5, "4_5_0", "it_it", "set5");
test_fetch!(test_fetch_4_5_0_it_it_set6, "4_5_0", "it_it", "set6");
test_fetch!(test_fetch_4_5_0_it_it_set6cde, "4_5_0", "it_it", "set6cde");
test_fetch!(test_fetch_4_5_0_it_it_set7, "4_5_0", "it_it", "set7");
// test_fetch!(test_fetch_4_5_0_it_it_set7b, "4_5_0", "it_it", "set7b"); // TODO: Unignore me when set releases
test_fetch!(test_fetch_4_9_0_it_it_set1, "4_9_0", "it_it", "set1");
test_fetch!(test_fetch_4_9_0_it_it_set2, "4_9_0", "it_it", "set2");
test_fetch!(test_fetch_4_9_0_it_it_set3, "4_9_0", "it_it", "set3");
test_fetch!(test_fetch_4_9_0_it_it_set4, "4_9_0", "it_it", "set4");
test_fetch!(test_fetch_4_9_0_it_it_set5, "4_9_0", "it_it", "set5");
test_fetch!(test_fetch_4_9_0_it_it_set6, "4_9_0", "it_it", "set6");
test_fetch!(test_fetch_4_9_0_it_it_set6cde, "4_9_0", "it_it", "set6cde");
test_fetch!(test_fetch_4_9_0_it_it_set7, "4_9_0", "it_it", "set7");
test_fetch!(test_fetch_4_9_0_it_it_set7b, "4_9_0", "it_it", "set7b");
test_fetch!(test_fetch_4_9_0_it_it_set8, "4_9_0", "it_it", "set8");
test_fetch!(test_fetch_latest_en_us_set1, "latest", "en_us", "set1");
test_fetch!(test_fetch_latest_en_us_set2, "latest", "en_us", "set2");
@ -125,6 +127,7 @@ mod tests {
test_fetch!(test_fetch_latest_en_us_set6cde, "latest", "en_us", "set6cde");
test_fetch!(test_fetch_latest_en_us_set7, "latest", "en_us", "set7");
test_fetch!(test_fetch_latest_en_us_set7b, "latest", "en_us", "set7b");
test_fetch!(test_fetch_latest_en_us_set8, "latest", "en_us", "set8");
}