From d0df1aa03ed02b7e0a2cb1e4b0d595bc049d2ec9 Mon Sep 17 00:00:00 2001 From: hujiabin Date: Thu, 8 Dec 2022 16:22:00 +0800 Subject: [PATCH] 1 --- webapp/models/Gun.php | 1 + webapp/models/Hero.php | 1 + 2 files changed, 2 insertions(+) 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) );