From e761d578dadabd4514867764a2ceec61928bf902 Mon Sep 17 00:00:00 2001 From: Brian Date: Thu, 8 Jul 2010 02:22:20 -0600 Subject: * Implement proper script support for quest "The Prophecy of Akida" (9544) * Script by antihrist --HG-- branch : trunk --- src/server/scripts/World/go_scripts.cpp | 27 --------------------------- 1 file changed, 27 deletions(-) (limited to 'src/server/scripts/World') diff --git a/src/server/scripts/World/go_scripts.cpp b/src/server/scripts/World/go_scripts.cpp index 84ce38dd243..ca7a136c2fb 100755 --- a/src/server/scripts/World/go_scripts.cpp +++ b/src/server/scripts/World/go_scripts.cpp @@ -943,28 +943,6 @@ bool GOSelect_go_amberpine_outhouse(Player *pPlayer, GameObject *pGO, uint32 /*u return false; } -/*###### -## Quest 9544: The Prophecy of Akida -######*/ - -enum eProphecy -{ - QUEST_PROPHECY_OF_AKIDA = 9544, - NPC_STILLPINE_CAPTIVE = 17375 -}; - -bool GOHello_go_stillpine_cage(Player *pPlayer, GameObject *pGO) -{ - if (pPlayer->GetQuestStatus(QUEST_PROPHECY_OF_AKIDA) == QUEST_STATUS_INCOMPLETE) - if (Creature *pPrisoner = pGO->FindNearestCreature(NPC_STILLPINE_CAPTIVE,1.0f)) - { - pGO->UseDoorOrButton(); - pPrisoner->DisappearAndDie(); - pPlayer->KilledMonsterCredit(pPrisoner->GetEntry(),0); - } - return true; -} - /*###### ## Quest 1126: Hive in the Tower ######*/ @@ -1160,11 +1138,6 @@ void AddSC_go_scripts() newscript->pGOHello = &GOHello_go_black_cage; newscript->RegisterSelf(); - newscript = new Script; - newscript->Name = "go_stillpine_cage"; - newscript->pGOHello = &GOHello_go_stillpine_cage; - newscript->RegisterSelf(); - newscript = new Script; newscript->Name = "go_amberpine_outhouse"; newscript->pGOHello = &GOHello_go_amberpine_outhouse; -- cgit v1.2.3