1
This commit is contained in:
parent
d0c351f3e6
commit
92670fc1b7
@ -339,8 +339,8 @@ class RoomBattleDataService extends BaseService {
|
|||||||
for ($i = 0; $i < $member['box_num']; ++$i) {
|
for ($i = 0; $i < $member['box_num']; ++$i) {
|
||||||
$rand = $rate * 100;
|
$rand = $rate * 100;
|
||||||
$rnd = rand(1,100);
|
$rnd = rand(1,100);
|
||||||
|
++$realBoxNum;
|
||||||
if ($rnd <= $rand){
|
if ($rnd <= $rand){
|
||||||
++$realBoxNum;
|
|
||||||
$chestItems = LootService::dropOutItem($rewardMeta['chestLoot']);
|
$chestItems = LootService::dropOutItem($rewardMeta['chestLoot']);
|
||||||
if (count($chestItems)>0){
|
if (count($chestItems)>0){
|
||||||
$event = array(
|
$event = array(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user