소스 검색

升级bug修复

cyzhao 4 년 전
부모
커밋
6c53bb2583
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Gameserver/Amfphp/process/HeroProc.php

+ 1 - 1
Gameserver/Amfphp/process/HeroProc.php

@@ -622,7 +622,7 @@ class HeroProc {
             $starlimitLv = GameConfig::heroextra_level_tupo_getItem($targetHero->typeId, $curStar +1)->starlimitLv; 
             if($starlimitLv > $curLv){
                 $targetHero->level = $starlimitLv;
-                $targetHero->xp = \GameConfig::hero_levelexp_getItem($starlimitLv)->needExp;
+                $targetHero->xp = GameConfig::hero_levelexp_getItem($starlimitLv)->needExp;
             }
         }