1
This commit is contained in:
parent
73bcb52c17
commit
345aa7408a
@ -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,
|
||||
));
|
||||
|
@ -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) );
|
||||
|
@ -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) );
|
||||
|
Loading…
x
Reference in New Issue
Block a user