mirror of
https://github.com/chinnkarahoi/jd_scripts.git
synced 2024-06-05 19:32:47 +08:00
[集鞭炮赢京豆] 修复运算符错误
This commit is contained in:
parent
cf8e6e6ce8
commit
18ca9430bd
@ -98,7 +98,7 @@ function showMsg() {
|
|||||||
message += `【鞭炮🧨】本次获得 ${$.earn},共计${$.total}\n`
|
message += `【鞭炮🧨】本次获得 ${$.earn},共计${$.total}\n`
|
||||||
if ($.total && notifyBean) {
|
if ($.total && notifyBean) {
|
||||||
for (let item of $.prize) {
|
for (let item of $.prize) {
|
||||||
if (notifyBean >= item.beansPerNum) { // 符合预定的京豆档位
|
if (notifyBean <= item.beansPerNum) { // 符合预定的京豆档位
|
||||||
if ($.total >= item.prizerank) { // 当前鞭炮满足兑换
|
if ($.total >= item.prizerank) { // 当前鞭炮满足兑换
|
||||||
message += `【京豆】请手动兑换 ${item.beansPerNum} 个京豆,需消耗花费🧨 ${item.prizerank}`
|
message += `【京豆】请手动兑换 ${item.beansPerNum} 个京豆,需消耗花费🧨 ${item.prizerank}`
|
||||||
$.msg($.name, subTitle, message);
|
$.msg($.name, subTitle, message);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user