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;
             }
         }