1
This commit is contained in:
parent
8c21f208c6
commit
78831a30de
@ -212,9 +212,14 @@ class Hero(object):
|
|||||||
['skill_lv1', 0, '必杀技等级'],
|
['skill_lv1', 0, '必杀技等级'],
|
||||||
['skill_lv2', 0, '躲避技能等级'],
|
['skill_lv2', 0, '躲避技能等级'],
|
||||||
['ceg_uplimit', 0, 'ceg今天获取上限'],
|
['ceg_uplimit', 0, 'ceg今天获取上限'],
|
||||||
|
['pve_ceg_uplimit', 0, 'pve ceg今天获取上限'],
|
||||||
['!attr', [Attr()], '属性'],
|
['!attr', [Attr()], '属性'],
|
||||||
['try_count', 0, '剩余体验次数 当state=1时才有意义'],
|
['try_count', 0, '剩余体验次数 当state=1时才有意义'],
|
||||||
['lock_type', 0, '0:无锁 1:升级 2:升阶'],
|
['lock_type', 0, '0:无锁 1:升级 2:升阶'],
|
||||||
|
['today_get_gold', 0, '今天pvp获取的ceg数量'],
|
||||||
|
['last_pve_get_ceg_time', 0, '最后一次获取pve获取ceg时间'],
|
||||||
|
['last_get_gold_time', 0, '今天pvp获取的ceg数量'],
|
||||||
|
['last_pve_get_ceg_time', 0, '最后一次获取pve获取ceg时间'],
|
||||||
['unlock_time', 0, '使用解锁utc时间(升级或者升阶触发),锁定期间不可战斗和做其他操作,配合lock_type使用'],
|
['unlock_time', 0, '使用解锁utc时间(升级或者升阶触发),锁定期间不可战斗和做其他操作,配合lock_type使用'],
|
||||||
['unlock_trade_time', 0, '出售解锁utc时间(升级或者升阶完成后触发),只锁交易,其他的操作仍可进行,和lock_type无关是独立的锁!!!'],
|
['unlock_trade_time', 0, '出售解锁utc时间(升级或者升阶完成后触发),只锁交易,其他的操作仍可进行,和lock_type无关是独立的锁!!!'],
|
||||||
]
|
]
|
||||||
|
@ -159,13 +159,15 @@ class Gun extends BaseModel {
|
|||||||
'lock_type' => $lockType,
|
'lock_type' => $lockType,
|
||||||
'today_get_gold' => $todayGetGold,
|
'today_get_gold' => $todayGetGold,
|
||||||
'last_get_gold_time' => $lastGetGoldTime,
|
'last_get_gold_time' => $lastGetGoldTime,
|
||||||
|
'today_pve_get_ceg' => $todayPveGetCeg,
|
||||||
|
'last_pve_get_ceg_time' => $lastPveGetCegTime,
|
||||||
'unlock_time' => $unlockTime,
|
'unlock_time' => $unlockTime,
|
||||||
'unlock_trade_time' => $row['unlock_trade_time'],
|
'unlock_trade_time' => $row['unlock_trade_time'],
|
||||||
);
|
);
|
||||||
$dto['ceg_uplimit'] = FormulaService::getWeaponPvpDailyCegUpLimit($dto);
|
$dto['ceg_uplimit'] = FormulaService::getWeaponPvpDailyCegUpLimit($dto);
|
||||||
$dto['raw_pve_ceg_uplimit'] =
|
$dto['raw_pve_ceg_uplimit'] =
|
||||||
FormulaService::getWeaponPveDailyCegUpLimit($dto);
|
FormulaService::getWeaponPveDailyCegUpLimit($dto);
|
||||||
$dto['pve_ceg_uplimit'] = round($dto['pve_ceg_uplimit'] * 0.9);
|
$dto['pve_ceg_uplimit'] = round($dto['raw_pve_ceg_uplimit'] * 0.9);
|
||||||
return $dto;
|
return $dto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -160,7 +160,7 @@ class Hero extends BaseModel {
|
|||||||
$dto['ceg_uplimit'] = FormulaService::getHeroPvpDailyCegUpLimit($dto);
|
$dto['ceg_uplimit'] = FormulaService::getHeroPvpDailyCegUpLimit($dto);
|
||||||
$dto['raw_pve_ceg_uplimit'] =
|
$dto['raw_pve_ceg_uplimit'] =
|
||||||
FormulaService::getHeroPveDailyCegUpLimit($dto);
|
FormulaService::getHeroPveDailyCegUpLimit($dto);
|
||||||
$dto['pve_ceg_uplimit'] = round($dto['pve_ceg_uplimit'] * 0.9);
|
$dto['pve_ceg_uplimit'] = round($dto['raw_pve_ceg_uplimit'] * 0.9);
|
||||||
return $dto;
|
return $dto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user