Browse Source

升级bug修复

cyzhao 4 năm trước cách đây
mục cha
commit
6c53bb2583
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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;
             }
         }