diff --git a/webapp/services/BattleDataService.php b/webapp/services/BattleDataService.php index 3bb75387..95ff14d6 100644 --- a/webapp/services/BattleDataService.php +++ b/webapp/services/BattleDataService.php @@ -73,6 +73,7 @@ class BattleDataService extends BaseService { if (!$this->heroMeta) { return false; } + $this->reward['hero']['uuid'] = $this->heroDto['hero_uniid']; } { $weaponUuid1 = getReqVal('weapon_uuid1', ''); @@ -82,6 +83,7 @@ class BattleDataService extends BaseService { return false; } $this->weapon1Dto = Gun::toDto($weaponDb); + $this->reward['weapon1']['uuid'] = $this->weapon1Dto['gun_uniid']; } } { @@ -92,6 +94,7 @@ class BattleDataService extends BaseService { return false; } $this->weapon2Dto = Gun::toDto($weaponDb); + $this->reward['weapon2']['uuid'] = $this->weapon2Dto['gun_uniid']; } } $matchMode = getReqVal('match_mode');