This commit is contained in:
aozhiwei 2024-10-09 17:24:58 +08:00
parent d0c351f3e6
commit 92670fc1b7

View File

@ -339,8 +339,8 @@ class RoomBattleDataService extends BaseService {
for ($i = 0; $i < $member['box_num']; ++$i) {
$rand = $rate * 100;
$rnd = rand(1,100);
++$realBoxNum;
if ($rnd <= $rand){
++$realBoxNum;
$chestItems = LootService::dropOutItem($rewardMeta['chestLoot']);
if (count($chestItems)>0){
$event = array(