浏览代码

引导记录

cyzhao 5 月之前
父节点
当前提交
310d2526dc
共有 1 个文件被更改,包括 15 次插入5 次删除
  1. 15 5
      Gameserver/App/process/FightProc.php

+ 15 - 5
Gameserver/App/process/FightProc.php

@@ -874,10 +874,10 @@ class FightProc {
 
                 if ($tag && !in_array($id, ctx()->privateState->funUnlockRecord_2)) {
                     ctx()->privateData(true)->funUnlockRecord[] = $id;
-                    ctx()->privateData(true)->funUnlockRecord_2[] = $id;                  
-                    if($id == 13 || $id == 16){
+                    ctx()->privateData(true)->funUnlockRecord_2[] = $id;
+                    if ($id == 13 || $id == 16 || $id == 14) {
                         ctx()->privateData(true)->funUnlockRecord_3[] = $id;
-                    }                  
+                    }
                     self::SubFunDateInit_FunUnlock($id);
                 }
             }
@@ -903,7 +903,11 @@ class FightProc {
 
             if ($tag && !in_array($id, ctx()->privateState->funUnlockRecord_2)) {
                 ctx()->privateData(true)->funUnlockRecord[] = $id;
-                ctx()->privateData(true)->funUnlockRecord_2[] = $id;                
+                ctx()->privateData(true)->funUnlockRecord_2[] = $id;
+
+                if ($id == 13 || $id == 16 || $id == 14) {
+                    ctx()->privateData(true)->funUnlockRecord_3[] = $id;
+                }
                 self::SubFunDateInit_FunUnlock($id);
             }
         }
@@ -928,6 +932,9 @@ class FightProc {
             if ($tag && !in_array($id, ctx()->privateState->funUnlockRecord_2)) {
                 ctx()->privateData(true)->funUnlockRecord[] = $id;
                 ctx()->privateData(true)->funUnlockRecord_2[] = $id;
+                if ($id == 13 || $id == 16 || $id == 14) {
+                    ctx()->privateData(true)->funUnlockRecord_3[] = $id;
+                }
                 self::SubFunDateInit_FunUnlock($id);
             }
         }
@@ -964,6 +971,9 @@ class FightProc {
             if ($tag && !in_array($id, ctx()->privateState->funUnlockRecord_2)) {
                 ctx()->privateData(true)->funUnlockRecord[] = $id;
                 ctx()->privateData(true)->funUnlockRecord_2[] = $id;
+                if ($id == 13 || $id == 16 || $id == 14) {
+                    ctx()->privateData(true)->funUnlockRecord_3[] = $id;
+                }
                 self::SubFunDateInit_FunUnlock($id);
             }
         }
@@ -1306,7 +1316,7 @@ class FightProc {
             $list = gMem()->zrevrange(MemKey_GameRun::Rank_FightPower_Zone_zset(req()->zoneid), 0, glc()->Rank_FightPower_OnListRank, true);
             //$selfExtraInfo = self::countUserFightPower();
             $selfExtraInfo = FightPower_Calculate::GetFightPower();
-            
+
             $isExistFinishReward = self::isExistNoDrawed_FightPower();
             $isExistFinishReward_other = self::isExistNoDrawed_MainGate();
         }