1
This commit is contained in:
parent
22e24628b4
commit
41ab453c08
@ -22,7 +22,7 @@ class BattleBoxService {
|
||||
$alreadyAllocNum = self::getDailyPhaseAlreadyAllocNum($currPhase, myself()->_getNowDaySeconds());
|
||||
if ($allocableNum > 0) {
|
||||
$lstVal = mt\Parameter::getListValue('battle_event_loot_per_game');
|
||||
if (!$allocableNum <= 0 || empty($lstVal) || count($lstVal) < 2) {
|
||||
if (!($allocableNum <= 0 || empty($lstVal) || count($lstVal) < 2)) {
|
||||
$rnd = rand($lstVal[0], $lstVal[1]);
|
||||
if ($rnd > 0) {
|
||||
$boxNum = min($rnd, $allocableNum);
|
||||
|
Loading…
x
Reference in New Issue
Block a user