diff --git a/data/sql/updates/pending_db_world/rev_1738513021010110800.sql b/data/sql/updates/pending_db_world/rev_1738513021010110800.sql new file mode 100644 index 000000000..bef37705a --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1738513021010110800.sql @@ -0,0 +1,2 @@ +-- +DELETE FROM `smart_scripts` WHERE (`entryorguid` = 25485) AND (`source_type` = 0) AND (`id` IN (0)); diff --git a/src/server/scripts/EasternKingdoms/SunwellPlateau/instance_sunwell_plateau.cpp b/src/server/scripts/EasternKingdoms/SunwellPlateau/instance_sunwell_plateau.cpp index 2201e5160..a37aa61c4 100644 --- a/src/server/scripts/EasternKingdoms/SunwellPlateau/instance_sunwell_plateau.cpp +++ b/src/server/scripts/EasternKingdoms/SunwellPlateau/instance_sunwell_plateau.cpp @@ -96,14 +96,6 @@ public: if (GameObject* gobj = GetGameObject(DATA_ICEBARRIER)) gobj->SendUpdateToPlayer(player); } - - void OnCreatureCreate(Creature* creature) override - { - if (creature->GetSpawnId() > 0 || !creature->GetOwnerGUID().IsPlayer()) - creature->CastSpell(creature, SPELL_SUNWELL_RADIANCE, true); - - InstanceScript::OnCreatureCreate(creature); - } }; InstanceScript* GetInstanceScript(InstanceMap* map) const override diff --git a/src/server/scripts/EasternKingdoms/SunwellPlateau/sunwell_plateau.h b/src/server/scripts/EasternKingdoms/SunwellPlateau/sunwell_plateau.h index e40dfc057..83f8705a4 100644 --- a/src/server/scripts/EasternKingdoms/SunwellPlateau/sunwell_plateau.h +++ b/src/server/scripts/EasternKingdoms/SunwellPlateau/sunwell_plateau.h @@ -106,11 +106,6 @@ enum GameObjectIds GO_ORB_OF_THE_BLUE_DRAGONFLIGHT4 = 188116 }; -enum SpellIds -{ - SPELL_SUNWELL_RADIANCE = 45769, -}; - template inline AI* GetSunwellPlateauAI(T* obj) {