diff --git a/webapp/models/Gun.php b/webapp/models/Gun.php index d2e4089c..b12d676c 100644 --- a/webapp/models/Gun.php +++ b/webapp/models/Gun.php @@ -709,6 +709,7 @@ class Gun extends BaseModel { 'current_pve_get_ceg' => $todayPveGetCeg / 100, 'chip_ids' => $chipIds, 'chip_strength_sum' => strval(Chip::getChipMaxStrength($row['chip_ids'],2)), //计算ceg上限所需参数 + 'labour' => $row['labour'], ); $info['durability_max'] = strval(round(FormulaService::Weapon_NFT_Maximum_Durability($info['quality'],$info['lucky']),3)); $info['pvp_ceg_uplimit'] = strval( round(FormulaService::getWeaponPvpDailyCegUpLimit($info),2) ); diff --git a/webapp/models/Hero.php b/webapp/models/Hero.php index 2a802fc1..70165037 100644 --- a/webapp/models/Hero.php +++ b/webapp/models/Hero.php @@ -763,6 +763,7 @@ class Hero extends BaseModel { 'chip_ids' => $chipIds, 'chip_strength_sum' => strval(Chip::getChipMaxStrength($chipIds,1)), //计算ceg上限所需参数 'skill_points' => $row['skill_points'], + 'labour' => $row['labour'], ); $info['hero_tili_max'] = strval(round(FormulaService::Hero_NFT_Maximum_Physical_Strength($info['quality'],$info['lucky']),3)); $info['pvp_ceg_uplimit'] =strval( round(FormulaService::getHeroPvpDailyCegUpLimit($info),2) );