1
This commit is contained in:
parent
3837e5a033
commit
346633763f
@ -262,7 +262,7 @@ class RoomBattleDataService extends BaseService {
|
||||
$chestLootProbArr = explode(";",$rewardMeta['chestLootProb']);
|
||||
$rate = isset($chestLootProbArr[$teamRank-1]) ? $chestLootProbArr[$teamRank-1] : 0;
|
||||
//error_log(json_encode($member));
|
||||
if ($rate > 0 && !empty($member['box_num'])){
|
||||
if ($rate > 0 && !empty($member['box_num']) && myself()->_switchIsOpen('bigEventBoxDrop')){
|
||||
$rewardBox = array();
|
||||
for ($i = 0; $i < $member['box_num']; ++$i) {
|
||||
$rand = $rate * 100;
|
||||
|
Loading…
x
Reference in New Issue
Block a user