@dchighs/dc-assets 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -17,7 +17,7 @@ class IslandPackageDownloader extends static_file_downloader_1.StaticFileDownloa
|
|
|
17
17
|
if (islandType === dc_core_1.IslandType.GridIslands && !fileName.endsWith("_optim.zip")) {
|
|
18
18
|
fileName = fileName.replace(".zip", "_optim.zip");
|
|
19
19
|
}
|
|
20
|
-
this.url = `https://www.socialpointgames.com/static/dragoncity/mobile/ui/${islandType === dc_core_1.IslandType.HeroicRaces ? "heroicraces_islands" :
|
|
20
|
+
this.url = `https://www.socialpointgames.com/static/dragoncity/mobile/ui/${islandType === dc_core_1.IslandType.HeroicRaces ? "heroicraces_islands" : islandType}/HD/dxt5/${fileName}`;
|
|
21
21
|
}
|
|
22
22
|
async download(filePath) {
|
|
23
23
|
return await super.download(this.url, filePath);
|