瀏覽代碼

任务bugxiufu

cyzhao 9 月之前
父節點
當前提交
028c076051
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Gameserver/App/model/User/Ins_TaskStep_Active.php

+ 1 - 1
Gameserver/App/model/User/Ins_TaskStep_Active.php

@@ -120,7 +120,7 @@ class Ins_TaskStep_Active extends Object_ext {
         switch ($mo->cmd) {
             case Enum_ActiveTaskCmdType::FightGate_X:
                 $gateId = $para0;
-                if(StlUtil::dictHasProperty(ctx()->gates->GateList, $gateId)){
+                if(StlUtil::dictHasProperty(ctx()->gates->GateList, $gateId) && ctx()->gates->GateList->$gateId->fightNum > 0){                   
                     return 1;
                 }