aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoroffl <offl@users.noreply.github.com>2020-05-21 21:21:38 +0200
committerShauren <shauren.trinity@gmail.com>2022-01-06 16:22:42 +0100
commit3f8b4880719de862a8998e1f1e22c30de8762c6d (patch)
treecf70047c1a6d5d920ff5139d9868d1d5944a692a /src
parent07863a7a6817dbb16fbd740130149bf727a6a136 (diff)
DB/GameObject: Convert & update support for Tablet of Madness
Closes #24670 (cherry picked from commit 9c1c34a79420b2513ee0009fcd84726c3ff95bfe)
Diffstat (limited to 'src')
-rw-r--r--src/server/scripts/World/go_scripts.cpp30
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 6278dd0d324..5561ff3b444 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
@@ -92,34 +91,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
######*/
@@ -1702,7 +1673,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();