aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/scripts/world/go_scripts.cpp23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/scripts/world/go_scripts.cpp b/src/scripts/world/go_scripts.cpp
index b6f18a1b30b..65d5f250539 100644
--- a/src/scripts/world/go_scripts.cpp
+++ b/src/scripts/world/go_scripts.cpp
@@ -960,6 +960,24 @@ bool GOHello_go_stillpine_cage(Player *pPlayer, GameObject *pGO)
return true;
}
+/*######
+## Quest 1126: Hive in the Tower
+######*/
+
+enum eHives
+{
+ QUEST_HIVE_IN_THE_TOWER = 9544,
+ NPC_HIVE_AMBUSHER = 13301
+};
+
+bool GOHello_go_hive_pod(Player *pPlayer, GameObject *pGO)
+{
+ pPlayer->SendLoot(pGO->GetGUID(), LOOT_CORPSE);
+ pGO->SummonCreature(NPC_HIVE_AMBUSHER,pGO->GetPositionX()+1,pGO->GetPositionY(),pGO->GetPositionZ(),pGO->GetAngle(pPlayer),TEMPSUMMON_TIMED_OR_DEAD_DESPAWN, 60000);
+ pGO->SummonCreature(NPC_HIVE_AMBUSHER,pGO->GetPositionX(),pGO->GetPositionY()+1,pGO->GetPositionZ(),pGO->GetAngle(pPlayer),TEMPSUMMON_TIMED_OR_DEAD_DESPAWN, 60000);
+ return true;
+}
+
void AddSC_go_scripts()
{
Script *newscript;
@@ -1141,4 +1159,9 @@ void AddSC_go_scripts()
newscript->pGOHello = &GOHello_go_amberpine_outhouse;
newscript->pGOSelect = &GOSelect_go_amberpine_outhouse;
newscript->RegisterSelf();
+
+ newscript = new Script;
+ newscript->Name = "go_hive_pod";
+ newscript->pGOHello = &GOHello_go_hive_pod;
+ newscript->RegisterSelf();
}