aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorazazel <none@none>2010-09-01 10:40:44 +0600
committerazazel <none@none>2010-09-01 10:40:44 +0600
commitb2a49ad79a71c2a93e12bf55afe19e8e9954033d (patch)
tree63041ae46aa58d8fcb8ec61122fd8a864ab20196 /src
parent80df469a382a1433773798c6553bb2bfd3fbad14 (diff)
Scripts/Blackrock Depths: fix spectral chalice spawning for quest with the same name (thanks niksad8). Closes issue #3086. Closes issue #2989.
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/server/scripts/EasternKingdoms/BlackrockDepths/instance_blackrock_depths.cpp5
1 files changed, 5 insertions, 0 deletions
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;
}