宝箱雨优化
This commit is contained in:
parent
64c3285b5d
commit
b8de7d7da7
@ -253,6 +253,10 @@ func ReqRewardOrder(args []interface{}) error {
|
||||
if ProductLv > 0 {
|
||||
Color := order.RandChessColor(ChessMod.GetOrderEmit())
|
||||
ChessId := mergeDataCfg.GetChessIdByLvAndColor(ProductLv, Color)
|
||||
if ChessId == 0 {
|
||||
log.Error("GetChessIdByLvAndColor error color:%d, lv:%d", Color, ProductLv)
|
||||
return errors.New("GetChessIdByLvAndColor error")
|
||||
}
|
||||
ChestRainItems = append(ChestRainItems, &item.Item{Id: ChessId, Num: 1})
|
||||
}
|
||||
if Jackpot > 0 {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user