1
This commit is contained in:
parent
2f9c065b24
commit
47cc3523fc
@ -29,9 +29,12 @@ class BattleBoxService {
|
|||||||
$yesterDayLastDropTime = self::getDailyPhaseDropLastTime($currPhase, $yesterDayTime);
|
$yesterDayLastDropTime = self::getDailyPhaseDropLastTime($currPhase, $yesterDayTime);
|
||||||
$yesterDayDropTotal = self::getDailyPhaseDropTotalNum($currPhase, $yesterDayTime);
|
$yesterDayDropTotal = self::getDailyPhaseDropTotalNum($currPhase, $yesterDayTime);
|
||||||
$yesterDayAllocNum = self::getDailyPhaseAllocNum($currPhase, $yesterDayTime);
|
$yesterDayAllocNum = self::getDailyPhaseAllocNum($currPhase, $yesterDayTime);
|
||||||
if ($yesterDayAllocNum >= 0) {
|
if ($yesterDayAllocNum <= 0) {
|
||||||
$allocableNum = $maxNum;
|
$allocableNum = $maxNum;
|
||||||
}
|
}
|
||||||
|
if ($allocableNum) {
|
||||||
|
self::setDailyPhaseAllocNum($currPhase, $allocableNum);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if ($allocableNum > 0) {
|
if ($allocableNum > 0) {
|
||||||
$lstVal = mt\Parameter::getListValue('battle_event_loot_per_game');
|
$lstVal = mt\Parameter::getListValue('battle_event_loot_per_game');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user