diff options
| author | offl <offl@users.noreply.github.com> | 2020-05-21 21:21:38 +0200 |
|---|---|---|
| committer | Killyana <morphone1@gmail.com> | 2020-05-21 21:21:38 +0200 |
| commit | 9c1c34a79420b2513ee0009fcd84726c3ff95bfe (patch) | |
| tree | e0cc0aeff11b4699aef164884b7c7e1018247664 /src | |
| parent | b68f4d17d3e1a429f66c139068ef610fe3779a58 (diff) | |
DB/GameObject: Convert & update support for Tablet of Madness
Closes #24670
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 fe56f39d131..47ae3b3a2eb 100644 --- a/src/server/scripts/World/go_scripts.cpp +++ b/src/server/scripts/World/go_scripts.cpp @@ -21,7 +21,6 @@ go_ethereum_stasis go_shrine_of_the_birds go_southfury_moonstone go_resonite_cask -go_tablet_of_madness go_tablet_of_the_seven go_tele_to_dalaran_crystal go_tele_to_violet_stand @@ -95,34 +94,6 @@ public: }; /*###### -## go_tablet_of_madness -######*/ - -class go_tablet_of_madness : public GameObjectScript -{ -public: - go_tablet_of_madness() : GameObjectScript("go_tablet_of_madness") { } - - struct go_tablet_of_madnessAI : public GameObjectAI - { - go_tablet_of_madnessAI(GameObject* go) : GameObjectAI(go) { } - - bool GossipHello(Player* player) override - { - if (player->HasSkill(SKILL_ALCHEMY) && player->GetSkillValue(SKILL_ALCHEMY) >= 300 && !player->HasSpell(24266)) - player->CastSpell(player, 24267, false); - - return true; - } - }; - - GameObjectAI* GetAI(GameObject* go) const override - { - return new go_tablet_of_madnessAI(go); - } -}; - -/*###### ## go_tablet_of_the_seven ######*/ @@ -1779,7 +1750,6 @@ void AddSC_go_scripts() new go_gilded_brazier(); new go_shrine_of_the_birds(); new go_southfury_moonstone(); - new go_tablet_of_madness(); new go_tablet_of_the_seven(); new go_ethereum_prison(); new go_ethereum_stasis(); |
