Scripts/Obsidian Sanctum Add support for when encounter is in progress. thnx to kiper
--HG-- branch : trunk
This commit is contained in:
@@ -62,6 +62,15 @@ public:
|
|||||||
m_bVesperonKilled = false;
|
m_bVesperonKilled = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool IsEncounterInProgress() const
|
||||||
|
{
|
||||||
|
for (uint8 i = 0; i < MAX_ENCOUNTER; ++i)
|
||||||
|
if (m_auiEncounter[i] == IN_PROGRESS)
|
||||||
|
return true;
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
void OnCreatureCreate(Creature* creature)
|
void OnCreatureCreate(Creature* creature)
|
||||||
{
|
{
|
||||||
switch(creature->GetEntry())
|
switch(creature->GetEntry())
|
||||||
|
|||||||
Reference in New Issue
Block a user