|
@@ -338,18 +338,19 @@ class FightProc {
|
|
|
if(Ins_GateInfo::GateTypeFromId($gateId) == Enum_GateType::MainStoryGate){
|
|
|
ctx()->gates->UnlockNextPlotGate();
|
|
|
$dic = GameConfig::gate();
|
|
|
- $index = 0;
|
|
|
- foreach ($dic as $id => $item) {
|
|
|
- if(Ints::Slice($gateId, 0, 1) == 2 && $item->challengeGateId == $gateId){
|
|
|
- $index += 1;
|
|
|
- $gate = new Ins_GateInfo();
|
|
|
- $gate->GateId = $id;
|
|
|
- ctx()->gates->GateList->$id = $gate;
|
|
|
- }
|
|
|
- if($index >= 3){
|
|
|
- break;
|
|
|
- }
|
|
|
- }
|
|
|
+// $index = 0; # 挑战关卡解锁逻辑,先屏蔽掉,后面有用到再加. -gwang 2024年4月15日
|
|
|
+// foreach ($dic as $id => $item) {
|
|
|
+// if(Ins_GateInfo::GateTypeFromId($id) == Enum_GateType::MainChallengeGate
|
|
|
+// && $item->challengeGateId == $gateId){
|
|
|
+// $index += 1;
|
|
|
+// $gate = new Ins_GateInfo();
|
|
|
+// $gate->GateId = $id;
|
|
|
+// ctx()->gates->GateList->$id = $gate;
|
|
|
+// }
|
|
|
+// if($index >= 3){
|
|
|
+// break;
|
|
|
+// }
|
|
|
+// }
|
|
|
} else {
|
|
|
|
|
|
}
|