diff --git a/webapp/services/BattleBoxService.php b/webapp/services/BattleBoxService.php index 3a78b019..6829b5b1 100644 --- a/webapp/services/BattleBoxService.php +++ b/webapp/services/BattleBoxService.php @@ -92,9 +92,11 @@ class BattleBoxService { } $allocableNum = min($maxNumLimit, $maxNum * $completionDegree); } - if ($allocableNum) { + if ($allocableNum > 0) { self::setDailyPhaseAllocNum($currPhase, myself()->_getNowDaySeconds(), $allocableNum); } + } else { + } if ($allocableNum > 0) { $lstVal = mt\Parameter::getListValue('battle_event_loot_per_game');