Parcourir la source

任务bug修复

cyzhao il y a 8 mois
Parent
commit
dceb1d1ba4
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      Gameserver/App/model/User/Ins_TaskStep_Active.php

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

@@ -253,7 +253,7 @@ class Ins_TaskStep_Active extends Object_ext {
                 }
                 return $day;
             case Enum_ActiveTaskCmdType::PassLayer_ChallengeGate:
-                return ctx()->gates->TowerGate->CurLayer;
+                return ctx()->gates->TowerGate->CurLayer -1;
             default:
                 break;
         }