diff --git a/apps/admin.js b/apps/admin.js index 0ed72329..7df6523c 100644 --- a/apps/admin.js +++ b/apps/admin.js @@ -94,8 +94,8 @@ export async function sysCfg(e, { render }) { let base64 = await render("admin", "index", { ...cfg, - cfgScale: Cfg.scale(1.2) - }, "png"); + cfgScale: Cfg.scale(1.4) + }); if (base64) { e.reply(segment.image(`base64://${base64}`)); } diff --git a/apps/character.js b/apps/character.js index 80d01d30..94612cac 100644 --- a/apps/character.js +++ b/apps/character.js @@ -345,8 +345,8 @@ async function renderCard(e, avatar, render, renderType = "card") { bg, ...getCharacterData(avatar), ds: char.getData("name,id,title,desc"), - cfgScale: Cfg.scale(1.25) - }, "png"); + cfgScale: Cfg.scale(1.6) + }); if (base64) { e.reply(segment.image(`base64://${base64}`)); } diff --git a/apps/help.js b/apps/help.js index 64a5b356..5d9858d2 100644 --- a/apps/help.js +++ b/apps/help.js @@ -41,8 +41,8 @@ export async function help(e, { render }) { let base64 = await render("help", "index", { helpCfg: helpGroup, - cfgScale: Cfg.scale(1.05) - }, "png"); + cfgScale: Cfg.scale(1.2) + }); if (base64) { e.reply(segment.image(`base64://${base64}`)); } diff --git a/apps/stat.js b/apps/stat.js index 93845f09..12787b5d 100644 --- a/apps/stat.js +++ b/apps/stat.js @@ -78,8 +78,8 @@ export async function consStat(e, { render }) { pct: function (num) { return (num * 100).toFixed(2); }, - cfgScale: Cfg.scale(1.4) - }, "png"); + cfgScale: Cfg.scale(1.5) + }); if (base64) { e.reply(segment.image(`base64://${base64}`)); } @@ -156,8 +156,8 @@ export async function abyssPct(e, { render }) { pct: function (num) { return (num * 100).toFixed(2); }, - cfgScale: Cfg.scale(1.4) - }, "png"); + cfgScale: Cfg.scale(1.5) + }); if (base64) { e.reply(segment.image(`base64://${base64}`)); } diff --git a/components/Calc.js b/components/Calc.js index 7a158d3f..dd82d848 100644 --- a/components/Calc.js +++ b/components/Calc.js @@ -393,7 +393,7 @@ let Calc = { avg: atkNum * pctNum * (1 + multiNum) * dmgNum * (1 + cpctNum * cdmgNum) * defNum * kNum * eleNum } - console.log(attr, { atkNum, pctNum, multiNum, dmgNum, cpctNum, cdmgNum, defNum, eleNum, kNum }, ret) + // console.log(attr, { atkNum, pctNum, multiNum, dmgNum, cpctNum, cdmgNum, defNum, eleNum, kNum }, ret) return ret; };