1
This commit is contained in:
parent
3dbf6891c5
commit
dd67163e1c
@ -312,7 +312,7 @@ class RoomBattleDataService extends BaseService {
|
||||
}
|
||||
$gold = 0;
|
||||
if ($heroDb['quality'] > 1){
|
||||
if (!Hero::verifyValid($heroDb) && $heroTimes < $heroTimesMax && $goldModeTimes < $rewardsMaxTimes){
|
||||
if (Hero::verifyValid($heroDb) && $heroTimes < $heroTimesMax && $goldModeTimes < $rewardsMaxTimes){
|
||||
$items = LootService::dropOutItem($rewardMeta['goldLoot']);
|
||||
foreach ($items as $item){
|
||||
if ($item['item_id'] = V_ITEM_GOLD){
|
||||
|
Loading…
x
Reference in New Issue
Block a user