1
This commit is contained in:
parent
6681aee2e6
commit
5d24365274
@ -49,8 +49,8 @@ class BattleBoxService {
|
|||||||
if ($currPhase < 1 || $currPhase > 2) {
|
if ($currPhase < 1 || $currPhase > 2) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
$minNum = $maxLst0[$currPhase];
|
$minNum = $maxLst0[$currPhase - 1];
|
||||||
$maxNum = $maxLst1[$currPhase];
|
$maxNum = $maxLst1[$currPhase - 1];
|
||||||
|
|
||||||
error_log(json_encode(array(
|
error_log(json_encode(array(
|
||||||
'mapNodeMeta' => $mapModeMeta,
|
'mapNodeMeta' => $mapModeMeta,
|
||||||
@ -72,6 +72,7 @@ class BattleBoxService {
|
|||||||
'yesterDayDropLastTime' => $yesterDayDropLastTime,
|
'yesterDayDropLastTime' => $yesterDayDropLastTime,
|
||||||
'yesterDayDropTotal' => $yesterDayDropTotal,
|
'yesterDayDropTotal' => $yesterDayDropTotal,
|
||||||
'yesterDayAllocNum' => $yesterDayAllocNum,
|
'yesterDayAllocNum' => $yesterDayAllocNum,
|
||||||
|
'maxNum' => $maxNum,
|
||||||
)));
|
)));
|
||||||
if ($yesterDayAllocNum <= 0) {
|
if ($yesterDayAllocNum <= 0) {
|
||||||
$allocableNum = $maxNum;
|
$allocableNum = $maxNum;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user