This commit is contained in:
hujiabin 2022-12-08 16:22:00 +08:00
parent ee9a0a1c84
commit d0df1aa03e
2 changed files with 2 additions and 0 deletions

View File

@ -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) );

View File

@ -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) );