Skip to content

Commit cf26431

Browse files
calaxfurry
authored andcommitted
Small cosmetic improvement to quest 4901
The visual effect associated to the gem GO now also respawns with the gem GO (based on commit SD2-TBC[Small cosmetic improvement to quest 4901] - 301b4f0) Signed-off-by: xfurry <xfurry@scriptdev2.com>
1 parent 4609f4b commit cf26431

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

scripts/kalimdor/winterspring.cpp

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ enum
8888
GO_ELUNE_FIRE = 177417,
8989
GO_ELUNE_GEM = 177414, // is respawned in script
9090
GO_ELUNE_LIGHT = 177415, // are respawned in script
91+
GO_ELUNE_AURA = 177416, // is respawned in script
9192

9293
QUEST_GUARDIANS_ALTAR = 4901,
9394
};
@@ -301,7 +302,7 @@ struct npc_ranshallaAI : public npc_escortAI, private DialogueHelper
301302
SetEscortPaused(false);
302303
break;
303304
case SAY_PRIESTESS_ALTAR_8:
304-
// make the gem respawn
305+
// make the gem and its aura respawn
305306
if (GameObject* pGem = GetClosestGameObjectWithEntry(m_creature, GO_ELUNE_GEM, 10.0f))
306307
{
307308
if (pGem->isSpawned())
@@ -310,6 +311,14 @@ struct npc_ranshallaAI : public npc_escortAI, private DialogueHelper
310311
pGem->SetRespawnTime(90);
311312
pGem->Refresh();
312313
}
314+
if (GameObject* pAura = GetClosestGameObjectWithEntry(m_creature, GO_ELUNE_AURA, 10.0f))
315+
{
316+
if (pAura->isSpawned())
317+
break;
318+
319+
pAura->SetRespawnTime(90);
320+
pAura->Refresh();
321+
}
313322
break;
314323
case SAY_PRIESTESS_ALTAR_9:
315324
// move near the escort npc

0 commit comments

Comments
 (0)