aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/scripts/world/go_scripts.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/scripts/world/go_scripts.cpp b/src/scripts/world/go_scripts.cpp
index 76b8c197f66..67b84279ece 100644
--- a/src/scripts/world/go_scripts.cpp
+++ b/src/scripts/world/go_scripts.cpp
@@ -385,12 +385,17 @@ enum eDalaranCrystal
QUEST_TELE_CRYSTAL_FLAG = 12845
};
+#define GO_TELE_TO_DALARAN_CRYSTAL_FAILED "This teleport crystal cannot be used until the teleport crystal in Dalaran has been used at least once."
+
bool GOHello_go_tele_to_dalaran_crystal(Player *pPlayer, GameObject *pGO)
{
if (pPlayer->GetQuestRewardStatus(QUEST_TELE_CRYSTAL_FLAG))
+ {
return false;
+ }
+ else
+ pPlayer->GetSession()->SendNotification(GO_TELE_TO_DALARAN_CRYSTAL_FAILED);
- //TODO: must send error message (what kind of message? On-screen?)
return true;
}