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