瀏覽代碼

fixed: 通关材料副本检测.

gwang 3 年之前
父節點
當前提交
02a39f48af

+ 1 - 1
Gameserver/Amfphp/model/Const/GameConfig.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2021-07-26 09:31:53
+ // 日期: 2021-07-26 15:49:07
 ////////////////////
 
 /**

+ 1 - 1
Gameserver/Amfphp/model/Const/sm_item_taskcard.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2021-07-23 09:28:19
+ // 日期: 2021-07-26 11:11:22
 ////////////////////
 
 

+ 2 - 2
Gameserver/Amfphp/process/FightProc.php

@@ -162,8 +162,8 @@ class FightProc {
         $err = StoreProc::AddMultiItemInStore($rewardStr);                      # 发放奖励
         my_Assert(ErrCode::ok == $err, $err);                                   # 防御代码
         UserProc::updateUserInfo();                                             # 更新
-        TaskProc::OnPassCarboN($gateId, $index);
-//        var_dump("无尽塔");
+        TaskProc::OnPassEndlessCarboN($gateId, $index);
+        var_dump("无尽塔");
         return Resp::ok(array('index' => ctx()->privateData()->endlessTower,
                     'baseInfo' => ctx()->base(),
                     'store' => ctx()->store()

+ 1 - 1
Gameserver/Amfphp/process/FightProc/SweepGatesProc.php

@@ -145,8 +145,8 @@ class SweepGatesProc {
             case 4:                                                             # 大厅/主城/召唤之类的
                 break;
             case 5:                                                             # 材料副本
+                TaskProc::OnPassGateN($gateId, $difficulty + 1);
                 break;
-
             case 6:                                                             # 无尽塔
 
                 break;

+ 2 - 2
Gameserver/Amfphp/process/TaskProc.php

@@ -742,11 +742,11 @@ class TaskProc {
     }
 
     /**
-     * 通关副本关卡
+     * 通关无尽塔副本关卡
      * @param type $gateId
      * @param type $difficulty 层数
      */
-    static function OnPassCarboN($gateId, $difficulty) {
+    static function OnPassEndlessCarboN($gateId, $difficulty) {
 //        $taskParam = new Ins_TaskParams(Enum_TaskCmdType::passEndlessCarbonN, $gateId, $difficulty);
 //        self::CheckTaskConditions($taskParam);
         $taskEventArg = new Ins_TaskEventArgs(Enum_TaskCmdType::passEndlessCarbonN, Enum_PropelType::set, 1, array($gateId, $difficulty));