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