This commit is contained in:
aozhiwei 2019-07-15 13:49:46 +08:00
parent 855d90204f
commit 08797e7f1d
2 changed files with 4 additions and 0 deletions

View File

@ -33,6 +33,9 @@ void Player::Initialize()
health = meta->i->health();
max_energy_shield = energy_shield;
skin_meta = MetaMgr::Instance()->GetTank(SkinId());
if (skin_meta) {
skill_meta = MetaMgr::Instance()->GetSkill(skin_meta->i->skill_id());
}
RecalcBuff();
}

View File

@ -209,6 +209,7 @@ message Tank
required int32 id = 1;
required int32 bullet_id = 2;
required int32 max_lv = 3;
optional int32 skill_id = 4;
}
//end