1
This commit is contained in:
parent
59a23a84d2
commit
fcd8d966d8
@ -31,6 +31,7 @@ class BattleBoxService {
|
|||||||
$startTime = 0;
|
$startTime = 0;
|
||||||
$endTime = 0;
|
$endTime = 0;
|
||||||
$maxNum = 0;
|
$maxNum = 0;
|
||||||
|
$completionDegree = 0;
|
||||||
|
|
||||||
$allocableNum = self::getDailyPhaseAllocNum($currPhase, myself()->_getNowDaySeconds());
|
$allocableNum = self::getDailyPhaseAllocNum($currPhase, myself()->_getNowDaySeconds());
|
||||||
$alreadyAllocNum = self::getDailyPhaseAlreadyAllocNum($currPhase, myself()->_getNowDaySeconds());
|
$alreadyAllocNum = self::getDailyPhaseAlreadyAllocNum($currPhase, myself()->_getNowDaySeconds());
|
||||||
@ -42,7 +43,11 @@ class BattleBoxService {
|
|||||||
if ($yesterDayAllocNum <= 0) {
|
if ($yesterDayAllocNum <= 0) {
|
||||||
$allocableNum = $maxNum;
|
$allocableNum = $maxNum;
|
||||||
} else {
|
} else {
|
||||||
|
if ($yesterDayDropTotal >= $yesterDayAllocNum) {
|
||||||
|
//掉完了
|
||||||
|
} else {
|
||||||
|
//没掉完
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if ($allocableNum) {
|
if ($allocableNum) {
|
||||||
self::setDailyPhaseAllocNum($currPhase, $allocableNum);
|
self::setDailyPhaseAllocNum($currPhase, $allocableNum);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user