This commit is contained in:
koneko 2025-04-26 22:40:25 +02:00
parent e57c80c623
commit faafc1e015
2 changed files with 5 additions and 25 deletions

View File

@ -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.

View File

@ -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
}
}
},