Browse Source

1. fixed: 将挑战对手的hid调整区间段.

gwang 5 years ago
parent
commit
d4f130a755
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Gameserver/Amfphp/process/FightProc/PVPProc.php

+ 1 - 0
Gameserver/Amfphp/process/FightProc/PVPProc.php

@@ -28,6 +28,7 @@ class PVPProc {
         $curTeamId = $team->curUseTeamID;
         foreach ($team->teamDic->$curTeamId->heros as $hid) {
             if ($hid > 0) {
+                $hid -= 10000;
                 $heros->$hid = $uinfo->game->heros->collectHeros->$hid;
             }
         }