Skip to content

Commit

Permalink
Ramparts: correct some code to trigger boss aggro
Browse files Browse the repository at this point in the history
remove some not needed code, hellfire sentry are never temporarysummons
  • Loading branch information
miraco authored and killerwife committed Jul 7, 2024
1 parent c9cd5d3 commit 8c26c9b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,12 @@ void instance_ramparts::OnCreatureCreate(Creature* pCreature)
{
switch (pCreature->GetEntry())
{
case NPC_VAZRUDEN_HERALD:
case NPC_VAZRUDEN:
m_npcEntryGuidStore[pCreature->GetEntry()] = pCreature->GetObjectGuid();
break;
case NPC_HELLFIRE_SENTRY:
if (pCreature->IsTemporarySummon())
m_VazrudenTemporaryGuids.push_back(pCreature->GetObjectGuid());
else
m_VazrudenPermanentGuids.push_back(pCreature->GetDbGuid());
m_VazrudenPermanentGuids.push_back(pCreature->GetDbGuid());
break;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ class instance_ramparts : public ScriptedInstance

uint32 m_uiSentryCounter;
std::vector<uint32> m_VazrudenPermanentGuids;
GuidVector m_VazrudenTemporaryGuids;
};

#endif

0 comments on commit 8c26c9b

Please sign in to comment.