finale
This commit is contained in:
parent
e57c80c623
commit
faafc1e015
@ -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.
|
@ -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
|
||||
}
|
||||
}
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user