This commit is contained in:
aozhiwei 2023-03-31 16:37:00 +08:00
parent c6ef63c0d0
commit 27463f3519

View File

@ -428,7 +428,7 @@ void BattleDataContext::ParseResult(a8::XObject& obj)
if (obj.HasKey("hero_dto") && obj.At("hero_dto")->IsObject()) {
hero_dto = obj.At("hero_dto");
hero_ability_->hero_uniid_ = hero_dto->Get("hero_uniid", "");
hero_ability_->spec_skill_id = hero_dto->Get("skill_id", "");
hero_ability_->spec_skill_id = obj.Get("skill_id", "");
hero_ability_->hero_dto = hero_dto;
hero_lv_ = hero_dto->HasKey("hero_lv") ? hero_dto->Get("hero_lv").GetInt() : 1;
const mt::Hero* meta = mt::Hero::GetById(hero_dto->Get("hero_id", ""));