|
@@ -29,6 +29,7 @@ class SweepGatesProc {
|
|
|
* [6800] 关卡战斗 - 预计算掉落
|
|
|
*/
|
|
|
public static function Arenas_preFight() {
|
|
|
+ Err(ErrCode::err_method_obsoleted, "reward字段已于2022.1.11被删除,代码需维护!");
|
|
|
list($gateId, $difficulty) = req()->paras; # 提取参数
|
|
|
my_Assert($gateId > 0, "关卡id非法");
|
|
|
$isFirst = self::isFirstChallenge($gateId, $difficulty); # 是否首次通关
|
|
@@ -159,10 +160,10 @@ class SweepGatesProc {
|
|
|
default:
|
|
|
break;
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
$map = new Info_Map();
|
|
|
$map->addBattleRecord($gateId);
|
|
|
- //$map->addBattleNumRecord($gateId, $ret);
|
|
|
+ //$map->addBattleNumRecord($gateId, $ret);
|
|
|
$user = req()->userInfo->game;
|
|
|
$result = array(
|
|
|
'store' => $user->store,
|
|
@@ -227,8 +228,8 @@ class SweepGatesProc {
|
|
|
UserProc::updateUserInfo(); # 回写玩家数据.
|
|
|
|
|
|
TaskProc::OnPassGateN($gateId, $difficulty + 1);
|
|
|
-
|
|
|
- StatisticsProc::unlockGate($gateId);#统计通关最新关卡
|
|
|
+
|
|
|
+ StatisticsProc::unlockGate($gateId); #统计通关最新关卡
|
|
|
$user = req()->userInfo->game;
|
|
|
$result = array(
|
|
|
'store' => $user->store,
|
|
@@ -368,6 +369,7 @@ class SweepGatesProc {
|
|
|
* [6802]新扫荡
|
|
|
*/
|
|
|
public static function Arenas_NewSweepFight() {
|
|
|
+ Err(ErrCode::err_method_obsoleted, "reward字段已于2022.1.11被删除,代码需维护!");
|
|
|
Err(ErrCode::err_method_obsoleted); # 没开扫荡功能
|
|
|
list($gateId, $difficulty, $costItemId) = req()->paras; # 关卡id, 难度 difficulty, 扫荡券id
|
|
|
|