fix(game): 修正扭蛋游戏错误码并清理调试代码 - 将扭蛋游戏中道具不足的错误码从系统错误修正为票券不足错误码 - 移除战斗服务中的调试打印语句和未使用的fmt包导入 ```
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user