This commit is contained in:
hujiabin 2022-09-20 19:23:33 +08:00
parent 17a5721080
commit a4c3cf9714

View File

@ -353,10 +353,10 @@ class FragmentController extends BaseAuthedController
'hero_tili_max' => strval(round(FormulaService::Hero_NFT_Maximum_Physical_Strength(1,$heroLucky),3)),
'chip_strength_sum' =>0,
);
$hero['current_pvp_get_ceg'] = strval(FormulaService::getHeroPvpDailyCegUpLimit($hero));
$hero['pvp_ceg_uplimit'] = strval(FormulaService::getHeroPvpDailyCegUpLimit($hero));
$hero['current_pve_get_ceg'] = strval(FormulaService::getHeroPveDailyCegUpLimit($hero));
$hero['pve_ceg_uplimit'] = strval(FormulaService::getHeroPveDailyCegUpLimit($hero));
$hero['current_pvp_get_ceg'] = strval(round(FormulaService::getHeroPvpDailyCegUpLimit($hero),2));
$hero['pvp_ceg_uplimit'] = strval(round(FormulaService::getHeroPvpDailyCegUpLimit($hero),2));
$hero['current_pve_get_ceg'] = strval(round(FormulaService::getHeroPveDailyCegUpLimit($hero),2));
$hero['pve_ceg_uplimit'] = strval(round(FormulaService::getHeroPveDailyCegUpLimit($hero),2));
$this->_rspData(array(
'data' => $hero
));
@ -373,10 +373,10 @@ class FragmentController extends BaseAuthedController
'durability_max' => strval(round(FormulaService::Weapon_NFT_Maximum_Durability(1,$gunLucky),3)),
'chip_strength_sum' =>0,
);
$gun['current_pvp_get_ceg'] = FormulaService::getWeaponPvpDailyCegUpLimit($gun);
$gun['pvp_ceg_uplimit'] = FormulaService::getWeaponPvpDailyCegUpLimit($gun);
$gun['current_pve_get_ceg'] = FormulaService::getWeaponPveDailyCegUpLimit($gun);
$gun['pve_ceg_uplimit'] = FormulaService::getWeaponPveDailyCegUpLimit($gun);
$gun['current_pvp_get_ceg'] = strval(round(FormulaService::getWeaponPvpDailyCegUpLimit($gun),2)) ;
$gun['pvp_ceg_uplimit'] = strval(round(FormulaService::getWeaponPvpDailyCegUpLimit($gun),2)) ;
$gun['current_pve_get_ceg'] = strval(round(FormulaService::getWeaponPveDailyCegUpLimit($gun),2)) ;
$gun['pve_ceg_uplimit'] = strval(round(FormulaService::getWeaponPveDailyCegUpLimit($gun),2)) ;
$this->_rspData(array(
'data' => $gun
));