This commit is contained in:
aozhiwei 2023-09-28 14:59:03 +08:00
parent 8e7873aa5d
commit 25e0ae1fff

View File

@ -806,6 +806,7 @@ Hero* Room::CreateHero(Creature* master,
hero->SetAttackDir(dir);
hero->team_id = team_id;
hero->Initialize();
hero->hero_level = hero->GetBattleContext()->GetHeroLevel();
AddToEntityHash(hero);
AddToMoveableHash(hero);
grid_service->AddCreature(hero);