1
This commit is contained in:
parent
7f7afec29e
commit
707dea9b00
@ -18,8 +18,14 @@ class BattleBoxService {
|
||||
}
|
||||
$boxNum = 0;
|
||||
$currPhase = self::getCurrentPhase();
|
||||
$startTime = 0;
|
||||
$endTime = 0;
|
||||
$allocableNum = self::getDailyPhaseAllocNum($currPhase, myself()->_getNowDaySeconds());
|
||||
$alreadyAllocNum = self::getDailyPhaseAlreadyAllocNum($currPhase, myself()->_getNowDaySeconds());
|
||||
if ($allocableNum <= 0) {
|
||||
$yesterDayLastDropTime = self::getDailyPhaseDropLastTime($currPhase, myself()->_getNowDaySeconds());
|
||||
$yesterDayDropTotal = self::getDailyPhaseDropTotalNum($currPhase, myself()->_getNowDaySeconds());
|
||||
}
|
||||
if ($allocableNum > 0) {
|
||||
$lstVal = mt\Parameter::getListValue('battle_event_loot_per_game');
|
||||
if (!($allocableNum <= 0 || empty($lstVal) || count($lstVal) < 2)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user