소스 검색

任务bugxiufu

cyzhao 10 달 전
부모
커밋
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;
                 }