From 8de5a84b84709a1c2509fde38968dcecad1512fe Mon Sep 17 00:00:00 2001 From: hujiabin Date: Thu, 9 Mar 2023 17:13:49 +0800 Subject: [PATCH] 1 --- webapp/models/Gun.php | 2 ++ webapp/models/Hero.php | 2 ++ 2 files changed, 4 insertions(+) diff --git a/webapp/models/Gun.php b/webapp/models/Gun.php index 55901bc1..03549c93 100644 --- a/webapp/models/Gun.php +++ b/webapp/models/Gun.php @@ -302,6 +302,8 @@ class Gun extends BaseModel { 'tags' => $row['tags']?:'', 'lucky' => strval($gunLucky), + 'chip_strength_sum' => 0, + 'labour' => 0, ); $dto['durability_max'] = strval(round(FormulaService::Weapon_NFT_Maximum_Durability($dto['quality'],$dto['lucky']),3)); $dto['pvp_ceg_uplimit'] = strval( round(FormulaService::getWeaponPvpDailyCegUpLimit($dto),2) ); diff --git a/webapp/models/Hero.php b/webapp/models/Hero.php index 7b9dee0f..b3bbc525 100644 --- a/webapp/models/Hero.php +++ b/webapp/models/Hero.php @@ -307,6 +307,8 @@ class Hero extends BaseModel { 'current_mission_get_ceg' => $todayMissionGetCeg / 100, 'last_mission_get_ceg_time' => $lastMissionGetCegTime, 'lucky' => $heroLucky, + 'chip_strength_sum' => 0, + 'labour' => 0, ); $dto['hero_tili_max'] = strval(round(FormulaService::Hero_NFT_Maximum_Physical_Strength($dto['quality'],$dto['lucky']),3));