diff options
| author | Subv <s.v.h21@hotmail.com> | 2012-12-28 11:45:46 -0500 |
|---|---|---|
| committer | Subv <s.v.h21@hotmail.com> | 2012-12-28 11:45:46 -0500 |
| commit | ff5b0a14a4e542a102b9adb84bc8e1ee7396180b (patch) | |
| tree | e559cbebd9afbd6058f06e1a23bdaabd77450644 /src/server/scripts/Kalimdor | |
| parent | 06d44ad32d2583c1085b8d7754ac26d9d58cd01f (diff) | |
| parent | 4065b17c94859a7e7e312c0db621d9990095201e (diff) | |
Merge branch 'master' of https://github.com/TrinityCore/TrinityCore into mmaps
Diffstat (limited to 'src/server/scripts/Kalimdor')
| -rw-r--r-- | src/server/scripts/Kalimdor/azuremyst_isle.cpp | 2 | ||||
| -rw-r--r-- | src/server/scripts/Kalimdor/bloodmyst_isle.cpp | 2 | ||||
| -rw-r--r-- | src/server/scripts/Kalimdor/dustwallow_marsh.cpp | 2 | ||||
| -rw-r--r-- | src/server/scripts/Kalimdor/thousand_needles.cpp | 1 |
4 files changed, 5 insertions, 2 deletions
diff --git a/src/server/scripts/Kalimdor/azuremyst_isle.cpp b/src/server/scripts/Kalimdor/azuremyst_isle.cpp index 3f1ae0fa3bf..9747150e736 100644 --- a/src/server/scripts/Kalimdor/azuremyst_isle.cpp +++ b/src/server/scripts/Kalimdor/azuremyst_isle.cpp @@ -586,6 +586,7 @@ public: bool OnGossipHello(Player* player, GameObject* go) { + go->UseDoorOrButton(); if (player->GetQuestStatus(QUEST_STRENGTH_ONE) == QUEST_STATUS_INCOMPLETE) { if (Creature* ravager = go->FindNearestCreature(NPC_DEATH_RAVAGER, 5.0f, true)) @@ -741,6 +742,7 @@ class go_bristlelimb_cage : public GameObjectScript bool OnGossipHello(Player* player, GameObject* go) { + go->SetGoState(GO_STATE_READY); if (player->GetQuestStatus(QUEST_THE_PROPHECY_OF_AKIDA) == QUEST_STATUS_INCOMPLETE) { if (Creature* capitive = go->FindNearestCreature(NPC_STILLPINE_CAPITIVE, 5.0f, true)) diff --git a/src/server/scripts/Kalimdor/bloodmyst_isle.cpp b/src/server/scripts/Kalimdor/bloodmyst_isle.cpp index 3b77ee34275..dec01dfec2b 100644 --- a/src/server/scripts/Kalimdor/bloodmyst_isle.cpp +++ b/src/server/scripts/Kalimdor/bloodmyst_isle.cpp @@ -168,9 +168,9 @@ public: bool OnGossipHello(Player* player, GameObject* go) { + go->SetGoState(GO_STATE_READY); if (Creature* stillpine = go->FindNearestCreature(NPC_PRINCESS_STILLPINE, 25, true)) { - go->SetGoState(GO_STATE_ACTIVE); stillpine->GetMotionMaster()->MovePoint(1, go->GetPositionX(), go->GetPositionY()-15, go->GetPositionZ()); player->CastedCreatureOrGO(NPC_PRINCESS_STILLPINE, 0, SPELL_OPENING_PRINCESS_STILLPINE_CREDIT); } diff --git a/src/server/scripts/Kalimdor/dustwallow_marsh.cpp b/src/server/scripts/Kalimdor/dustwallow_marsh.cpp index 018b39c58e8..40ec3141ee9 100644 --- a/src/server/scripts/Kalimdor/dustwallow_marsh.cpp +++ b/src/server/scripts/Kalimdor/dustwallow_marsh.cpp @@ -751,9 +751,9 @@ public: bool OnGossipHello(Player* player, GameObject* go) { + go->UseDoorOrButton(); if (Creature* prisoner = go->FindNearestCreature(NPC_THERAMORE_PRISONER, 1.0f)) { - go->UseDoorOrButton(); if (player) player->KilledMonsterCredit(NPC_THERAMORE_PRISONER, 0); diff --git a/src/server/scripts/Kalimdor/thousand_needles.cpp b/src/server/scripts/Kalimdor/thousand_needles.cpp index 53751cb8278..ec75d8fe2ac 100644 --- a/src/server/scripts/Kalimdor/thousand_needles.cpp +++ b/src/server/scripts/Kalimdor/thousand_needles.cpp @@ -406,6 +406,7 @@ public: bool OnGossipHello(Player* player, GameObject* go) { + go->UseDoorOrButton(); if (player->GetQuestStatus(5151) == QUEST_STATUS_INCOMPLETE) { if (Creature* panther = go->FindNearestCreature(ENRAGED_PANTHER, 5, true)) |
