From b2a49ad79a71c2a93e12bf55afe19e8e9954033d Mon Sep 17 00:00:00 2001 From: azazel Date: Wed, 1 Sep 2010 10:40:44 +0600 Subject: Scripts/Blackrock Depths: fix spectral chalice spawning for quest with the same name (thanks niksad8). Closes issue #3086. Closes issue #2989. --HG-- branch : trunk --- .../EasternKingdoms/BlackrockDepths/instance_blackrock_depths.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') diff --git a/src/server/scripts/EasternKingdoms/BlackrockDepths/instance_blackrock_depths.cpp b/src/server/scripts/EasternKingdoms/BlackrockDepths/instance_blackrock_depths.cpp index a9f24cfba25..b1e3d2a4735 100644 --- a/src/server/scripts/EasternKingdoms/BlackrockDepths/instance_blackrock_depths.cpp +++ b/src/server/scripts/EasternKingdoms/BlackrockDepths/instance_blackrock_depths.cpp @@ -116,6 +116,7 @@ public: uint64 GoGolemSGUID; uint64 GoThroneGUID; uint64 GoChestGUID; + uint64 GoSpectralChaliceGUID; uint32 BarAleCount; uint32 GhostKillCount; @@ -152,6 +153,7 @@ public: GoGolemSGUID = 0; GoThroneGUID = 0; GoChestGUID = 0; + GoSpectralChaliceGUID = 0; BarAleCount = 0; GhostKillCount = 0; @@ -214,6 +216,7 @@ public: case GO_GOLEM_ROOM_S: GoGolemSGUID = pGo->GetGUID(); break; case GO_THRONE_ROOM: GoThroneGUID = pGo->GetGUID(); break; case GO_CHEST_SEVEN: GoChestGUID = pGo->GetGUID(); break; + case GO_SPECTRAL_CHALICE: GoSpectralChaliceGUID = pGo->GetGUID(); break; } } @@ -339,6 +342,8 @@ public: return GoGolemNGUID; case DATA_GOLEM_DOOR_S: return GoGolemSGUID; + case DATA_GO_CHALICE: + return GoSpectralChaliceGUID; } return 0; } -- cgit v1.2.3