1
This commit is contained in:
parent
9af091e114
commit
d70c8aae9b
@ -229,7 +229,7 @@ class RoomBattleDataService extends BaseService {
|
|||||||
|
|
||||||
}
|
}
|
||||||
//宝箱掉落
|
//宝箱掉落
|
||||||
$this->_dropBox($rewardMeta,$teamRank,$reward,$member);
|
$this->_dropBox($battleSingleDb, $rewardMeta,$teamRank,$reward,$member);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -328,7 +328,7 @@ class RoomBattleDataService extends BaseService {
|
|||||||
return $gold;
|
return $gold;
|
||||||
}
|
}
|
||||||
|
|
||||||
private function _dropBox($rewardMeta,$teamRank,&$reward,$member){
|
private function _dropBox($battleSingleDb, $rewardMeta,$teamRank,&$reward,$member){
|
||||||
//宝箱掉落
|
//宝箱掉落
|
||||||
$chestLootProbArr = explode(";",$rewardMeta['chestLootProb']);
|
$chestLootProbArr = explode(";",$rewardMeta['chestLootProb']);
|
||||||
$rate = isset($chestLootProbArr[$teamRank-1]) ? $chestLootProbArr[$teamRank-1] : 0;
|
$rate = isset($chestLootProbArr[$teamRank-1]) ? $chestLootProbArr[$teamRank-1] : 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user