抽奖消耗顺序

back_recharge
duhui 2022-12-08 15:05:15 +08:00
parent 454ed89679
commit 3b14b8db9a
1 changed files with 1 additions and 1 deletions

View File

@ -312,7 +312,7 @@ public class HeroLogic {
if (costItems[0][0] == Global.GEM) {
//每日妖精抽取次数
if (sLotterySetting.getMoneyTimes() != 0 && !PlayerLogic.getInstance().checkAndUpdate(user, sLotterySetting.getMoneyTimes(), perCount)) {
throw new ErrorCodeException("已抽取今日最大次数");
continue;
}
//检测是否有折扣
if (sLotterySetting.getDiscountTimes() != 0) {