|
@@ -765,7 +765,7 @@ class FightProc {
|
|
if ($curTs >= $ts) {
|
|
if ($curTs >= $ts) {
|
|
$gateInfo->MaxSeconds = $curTs;
|
|
$gateInfo->MaxSeconds = $curTs;
|
|
}
|
|
}
|
|
- $gatePassTag_old = ctx()->gates->GateList->gateId->pass;
|
|
|
|
|
|
+ $gatePassTag_old = ctx()->gates->GateList->$gateId->pass;
|
|
self::funUnlock_Gate($resultType, $gateId); //备注:这个接口的位置不能动 里面有关卡第一次胜利解锁的功能提示校验
|
|
self::funUnlock_Gate($resultType, $gateId); //备注:这个接口的位置不能动 里面有关卡第一次胜利解锁的功能提示校验
|
|
//self::subFunUnlock($resultType, $gateId);
|
|
//self::subFunUnlock($resultType, $gateId);
|
|
if ($resultType) { # 胜利
|
|
if ($resultType) { # 胜利
|
|
@@ -893,7 +893,7 @@ class FightProc {
|
|
if ($gateId != 11000) {
|
|
if ($gateId != 11000) {
|
|
$newChapterId = 0;
|
|
$newChapterId = 0;
|
|
$oldChapterId = 0;
|
|
$oldChapterId = 0;
|
|
- $gatePassTag_new = ctx()->gates->GateList->gateId->pass;
|
|
|
|
|
|
+ $gatePassTag_new = ctx()->gates->GateList->$gateId->pass;
|
|
if ($gatePassTag_old == 0 && $gatePassTag_new == 1) {
|
|
if ($gatePassTag_old == 0 && $gatePassTag_new == 1) {
|
|
$gate_chapter = GameConfig::gate_chapter();
|
|
$gate_chapter = GameConfig::gate_chapter();
|
|
foreach ($gate_chapter as $id => $gate_chapter_mo) {
|
|
foreach ($gate_chapter as $id => $gate_chapter_mo) {
|