cyzhao 1 жил өмнө
parent
commit
609817e2c9

+ 1 - 1
Gameserver/App/model/User/Info_UserBase.php

@@ -120,7 +120,7 @@ class Info_UserBase extends Object_ext {
         $this->cash = 5000;
         $this->xp = 0;
         $this->tili = GameConfig::globalsettings()->tili_RecoverrMax;           # 恢复体力上限
-        $this->maxXp = GameConfig::player_level_getItem(1)->xp_need;
+        $this->maxXp = GameConfig::player_level_getItem(2)->xp_need;
         
         $this->level = 1;
         $this->name = '';

+ 1 - 1
Gameserver/App/process/UserProc.php

@@ -328,7 +328,7 @@ class UserProc {
         req()->game = $game;                                                    # 更新Req挂载的玩家数据,
         $game->initialize();                                                    # 初始化玩家数据
         $game->baseInfo->name = $rolename;
-        $game->baseInfo->headImg = "";
+        //$game->baseInfo->headImg = "";
         $game->baseInfo->firstLogin = now();
 
 #Ps 6006是没有获得到Userinfo到Req中的