|
@@ -133,12 +133,14 @@ class FightProc {
|
|
|
$ret = array(
|
|
|
'tili' => ctx()->baseInfo->tili,
|
|
|
'tili_ts' => ctx()->baseInfo->tili_ts,
|
|
|
+ 'xp'=> ctx()->baseInfo->xp,
|
|
|
+ 'maxXp'=> ctx()->baseInfo->maxXp,
|
|
|
'fightSweepNum' => ctx()->gates->fightSweepNum,
|
|
|
//'prizeArr' => $prizeArr,
|
|
|
'store' => ctx()->store,
|
|
|
'task' => ctx()->task,
|
|
|
'reward' => StoreProc::$reward,
|
|
|
- 'reward_Gem' => StoreProc::$reward_Gem,
|
|
|
+ 'reward_Gem' => StoreProc::$reward_Gem,
|
|
|
);
|
|
|
return Resp::ok($ret);
|
|
|
}
|
|
@@ -314,6 +316,8 @@ class FightProc {
|
|
|
$lastLayer = ctx()->gates()->TowerGateInfo()->CurLayer;
|
|
|
$arr = GameConfig::waves_getItemArray(self::TowerGateId);
|
|
|
TaskProc::OnFightNumChallengeGate();
|
|
|
+ TaskProc::OnKillCommonNumMonster($killedMonster);
|
|
|
+ TaskProc::OnKillleaderNumMonster($killedBoss);
|
|
|
if ($finalLayer > $lastLayer) {
|
|
|
foreach ($arr as $layerId => $layerMo) {
|
|
|
if ($layerId >= $lastLayer && $layerId < $finalLayer) {
|