Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- From a377a3cc218a2d7f63960c7a9fc864ec7875a517 Mon Sep 17 00:00:00 2001
- From: unknown <cristi@cristis-PC.(none)>
- Date: Sat, 21 Jul 2012 19:40:34 +0300
- Subject: [PATCH] Fix quest Breaking the Bonds.
- ---
- src/server/scripts/Maelstrom/deepholm.cpp | 33 +++++++++++++++++++++++++++++
- 1 file changed, 33 insertions(+)
- diff --git a/src/server/scripts/Maelstrom/deepholm.cpp b/src/server/scripts/Maelstrom/deepholm.cpp
- index f664257..09af097 100644
- --- a/src/server/scripts/Maelstrom/deepholm.cpp
- +++ b/src/server/scripts/Maelstrom/deepholm.cpp
- @@ -925,6 +925,38 @@ class npc_bound_elemental : public CreatureScript
- }
- };
- +/*######
- +## Quest 25514: Breaking the Bonds
- +## go_rod_of_subjugations
- +######*/
- +
- +enum PreparingTheSoilEntries
- +{
- + QUEST_BREAKING_THE_BONDS = 25502,
- + GO_FIRST_ROD_OF_SUBJUGATION = 202954,
- + GO_SECOND_ROD_OF_SUBJUGATION = 202955,
- + CREDIT_FIRST_ROD = 40544,
- + CREDIT_SECOND_ROD = 40545
- +};
- +
- +class go_rod_of_subjugations : public GameObjectScript
- +{
- +public:
- + go_rod_of_subjugations() : GameObjectScript("go_rod_of_subjugations") {}
- +
- + bool OnGossipHello(Player* player, GameObject* go)
- + {
- + switch(go->GetEntry())
- + {
- + case GO_FIRST_ROD_OF_SUBJUGATION: player->KilledMonsterCredit(CREDIT_FIRST_ROD,0); break;
- + case GO_SECOND_ROD_OF_SUBJUGATION : player->KilledMonsterCredit(CREDIT_SECOND_ROD,0); break;
- + default: break;
- + }
- +
- + return true;
- + }
- +};
- +
- void AddSC_deepholm()
- {
- new npc_lodestone();
- @@ -944,4 +976,5 @@ void AddSC_deepholm()
- new spell_stonefather_banner();
- new npc_fly_over_bunny();
- new npc_bound_elemental();
- + new go_rod_of_subjugations();
- }
- --
- 1.7.10.msysgit.1
Advertisement
Add Comment
Please, Sign In to add comment