TrinityCore/TrinityCore — Issue #3703: [Quest/FIX] Heroes of Old
Author: Discover-
Created: 2011-10-25 15:59:54+00:00
State: open

Text

```cpp
From cdaa00e1b591944135f4ab273b7ae39402b07888 Mon Sep 17 00:00:00 2001
From: root
Date: Sun, 9 Oct 2011 16:06:58 +0200
Subject: [PATCH] The core part of quest_start_scripts converting

---
.../scripts/EasternKingdoms/blasted_lands.cpp | 7 ++
.../scripts/EasternKingdoms/stormwind_city.cpp | 73 --------------------
src/server/scripts/Outland/shadowmoon_valley.cpp | 13 +++-
3 files changed, 16 insertions(+), 77 deletions(-)

diff --git a/src/server/scripts/EasternKingdoms/blasted_lands.cpp b/src/server/scripts/EasternKingdoms/blasted_lands.cpp
index 048fd8d..4b7f56f 100644
--- a/src/server/scripts/EasternKingdoms/blasted_lands.cpp
+++ b/src/server/scripts/EasternKingdoms/blasted_lands.cpp
@@ -159,6 +159,13 @@ public:
return true;
}

+ bool OnQuestAccept(Player* player, Creature* creature, Quest const* quest)
+ {
+ if (quest->GetQuestId() == 2702) // Heroes of Old
+ creature->SummonCreature(7750, -10630.3f, -2987.05f, 28.96f, 4.54f, TEMPSUMMON_TIMED_OR_DEAD_DESPAWN, 9000000);
+
+ return true;
+ }
};
```