From ecba1950517a4411bf46ed18f884b6ac749f8669 Mon Sep 17 00:00:00 2001 From: luying Date: Tue, 25 Oct 2022 15:53:54 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20fix(=E6=95=B0=E6=95=B0):=20?= =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=95=B0=E6=95=B0=E4=BD=93=E5=8A=9B=E8=8E=B7?= =?UTF-8?q?=E5=BE=97=E4=B8=8A=E4=BC=A0=E4=BA=8B=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- game-server/app/services/actionPointService.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/game-server/app/services/actionPointService.ts b/game-server/app/services/actionPointService.ts index d532832c4..c027b6e0d 100644 --- a/game-server/app/services/actionPointService.ts +++ b/game-server/app/services/actionPointService.ts @@ -54,9 +54,9 @@ function getApWithDataAp(roleId: string, ip: string, lv: number, dataAp: ActionP result = { ap, maxAp, refTime, apRemainTime, apMaxRemainTime, isOver: false, buyTimes, buyRefTime, apBefore }; } } - if(result.ap > oldAp) { - reportTAEvent(roleId, TA_EVENT.AP_GET, { change_count: result.ap - oldAp, change_after: result.ap, change_reason: ITEM_CHANGE_REASON.AP_RECOVERY }) - } + // if(result.ap > oldAp) { + // reportTAEvent(roleId, TA_EVENT.AP_GET, { change_count: result.ap - oldAp, change_after: result.ap, change_reason: ITEM_CHANGE_REASON.AP_RECOVERY }) + // } return fromGetAp?result: pick(result, ['ap', 'maxAp', 'apRemainTime', 'apMaxRemainTime', 'buyTimes', 'apBefore']); }