@@ -111,7 +111,7 @@ public:
|
||||
instance->SetData(TYPE_MEDIVH, IN_PROGRESS);
|
||||
DoCast(me, SPELL_CHANNEL, false);
|
||||
Check_Timer = 5000;
|
||||
}
|
||||
}
|
||||
else if (who->GetTypeId() == TYPEID_UNIT && me->IsWithinDistInMap(who, 15.0f))
|
||||
{
|
||||
if (instance->GetData(TYPE_MEDIVH) != IN_PROGRESS)
|
||||
@@ -170,7 +170,7 @@ public:
|
||||
{
|
||||
if (SpellCorrupt_Timer <= diff)
|
||||
{
|
||||
instance->SetData(TYPE_MEDIVH, SPECIAL);
|
||||
instance->SetData(TYPE_MEDIVH, SPECIAL);
|
||||
|
||||
if (me->HasAura(SPELL_CORRUPT_AEONUS))
|
||||
SpellCorrupt_Timer = 1000;
|
||||
|
||||
@@ -308,7 +308,8 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
void SpawnPyramidWave(uint32 wave){
|
||||
void SpawnPyramidWave(uint32 wave)
|
||||
{
|
||||
for (int i = 0; i < pyramidSpawnTotal; i++)
|
||||
{
|
||||
if (pyramidSpawns[i][0] == (float)wave)
|
||||
@@ -321,7 +322,8 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
bool IsWaveAllDead(){
|
||||
bool IsWaveAllDead()
|
||||
{
|
||||
for (std::list<uint64>::iterator itr = addsAtBase.begin(); itr != addsAtBase.end(); ++itr)
|
||||
{
|
||||
if (Creature* add = instance->GetCreature((*itr)))
|
||||
|
||||
@@ -234,7 +234,6 @@ public:
|
||||
void WaypointReached(uint32 i)
|
||||
{
|
||||
Player* player = GetPlayerForEscort();
|
||||
|
||||
if (!player)
|
||||
return;
|
||||
|
||||
|
||||
@@ -53,12 +53,12 @@ public:
|
||||
|
||||
bool OnGossipHello(Player* player, Creature* creature)
|
||||
{
|
||||
uint32 eCreature = creature->GetEntry();
|
||||
|
||||
if (creature->isQuestGiver())
|
||||
player->PrepareQuestMenu(creature->GetGUID());
|
||||
|
||||
if (eCreature == 9528)
|
||||
uint32 creatureId = creature->GetEntry();
|
||||
|
||||
if (creatureId == 9528)
|
||||
{
|
||||
if (player->GetQuestRewardStatus(4101))
|
||||
{
|
||||
@@ -70,7 +70,7 @@ public:
|
||||
player->SEND_GOSSIP_MENU(2844, creature->GetGUID());
|
||||
}
|
||||
|
||||
if (eCreature == 9529)
|
||||
if (creatureId == 9529)
|
||||
{
|
||||
if (player->GetQuestRewardStatus(4102))
|
||||
{
|
||||
@@ -84,7 +84,6 @@ public:
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
void AddSC_felwood()
|
||||
|
||||
Reference in New Issue
Block a user