This commit is contained in:
aozhiwei 2024-10-08 16:20:10 +08:00
parent 2f9c065b24
commit 47cc3523fc

View File

@ -29,9 +29,12 @@ class BattleBoxService {
$yesterDayLastDropTime = self::getDailyPhaseDropLastTime($currPhase, $yesterDayTime);
$yesterDayDropTotal = self::getDailyPhaseDropTotalNum($currPhase, $yesterDayTime);
$yesterDayAllocNum = self::getDailyPhaseAllocNum($currPhase, $yesterDayTime);
if ($yesterDayAllocNum >= 0) {
if ($yesterDayAllocNum <= 0) {
$allocableNum = $maxNum;
}
if ($allocableNum) {
self::setDailyPhaseAllocNum($currPhase, $allocableNum);
}
}
if ($allocableNum > 0) {
$lstVal = mt\Parameter::getListValue('battle_event_loot_per_game');