🐞 fix(数数): 删除数数体力获得上传事件
This commit is contained in:
@@ -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']);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user