diff --git a/logic/controller/action_扭蛋.go b/logic/controller/action_扭蛋.go index 3bca6e4a0..f4e153d0c 100644 --- a/logic/controller/action_扭蛋.go +++ b/logic/controller/action_扭蛋.go @@ -22,7 +22,7 @@ func (h Controller) EggGamePlay(data1 *egg.C2S_EGG_GAME_PLAY, c *player.Player) } r := c.Service.Item.CheakItem(400501) if r < uint32(data1.EggNum) { - return nil, errorcode.ErrorCode(errorcode.ErrorCodes.ErrSystemError) + return nil, errorcode.ErrorCode(errorcode.ErrorCodes.ErrGachaTicketsInsufficient) } result = &egg.S2C_EGG_GAME_PLAY{ListInfo: []data.ItemInfo{}} diff --git a/logic/service/fight/new.go b/logic/service/fight/new.go index 2fea32a8d..5ae77b495 100644 --- a/logic/service/fight/new.go +++ b/logic/service/fight/new.go @@ -8,7 +8,6 @@ import ( "blazing/logic/service/fight/info" "blazing/logic/service/fight/input" "blazing/logic/service/player" - "fmt" "math/rand" "time" ) @@ -16,7 +15,7 @@ import ( // 创建新战斗,邀请方和被邀请方,或者玩家和野怪方 func NewFight(p1, p2 common.PlayerI, fn func(info.FightOverInfo)) (*FightC, errorcode.ErrorCode) { - fmt.Println("NewFight", p1.GetInfo().UserID) + // fmt.Println("NewFight", p1.GetInfo().UserID) f := &FightC{} f.ownerID = p1.GetInfo().UserID