From 8b31c757e6977383bd8a28fe78378770ed9f48b7 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Thu, 24 Oct 2024 16:08:34 +0800 Subject: [PATCH] 1 --- webapp/services/BattleBoxService.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/webapp/services/BattleBoxService.php b/webapp/services/BattleBoxService.php index 9a03acc0..0803d769 100644 --- a/webapp/services/BattleBoxService.php +++ b/webapp/services/BattleBoxService.php @@ -105,6 +105,10 @@ class BattleBoxService { self::setDailyPhaseAllocNum($currPhase, myself()->_getNowDaySeconds(), $allocableNum); } } else { + error_log(json_encode(array( + 'allocableNum' => $allocableNum, + 'alreadyAllocNum' => $alreadyAllocNum, + ))); $allocableNum = max(0, $allocableNum - $alreadyAllocNum); } if ($allocableNum > 0) {