aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoroffl <offl@users.noreply.github.com>2020-05-25 23:10:12 +0200
committerShauren <shauren.trinity@gmail.com>2022-01-06 19:13:39 +0100
commit688c12fa5bc5e5a114e1219065ac3e98c10d2a66 (patch)
tree0d3da83c0fe871677de6cc1e09cfb2537a21dfbf /src
parentd6c311d9fa14b4761dc54d3ea444cdd3374e764d (diff)
DB/Quest: Convert & update support for 'Cuergo's Gold' to SAI
Closes #24675 (cherry picked from commit 0e7cabd7f10eaa9ffad20f9fcd03fca8cb88fa68)
Diffstat (limited to 'src')
-rw-r--r--src/server/scripts/World/go_scripts.cpp36
1 files changed, 0 insertions, 36 deletions
diff --git a/src/server/scripts/World/go_scripts.cpp b/src/server/scripts/World/go_scripts.cpp
index 2791c1abd9e..9527e7b5341 100644
--- a/src/server/scripts/World/go_scripts.cpp
+++ b/src/server/scripts/World/go_scripts.cpp
@@ -649,41 +649,6 @@ public:
};
/*######
-## go_inconspicuous_landmark
-######*/
-
-enum InconspicuousLandmark
-{
- SPELL_SUMMON_PIRATES_TREASURE_AND_TRIGGER_MOB = 11462,
- ITEM_CUERGOS_KEY = 9275,
-};
-
-class go_inconspicuous_landmark : public GameObjectScript
-{
-public:
- go_inconspicuous_landmark() : GameObjectScript("go_inconspicuous_landmark") { }
-
- struct go_inconspicuous_landmarkAI : public GameObjectAI
- {
- go_inconspicuous_landmarkAI(GameObject* go) : GameObjectAI(go) { }
-
- bool GossipHello(Player* player) override
- {
- if (player->HasItemCount(ITEM_CUERGOS_KEY))
- return false;
-
- player->CastSpell(player, SPELL_SUMMON_PIRATES_TREASURE_AND_TRIGGER_MOB, true);
- return true;
- }
- };
-
- GameObjectAI* GetAI(GameObject* go) const override
- {
- return new go_inconspicuous_landmarkAI(go);
- }
-};
-
-/*######
## go_soulwell
######*/
@@ -1568,7 +1533,6 @@ void AddSC_go_scripts()
new go_blood_filled_orb();
new go_jotunheim_cage();
new go_table_theka();
- new go_inconspicuous_landmark();
new go_soulwell();
new go_amberpine_outhouse();
new go_hive_pod();