Skip to content

Commit

Permalink
BossAI: Reset on home
Browse files Browse the repository at this point in the history
  • Loading branch information
insunaa authored and killerwife committed Oct 6, 2024
1 parent 82109e4 commit 41e8754
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/game/AI/ScriptDevAI/base/BossAI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ void BossAI::JustReachedHome()
if (ScriptedInstance* instance = static_cast<ScriptedInstance*>(m_creature->GetInstanceData()))
instance->SetData(m_instanceDataType, FAIL);
OpenEntrances();
Reset();
}

void BossAI::Aggro(Unit* who)
Expand Down

0 comments on commit 41e8754

Please sign in to comment.