修改战斗系统

This commit is contained in:
2025-09-19 00:29:55 +08:00
parent 60a8be8b48
commit a2eb88e9d3
27 changed files with 87540 additions and 3617 deletions

View File

@@ -64,6 +64,10 @@ func (h *Controller) Login(data *login.InInfo, c *player.Conn) (result *login.Ou
t.Info.MapID = 1
}
if t.IsNewPlayer() {
t.Info.MapID = 515
}
t.CompleteLogin() //通知客户端登录成功
glog.Debug(context.Background(), "登录成功,初始地图 人数:", space.GetSpace(t.Info.MapID).Len())