抽奖消耗顺序
parent
454ed89679
commit
3b14b8db9a
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue