We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 959617c + 7913999 commit 443a16fCopy full SHA for 443a16f
1 file changed
src/map/ai/controllers/automaton_controller.cpp
@@ -1493,7 +1493,7 @@ auto CAutomatonController::TryTPMove() -> bool
1493
{
1494
if (PAutomaton->health.tp >= 1000)
1495
1496
- const auto& FamilySkills = battleutils::GetMobSkillList(PAutomaton->m_Family);
+ const auto& FrameSkills = battleutils::GetMobSkillList(PAutomaton->m_MobSkillList);
1497
1498
std::vector<CMobSkill*> validSkills;
1499
@@ -1505,7 +1505,7 @@ auto CAutomatonController::TryTPMove() -> bool
1505
skilltype = SKILL_AUTOMATON_RANGED;
1506
}
1507
1508
- for (auto skillid : FamilySkills)
+ for (auto skillid : FrameSkills)
1509
1510
auto* PSkill = battleutils::GetMobSkill(skillid);
1511
if (PSkill && PAutomaton->GetSkill(skilltype) > PSkill->getParam() && PSkill->getParam() != -1 &&
0 commit comments