cyzhao 9 сар өмнө
parent
commit
028c076051

+ 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;
                 }