skyalcon 發表於 2026-2-23 20:47

檢查




                deps.Log.Debug("移動檢查", zap.String("player", player.Name),
                        zap.Int32("curX", curX), zap.Int32("curY", curY),
                        zap.Int32("destX", destX), zap.Int32("destY", destY),
                        zap.Int16("mapID", player.MapID),
                        zap.Int("heading", heading),
                        zap.Int("heading", int(heading)),
                        zap.Bool("isPassable", isPassable))
                if !isPassable {
                        return // Block movement
                }



頁: [1]
查看完整版本: 檢查