diff options
author | Rushor <Rushor@users.noreply.github.com> | 2020-02-28 19:21:50 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-28 19:21:50 +0100 |
commit | 0583445c05f92baf3ceb07aa842acb1d47804912 (patch) | |
tree | f98ef35bdc65bec3f085d5c80fe103706ecf96a1 /src | |
parent | 40542f01e3fec0bff2c6e5eadbe20e58f19b0fd8 (diff) |
Scripts/Gameobject: Move Orb of Command script to SAI. (#24189)
* Scripts/Gameobject: Move Orb of Command script to SAI.
* Scripts/Gameobject: Move Orb of Command script to SAI.
* Rename 2020_12_23_00_world.sql to 2020_02_28_03_world.sql
Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/server/scripts/World/go_scripts.cpp | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/src/server/scripts/World/go_scripts.cpp b/src/server/scripts/World/go_scripts.cpp index abeb7c286a2..583678ac58a 100644 --- a/src/server/scripts/World/go_scripts.cpp +++ b/src/server/scripts/World/go_scripts.cpp @@ -20,7 +20,6 @@ go_ethereum_prison go_ethereum_stasis go_shrine_of_the_birds go_southfury_moonstone -go_orb_of_command go_resonite_cask go_tablet_of_madness go_tablet_of_the_seven @@ -98,34 +97,6 @@ public: }; /*###### -## go_orb_of_command -######*/ - -class go_orb_of_command : public GameObjectScript -{ -public: - go_orb_of_command() : GameObjectScript("go_orb_of_command") { } - - struct go_orb_of_commandAI : public GameObjectAI - { - go_orb_of_commandAI(GameObject* go) : GameObjectAI(go) { } - - bool GossipHello(Player* player) override - { - if (player->GetQuestRewardStatus(7761)) - player->CastSpell(player, 23460, true); - - return true; - } - }; - - GameObjectAI* GetAI(GameObject* go) const override - { - return new go_orb_of_commandAI(go); - } -}; - -/*###### ## go_tablet_of_madness ######*/ @@ -1976,7 +1947,6 @@ public: void AddSC_go_scripts() { new go_gilded_brazier(); - new go_orb_of_command(); new go_shrine_of_the_birds(); new go_southfury_moonstone(); new go_tablet_of_madness(); |