From befc76d16ba8aa30ca4d1d71532eb77c4ba55b48 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Wed, 9 Oct 2024 15:20:20 +0800 Subject: [PATCH] 1 --- webapp/services/BattleBoxService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/services/BattleBoxService.php b/webapp/services/BattleBoxService.php index 6829b5b1..e7f9dc40 100644 --- a/webapp/services/BattleBoxService.php +++ b/webapp/services/BattleBoxService.php @@ -96,7 +96,7 @@ class BattleBoxService { self::setDailyPhaseAllocNum($currPhase, myself()->_getNowDaySeconds(), $allocableNum); } } else { - + $allocableNum = max(0, $allocableNum - $alreadyAllocNum); } if ($allocableNum > 0) { $lstVal = mt\Parameter::getListValue('battle_event_loot_per_game');