aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/server/scripts/World/go_scripts.cpp58
1 files changed, 0 insertions, 58 deletions
diff --git a/src/server/scripts/World/go_scripts.cpp b/src/server/scripts/World/go_scripts.cpp
index 47ae3b3a2eb..a863076fded 100644
--- a/src/server/scripts/World/go_scripts.cpp
+++ b/src/server/scripts/World/go_scripts.cpp
@@ -18,7 +18,6 @@
/* ContentData
go_ethereum_prison
go_ethereum_stasis
-go_shrine_of_the_birds
go_southfury_moonstone
go_resonite_cask
go_tablet_of_the_seven
@@ -266,62 +265,6 @@ public:
};
/*######
-## go_shrine_of_the_birds
-######*/
-
-enum ShrineOfTheBirds
-{
- NPC_HAWK_GUARD = 22992,
- NPC_EAGLE_GUARD = 22993,
- NPC_FALCON_GUARD = 22994,
- GO_SHRINE_HAWK = 185551,
- GO_SHRINE_EAGLE = 185547,
- GO_SHRINE_FALCON = 185553
-};
-
-class go_shrine_of_the_birds : public GameObjectScript
-{
-public:
- go_shrine_of_the_birds() : GameObjectScript("go_shrine_of_the_birds") { }
-
- struct go_shrine_of_the_birdsAI : public GameObjectAI
- {
- go_shrine_of_the_birdsAI(GameObject* go) : GameObjectAI(go) { }
-
- bool GossipHello(Player* player) override
- {
- uint32 BirdEntry = 0;
-
- float fX, fY, fZ;
- me->GetClosePoint(fX, fY, fZ, me->GetCombatReach(), INTERACTION_DISTANCE);
-
- switch (me->GetEntry())
- {
- case GO_SHRINE_HAWK:
- BirdEntry = NPC_HAWK_GUARD;
- break;
- case GO_SHRINE_EAGLE:
- BirdEntry = NPC_EAGLE_GUARD;
- break;
- case GO_SHRINE_FALCON:
- BirdEntry = NPC_FALCON_GUARD;
- break;
- }
-
- if (BirdEntry)
- player->SummonCreature(BirdEntry, fX, fY, fZ, me->GetOrientation(), TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 60000);
-
- return false;
- }
- };
-
- GameObjectAI* GetAI(GameObject* go) const override
- {
- return new go_shrine_of_the_birdsAI(go);
- }
-};
-
-/*######
## go_southfury_moonstone
######*/
@@ -1748,7 +1691,6 @@ public:
void AddSC_go_scripts()
{
new go_gilded_brazier();
- new go_shrine_of_the_birds();
new go_southfury_moonstone();
new go_tablet_of_the_seven();
new go_ethereum_prison();