[集鞭炮赢京豆] 修复运算符错误

This commit is contained in:
guyuexuan
2021-01-25 18:49:32 +08:00
parent eacca75b7a
commit 04d07254bb

View File

@ -98,7 +98,7 @@ function showMsg() {
message += `【鞭炮🧨】本次获得 ${$.earn},共计${$.total}\n`
if ($.total && notifyBean) {
for (let item of $.prize) {
if (notifyBean >= item.beansPerNum) { // 符合预定的京豆档位
if (notifyBean <= item.beansPerNum) { // 符合预定的京豆档位
if ($.total >= item.prizerank) { // 当前鞭炮满足兑换
message += `【京豆】请手动兑换 ${item.beansPerNum} 个京豆,需消耗花费🧨 ${item.prizerank}`
$.msg($.name, subTitle, message);