修复英雄体力问题
This commit is contained in:
parent
a9da94e47c
commit
9432aa8235
@ -38,6 +38,7 @@ class Hero extends BaseModel {
|
||||
|
||||
public static function addHero($heroMeta)
|
||||
{
|
||||
$realHeroMeta = mt\Hero::get($heroMeta['id']);
|
||||
SqlHelper::upsert(
|
||||
myself()->_getSelfMysql(),
|
||||
't_hero',
|
||||
@ -51,6 +52,7 @@ class Hero extends BaseModel {
|
||||
'account_id' => myself()->_getAccountId(),
|
||||
'hero_id' => $heroMeta['id'],
|
||||
'hero_lv' => 1,
|
||||
'hero_tili' => $realHeroMeta ? $realHeroMeta['tili'] : 0,
|
||||
#'skin_id' => $defSkin,
|
||||
'skill_lv1' => 1,
|
||||
'skill_lv2' => 1,
|
||||
|
Loading…
x
Reference in New Issue
Block a user