1
This commit is contained in:
parent
d3d1a680d4
commit
64ea33df3b
@ -684,8 +684,6 @@ class Hero extends BaseModel {
|
|||||||
myself()->_getNowDaySeconds()) {
|
myself()->_getNowDaySeconds()) {
|
||||||
$todayPveGetCeg = 0;
|
$todayPveGetCeg = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
$heroLucky = \services\FormulaService::Hero_Advanced_Lucky_Value($row['quality']);
|
|
||||||
$info = array(
|
$info = array(
|
||||||
'idx' => $row['idx'],
|
'idx' => $row['idx'],
|
||||||
'token_id' => $row['token_id'],
|
'token_id' => $row['token_id'],
|
||||||
@ -699,15 +697,8 @@ class Hero extends BaseModel {
|
|||||||
'current_pvp_get_ceg' => $todayGetGold / 100,
|
'current_pvp_get_ceg' => $todayGetGold / 100,
|
||||||
'current_pve_get_ceg' => $todayPveGetCeg / 100,
|
'current_pve_get_ceg' => $todayPveGetCeg / 100,
|
||||||
'advanced_count' => $row['advanced_count'],
|
'advanced_count' => $row['advanced_count'],
|
||||||
'lucky' => strval($heroLucky),
|
|
||||||
'chip_ids' => $row['chip_ids'],
|
|
||||||
'chip_strength_sum' => strval(Chip::getChipMaxStrength($row['chip_ids'],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) );
|
|
||||||
$info['pve_ceg_uplimit'] = strval( round(FormulaService::getHeroPveDailyCegUpLimit($info),2) );
|
|
||||||
return $info;
|
return $info;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user