فهرست منبع

最大通关idbug修复,战力完成

cyzhao 1 سال پیش
والد
کامیت
da031ce9f9
2فایلهای تغییر یافته به همراه3 افزوده شده و 2 حذف شده
  1. 2 2
      Gameserver/App/model/User/Info_Gates.php
  2. 1 0
      Gameserver/App/process/FightProc.php

+ 2 - 2
Gameserver/App/model/User/Info_Gates.php

@@ -199,8 +199,8 @@ class Info_Gates extends Object_ext {
         $maxIndex = 0;
         $maxGateId = 0;
         foreach ($this->GateList as $gateId => $Ins_GateInfo) {
-            if ($Ins_GateInfo->pass > 0 && $Ins_GateInfo->GateMapTypeFromId($gateId) > $maxIndex) {
-                $maxIndex = $Ins_GateInfo->GateMapTypeFromId($gateId);
+            if ($Ins_GateInfo->pass > 0 && Ins_GateInfo::GateMapTypeFromId($gateId) > $maxIndex) {
+                $maxIndex = Ins_GateInfo::GateMapTypeFromId($gateId);
                 $maxGateId = $gateId;
             }
         }

+ 1 - 0
Gameserver/App/process/FightProc.php

@@ -547,6 +547,7 @@ class FightProc {
                 $maxGateId = ctx()->gates->maxPassGateId();
                 if ($maxGateId > 0) {
                     self::Ranking_MainGateIndex($maxGateId);
+                    self::IsAchievedMainGate_PassReward($maxGateId);
                 }
             }