diff --git a/public/assets/creeps/optimize.cjs b/public/assets/creeps/optimize.cjs deleted file mode 100644 index cea9e1c..0000000 --- a/public/assets/creeps/optimize.cjs +++ /dev/null @@ -1,20 +0,0 @@ - -const fs = require('fs'); -const { exec, execSync } = require('child_process'); -let dir = fs.readdirSync('.'); -// dir.forEach((item) => { -// const itemPath = `./${item}`; -// if (fs.lstatSync(itemPath).isDirectory()) { -// let subDir = fs.readdirSync(itemPath); -// subDir.forEach(async (subItem) => { -// const subItemPath = `${itemPath}/${subItem}`; -// if (fs.lstatSync(subItemPath).isFile() && subItem.endsWith('.png')) { -// const outputFilePath = `${itemPath}/${subItem.replace('.png', 's.png')}`; -// await execSync(`convert -resize 128x128 -quality 80 ${subItemPath} ${outputFilePath}`); -// fs.unlinkSync(subItemPath); -// fs.renameSync(outputFilePath, subItemPath); -// } -// }); -// } -// }); -// Disabled for now, dont need to optimize assets. diff --git a/public/assets/json/Creeps.json b/public/assets/json/Creeps.json index b4e43e6..f83efdc 100644 --- a/public/assets/json/Creeps.json +++ b/public/assets/json/Creeps.json @@ -86,11 +86,11 @@ "speed": 3, "special": null, "resistance": { - "physical": 1, - "divine": -0.25, - "fire": 1, - "ice": 1, - "frostfire": 1 + "physical": 0, + "divine": 0, + "fire": 0, + "ice": 0, + "frostfire": 0 } } },