This commit is contained in:
@@ -22,7 +22,7 @@ func (h Controller) EggGamePlay(data1 *egg.C2S_EGG_GAME_PLAY, c *player.Player)
|
||||
}
|
||||
r := c.Service.Item.CheakItem(400501)
|
||||
if data1.EggNum > 10 || data1.EggNum <= 0 {
|
||||
|
||||
return nil, errorcode.ErrorCode(errorcode.ErrorCodes.ErrSystemError)
|
||||
}
|
||||
if r < 0 {
|
||||
return nil, errorcode.ErrorCode(errorcode.ErrorCodes.ErrGachaTicketsInsufficient)
|
||||
|
||||
Reference in New Issue
Block a user