This commit is contained in:
aozhiwei 2024-10-09 15:20:20 +08:00
parent 8ac3cd2786
commit befc76d16b

View File

@ -96,7 +96,7 @@ class BattleBoxService {
self::setDailyPhaseAllocNum($currPhase, myself()->_getNowDaySeconds(), $allocableNum); self::setDailyPhaseAllocNum($currPhase, myself()->_getNowDaySeconds(), $allocableNum);
} }
} else { } else {
$allocableNum = max(0, $allocableNum - $alreadyAllocNum);
} }
if ($allocableNum > 0) { if ($allocableNum > 0) {
$lstVal = mt\Parameter::getListValue('battle_event_loot_per_game'); $lstVal = mt\Parameter::getListValue('battle_event_loot_per_game');