This commit is contained in:
hujiabin 2023-03-07 15:39:18 +08:00
parent 73bcb52c17
commit 345aa7408a
3 changed files with 6 additions and 3 deletions

View File

@ -12,7 +12,10 @@ class HeroSkillController extends BaseAuthedController
{
public function getSkillList(){
$skillList = \mt\Skill::getPresetSkill();
$list = array_column($skillList,'skill_id');
$list = array();
foreach ($skillList as $skill){
$list[] = $skill['skill_id'];
}
$this->_rspData(array(
'data' => $list,
));

View File

@ -300,7 +300,7 @@ class Gun extends BaseModel {
$unlockTime - myself()->_getNowTime()),
'unlock_trade_time' => $row['unlock_trade_time'],
'offer_reward_state' => 0,
'tags' => $row['tags'],
'tags' => $row['tags']?:'',
);
// $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) );

View File

@ -297,7 +297,7 @@ class Hero extends BaseModel {
'advanced_count' => $row['advanced_count'],
// 'lucky' => $heroLucky,
'offer_reward_state' => 0,
'tags' => $row['tags'],
'tags' => $row['tags']?:'',
);
// $dto['hero_tili_max'] = strval(round(FormulaService::Hero_NFT_Maximum_Physical_Strength($dto['quality'],$dto['lucky']),3));
// $dto['pvp_ceg_uplimit'] =strval( round(FormulaService::getHeroPvpDailyCegUpLimit($dto),2) );