Skip to content

Commit 703f7c0

Browse files
committed
chore: update static data
1 parent 6e3aed0 commit 703f7c0

File tree

9 files changed

+8252
-3557
lines changed

9 files changed

+8252
-3557
lines changed

coc/static/buildings.json

Lines changed: 489 additions & 255 deletions
Large diffs are not rendered by default.

coc/static/characters.json

Lines changed: 2781 additions & 870 deletions
Large diffs are not rendered by default.

coc/static/equipment.json

Lines changed: 1904 additions & 1030 deletions
Large diffs are not rendered by default.

coc/static/heroes.json

Lines changed: 610 additions & 610 deletions
Large diffs are not rendered by default.

coc/static/pets.json

Lines changed: 383 additions & 385 deletions
Large diffs are not rendered by default.

coc/static/spells.json

Lines changed: 1195 additions & 339 deletions
Large diffs are not rendered by default.

coc/static/texts_EN.json

Lines changed: 802 additions & 28 deletions
Large diffs are not rendered by default.

coc/static/townhall_levels.json

Lines changed: 87 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -140,10 +140,10 @@
140140
"Dark Tower": [],
141141
"SantaTrap": [],
142142
"StrengthMaxTroopTypes": [
143-
6
143+
2
144144
],
145145
"StrengthMaxSpellTypes": [
146-
6
146+
1
147147
],
148148
"StrengthMaxSiegeTypes": [
149149
0
@@ -264,7 +264,10 @@
264264
],
265265
"Merged Archer Tower": [],
266266
"Merged Cannon": [],
267-
"Smithy": []
267+
"Smithy": [],
268+
"ChallengeLootPercentage": [
269+
1
270+
]
268271
},
269272
"2": {
270273
"AttackCost": [
@@ -393,10 +396,10 @@
393396
"Dark Tower": [],
394397
"SantaTrap": [],
395398
"StrengthMaxTroopTypes": [
396-
6
399+
2
397400
],
398401
"StrengthMaxSpellTypes": [
399-
6
402+
1
400403
],
401404
"StrengthMaxSiegeTypes": [
402405
0
@@ -503,7 +506,10 @@
503506
],
504507
"Merged Archer Tower": [],
505508
"Merged Cannon": [],
506-
"Smithy": []
509+
"Smithy": [],
510+
"ChallengeLootPercentage": [
511+
2
512+
]
507513
},
508514
"3": {
509515
"AttackCost": [
@@ -640,10 +646,10 @@
640646
"Dark Tower": [],
641647
"SantaTrap": [],
642648
"StrengthMaxTroopTypes": [
643-
6
649+
2
644650
],
645651
"StrengthMaxSpellTypes": [
646-
6
652+
1
647653
],
648654
"StrengthMaxSiegeTypes": [
649655
0
@@ -764,7 +770,10 @@
764770
],
765771
"Merged Archer Tower": [],
766772
"Merged Cannon": [],
767-
"Smithy": []
773+
"Smithy": [],
774+
"ChallengeLootPercentage": [
775+
3
776+
]
768777
},
769778
"4": {
770779
"AttackCost": [
@@ -895,10 +904,10 @@
895904
"Dark Tower": [],
896905
"SantaTrap": [],
897906
"StrengthMaxTroopTypes": [
898-
6
907+
3
899908
],
900909
"StrengthMaxSpellTypes": [
901-
6
910+
1
902911
],
903912
"StrengthMaxSiegeTypes": [
904913
0
@@ -1015,7 +1024,10 @@
10151024
],
10161025
"Merged Archer Tower": [],
10171026
"Merged Cannon": [],
1018-
"Smithy": []
1027+
"Smithy": [],
1028+
"ChallengeLootPercentage": [
1029+
5
1030+
]
10191031
},
10201032
"5": {
10211033
"AttackCost": [
@@ -1154,10 +1166,10 @@
11541166
"Dark Tower": [],
11551167
"SantaTrap": [],
11561168
"StrengthMaxTroopTypes": [
1157-
6
1169+
3
11581170
],
11591171
"StrengthMaxSpellTypes": [
1160-
6
1172+
1
11611173
],
11621174
"StrengthMaxSiegeTypes": [
11631175
0
@@ -1272,7 +1284,10 @@
12721284
],
12731285
"Merged Archer Tower": [],
12741286
"Merged Cannon": [],
1275-
"Smithy": []
1287+
"Smithy": [],
1288+
"ChallengeLootPercentage": [
1289+
8
1290+
]
12761291
},
12771292
"6": {
12781293
"AttackCost": [
@@ -1407,10 +1422,10 @@
14071422
"Dark Tower": [],
14081423
"SantaTrap": [],
14091424
"StrengthMaxTroopTypes": [
1410-
6
1425+
4
14111426
],
14121427
"StrengthMaxSpellTypes": [
1413-
6
1428+
1
14141429
],
14151430
"StrengthMaxSiegeTypes": [
14161431
0
@@ -1539,7 +1554,10 @@
15391554
],
15401555
"Merged Archer Tower": [],
15411556
"Merged Cannon": [],
1542-
"Smithy": []
1557+
"Smithy": [],
1558+
"ChallengeLootPercentage": [
1559+
16
1560+
]
15431561
},
15441562
"7": {
15451563
"AttackCost": [
@@ -1686,10 +1704,10 @@
16861704
"Dark Tower": [],
16871705
"SantaTrap": [],
16881706
"StrengthMaxTroopTypes": [
1689-
6
1707+
4
16901708
],
16911709
"StrengthMaxSpellTypes": [
1692-
6
1710+
2
16931711
],
16941712
"StrengthMaxSiegeTypes": [
16951713
0
@@ -1802,7 +1820,10 @@
18021820
],
18031821
"Merged Archer Tower": [],
18041822
"Merged Cannon": [],
1805-
"Smithy": []
1823+
"Smithy": [],
1824+
"ChallengeLootPercentage": [
1825+
30
1826+
]
18061827
},
18071828
"8": {
18081829
"AttackCost": [
@@ -1947,10 +1968,10 @@
19471968
"Dark Tower": [],
19481969
"SantaTrap": [],
19491970
"StrengthMaxTroopTypes": [
1950-
6
1971+
5
19511972
],
19521973
"StrengthMaxSpellTypes": [
1953-
7
1974+
2
19541975
],
19551976
"StrengthMaxSiegeTypes": [
19561977
0
@@ -2071,6 +2092,9 @@
20712092
"Merged Cannon": [],
20722093
"Smithy": [
20732094
1
2095+
],
2096+
"ChallengeLootPercentage": [
2097+
50
20742098
]
20752099
},
20762100
"9": {
@@ -2218,10 +2242,10 @@
22182242
"Dark Tower": [],
22192243
"SantaTrap": [],
22202244
"StrengthMaxTroopTypes": [
2221-
7
2245+
5
22222246
],
22232247
"StrengthMaxSpellTypes": [
2224-
7
2248+
3
22252249
],
22262250
"StrengthMaxSiegeTypes": [
22272251
0
@@ -2338,7 +2362,10 @@
23382362
],
23392363
"Merged Archer Tower": [],
23402364
"Merged Cannon": [],
2341-
"Smithy": []
2365+
"Smithy": [],
2366+
"ChallengeLootPercentage": [
2367+
65
2368+
]
23422369
},
23432370
"10": {
23442371
"AttackCost": [
@@ -2473,10 +2500,10 @@
24732500
],
24742501
"SantaTrap": [],
24752502
"StrengthMaxTroopTypes": [
2476-
8
2503+
7
24772504
],
24782505
"StrengthMaxSpellTypes": [
2479-
8
2506+
5
24802507
],
24812508
"StrengthMaxSiegeTypes": [
24822509
0
@@ -2581,7 +2608,10 @@
25812608
],
25822609
"Merged Archer Tower": [],
25832610
"Merged Cannon": [],
2584-
"Smithy": []
2611+
"Smithy": [],
2612+
"ChallengeLootPercentage": [
2613+
80
2614+
]
25852615
},
25862616
"11": {
25872617
"AttackCost": [
@@ -2713,7 +2743,7 @@
27132743
10
27142744
],
27152745
"StrengthMaxSpellTypes": [
2716-
8
2746+
7
27172747
],
27182748
"StrengthMaxSiegeTypes": [
27192749
0
@@ -2808,7 +2838,10 @@
28082838
],
28092839
"Merged Archer Tower": [],
28102840
"Merged Cannon": [],
2811-
"Smithy": []
2841+
"Smithy": [],
2842+
"ChallengeLootPercentage": [
2843+
90
2844+
]
28122845
},
28132846
"12": {
28142847
"AttackCost": [
@@ -2941,7 +2974,7 @@
29412974
],
29422975
"SantaTrap": [],
29432976
"StrengthMaxTroopTypes": [
2944-
12
2977+
11
29452978
],
29462979
"StrengthMaxSpellTypes": [
29472980
8
@@ -3035,7 +3068,10 @@
30353068
],
30363069
"Merged Archer Tower": [],
30373070
"Merged Cannon": [],
3038-
"Smithy": []
3071+
"Smithy": [],
3072+
"ChallengeLootPercentage": [
3073+
95
3074+
]
30393075
},
30403076
"13": {
30413077
"AttackCost": [
@@ -3162,7 +3198,7 @@
31623198
"Dark Tower": [],
31633199
"SantaTrap": [],
31643200
"StrengthMaxTroopTypes": [
3165-
12
3201+
11
31663202
],
31673203
"StrengthMaxSpellTypes": [
31683204
8
@@ -3258,7 +3294,10 @@
32583294
],
32593295
"Merged Archer Tower": [],
32603296
"Merged Cannon": [],
3261-
"Smithy": []
3297+
"Smithy": [],
3298+
"ChallengeLootPercentage": [
3299+
100
3300+
]
32623301
},
32633302
"14": {
32643303
"AttackCost": [
@@ -3387,7 +3426,7 @@
33873426
"Dark Tower": [],
33883427
"SantaTrap": [],
33893428
"StrengthMaxTroopTypes": [
3390-
12
3429+
11
33913430
],
33923431
"StrengthMaxSpellTypes": [
33933432
8
@@ -3483,7 +3522,10 @@
34833522
],
34843523
"Merged Archer Tower": [],
34853524
"Merged Cannon": [],
3486-
"Smithy": []
3525+
"Smithy": [],
3526+
"ChallengeLootPercentage": [
3527+
100
3528+
]
34873529
},
34883530
"15": {
34893531
"AttackCost": [
@@ -3700,7 +3742,10 @@
37003742
],
37013743
"Merged Archer Tower": [],
37023744
"Merged Cannon": [],
3703-
"Smithy": []
3745+
"Smithy": [],
3746+
"ChallengeLootPercentage": [
3747+
100
3748+
]
37043749
},
37053750
"16": {
37063751
"AttackCost": [
@@ -3917,6 +3962,9 @@
39173962
"Merged Cannon": [
39183963
2
39193964
],
3920-
"Smithy": []
3965+
"Smithy": [],
3966+
"ChallengeLootPercentage": [
3967+
100
3968+
]
39213969
}
39223970
}

coc/static/update_static.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
("logic/character_items.csv", "equipment.csv"),
2727
("localization/texts.csv", "texts_EN.csv"),
2828
]
29-
FINGERPRINT = "c4e8c2976dcf42530d68dcb1fdfb61d071085abf"
29+
FINGERPRINT = "ef352b21171ef765a724f84dae76d8edbc79a93a"
3030
BASE_URL = f"https://game-assets.clashofclans.com/{FINGERPRINT}"
3131
APK_URL = "https://d.apkpure.net/b/APK/com.supercell.clashofclans?version=latest"
3232

0 commit comments

Comments
 (0)