This commit is contained in:
aozhiwei 2022-06-14 11:09:55 +08:00
parent 81f9c62a6e
commit 09db1b9faa
2 changed files with 3 additions and 3 deletions

View File

@ -139,6 +139,7 @@ CREATE TABLE `t_hero` (
`skill_lv1` int(11) NOT NULL DEFAULT '0' COMMENT '必杀技等级',
`skill_lv2` int(11) NOT NULL DEFAULT '0' COMMENT '躲避技能等级',
`try_count` int(11) NOT NULL DEFAULT '0' COMMENT '剩余体验次数 当state=1时才有意义',
`advanced_count` int(11) NOT NULL DEFAULT '0' COMMENT '进阶次数',
`lock_type` int(11) NOT NULL DEFAULT '0' COMMENT '0:无锁 1:升级 2:升阶',
`unlock_time` int(11) NOT NULL DEFAULT '0' COMMENT '解锁时间',
`unlock_trade_time` int(11) NOT NULL DEFAULT '0' COMMENT '出售解锁时间',

View File

@ -148,7 +148,6 @@ class Hero extends BaseModel {
$speed = 0;
$atk = 0;
$def = 0;
$advancedCount = 0;
$heroLucky = 0;
$dto = array(
'token_id' => $row['token_id'],
@ -180,8 +179,8 @@ class Hero extends BaseModel {
'speed' => $speed,
'atk' => $atk,
'def' => $def,
'advanced_count' => $advancedCount,
'lucky' => $lucky
'advanced_count' => $row['advanced_count'],
'lucky' => $heroLucky
);
$dto['ceg_uplimit'] = FormulaService::getHeroPvpDailyCegUpLimit($dto);
$dto['raw_pve_ceg_uplimit'] =