diff --git a/README.md b/README.md index 894e1e24..6bad1de6 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,8 @@ 21. 京喜工厂([jd_dreamFactory.js](https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_dreamFactory.js)) 22. 东东小窝([jd_small_home.js](https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_small_home.js)) 23. 东东工厂([jd_jdfactory.js](https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_jdfactory.js)) -24. 以及其他一部分在特定时间可用的薅京豆脚本,如 [手机狂欢城](https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_818.js) 、[星推官](https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_xtg.js) 等。 +24. 点点券([jd_necklace.js](https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_necklace.js)) +26. 以及其他一部分在特定时间可用的薅京豆脚本,如 [手机狂欢城](https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_818.js) 、[星推官](https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_xtg.js) 等。 **脚本兼容: [QuantumultX](https://apps.apple.com/us/app/quantumult-x/id1443988620), [Surge](https://apps.apple.com/us/app/surge-4/id1442620678), [Loon](https://apps.apple.com/us/app/loon/id1373567447), 小火箭, JSBox, Node.js** diff --git a/jd_jdfactory.js b/jd_jdfactory.js index f933fd33..ed7b63ff 100644 --- a/jd_jdfactory.js +++ b/jd_jdfactory.js @@ -122,7 +122,7 @@ async function algorithm() { console.log(`\n已选商品:${name}`); console.log(`当前已投入电量/所需电量:${useScore}/${totalScore}`); console.log(`已选商品剩余量:${couponCount}`); - console.log(`当前蓄电池电量:${remainScore}`); + console.log(`当前总电量:${remainScore * 1 + useScore * 1}`); console.log(`当前完成度:${((remainScore * 1 + useScore * 1)/(totalScore * 1)).toFixed(2) * 100}%\n`); message += `京东账号${$.index} ${$.nickName}\n`; message += `已选商品:${name}\n`;