aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/World
diff options
context:
space:
mode:
authoroffl <11556157+offl@users.noreply.github.com>2021-12-18 19:30:35 +0200
committerShauren <shauren.trinity@gmail.com>2022-03-24 14:41:00 +0100
commitc3368fd5fc24dd589f8b4c737006db21ed9c4fa3 (patch)
treee263dad62812a904799ff6d7d72c245a7b4ded22 /src/server/scripts/World
parent299db7af1a0712c8a092da0a0f09bb10659ceed2 (diff)
Scripts/Quest: Rework 'The Cleansing' (11317,11322) (#27413)
(cherry picked from commit a8464d34bb0f77e0d616e6f21aaf7d7a79276180)
Diffstat (limited to 'src/server/scripts/World')
-rw-r--r--src/server/scripts/World/go_scripts.cpp43
1 files changed, 0 insertions, 43 deletions
diff --git a/src/server/scripts/World/go_scripts.cpp b/src/server/scripts/World/go_scripts.cpp
index bb5f8fe4629..6c54b193ff8 100644
--- a/src/server/scripts/World/go_scripts.cpp
+++ b/src/server/scripts/World/go_scripts.cpp
@@ -565,48 +565,6 @@ class go_veil_skith_cage : public GameObjectScript
};
/*######
-## go_frostblade_shrine
-######*/
-
-enum TheCleansing
-{
- QUEST_THE_CLEANSING_HORDE = 11317,
- QUEST_THE_CLEANSING_ALLIANCE = 11322,
- SPELL_CLEANSING_SOUL = 43351,
- SPELL_RECENT_MEDITATION = 61720,
-};
-
-class go_frostblade_shrine : public GameObjectScript
-{
-public:
- go_frostblade_shrine() : GameObjectScript("go_frostblade_shrine") { }
-
- struct go_frostblade_shrineAI : public GameObjectAI
- {
- go_frostblade_shrineAI(GameObject* go) : GameObjectAI(go) { }
-
- bool OnGossipHello(Player* player) override
- {
- me->UseDoorOrButton(10);
- if (!player->HasAura(SPELL_RECENT_MEDITATION))
- {
- if (player->GetQuestStatus(QUEST_THE_CLEANSING_HORDE) == QUEST_STATUS_INCOMPLETE || player->GetQuestStatus(QUEST_THE_CLEANSING_ALLIANCE) == QUEST_STATUS_INCOMPLETE)
- {
- player->CastSpell(player, SPELL_CLEANSING_SOUL);
- player->SetStandState(UNIT_STAND_STATE_SIT);
- }
- }
- return true;
- }
- };
-
- GameObjectAI* GetAI(GameObject* go) const override
- {
- return new go_frostblade_shrineAI(go);
- }
-};
-
-/*######
## go_midsummer_bonfire
######*/
@@ -1195,7 +1153,6 @@ void AddSC_go_scripts()
new go_amberpine_outhouse();
new go_massive_seaforium_charge();
new go_veil_skith_cage();
- new go_frostblade_shrine();
new go_midsummer_bonfire();
new go_midsummer_ribbon_pole();
new go_brewfest_music();