From ece76055793fd1cd248cdc89e95ea54ae30e4854 Mon Sep 17 00:00:00 2001 From: Ovahlord Date: Fri, 20 Jul 2018 01:33:48 +0200 Subject: [PATCH] Scripts/BoT: corrected naming for Cho'Galls's achievement script --- sql/updates/world/custom/custom_2018_07_20_00_world.sql | 2 +- .../EasternKingdoms/BastionOfTwilight/boss_chogall.cpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sql/updates/world/custom/custom_2018_07_20_00_world.sql b/sql/updates/world/custom/custom_2018_07_20_00_world.sql index 61e3b55fdb2..63830512953 100644 --- a/sql/updates/world/custom/custom_2018_07_20_00_world.sql +++ b/sql/updates/world/custom/custom_2018_07_20_00_world.sql @@ -226,7 +226,7 @@ INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Lan -- Achievement DELETE FROM `achievement_criteria_data` WHERE `criteria_id`= 15673; INSERT INTO `achievement_criteria_data` (`criteria_id`, `type`, `value1`, `value2`, `ScriptName`) VALUES -(15673, 11, 0, 0, 'achievement_the_anyss_will_gaze_into_you'); +(15673, 11, 0, 0, 'achievement_the_abyss_will_gaze_into_you'); -- Areatriggers DELETE FROM `areatrigger_scripts` WHERE `entry` IN (6625, 6626, 6627, 6444); diff --git a/src/server/scripts/EasternKingdoms/BastionOfTwilight/boss_chogall.cpp b/src/server/scripts/EasternKingdoms/BastionOfTwilight/boss_chogall.cpp index b20b83d667d..5860b96df41 100644 --- a/src/server/scripts/EasternKingdoms/BastionOfTwilight/boss_chogall.cpp +++ b/src/server/scripts/EasternKingdoms/BastionOfTwilight/boss_chogall.cpp @@ -1476,10 +1476,10 @@ class spell_chogall_debilitating_beam : public AuraScript } }; -class achievement_the_anyss_will_gaze_into_you : public AchievementCriteriaScript +class achievement_the_abyss_will_gaze_into_you : public AchievementCriteriaScript { public: - achievement_the_anyss_will_gaze_into_you() : AchievementCriteriaScript("achievement_the_anyss_will_gaze_into_you") { } + achievement_the_abyss_will_gaze_into_you() : AchievementCriteriaScript("achievement_the_abyss_will_gaze_into_you") { } bool OnCheck(Player* /*source*/, Unit* target) override { @@ -1524,5 +1524,5 @@ void AddSC_boss_chogall() RegisterAuraScript(spell_chogall_corruption_malformation); RegisterSpellScript(spell_chogall_shadow_bolt); RegisterAuraScript(spell_chogall_debilitating_beam); - new achievement_the_anyss_will_gaze_into_you(); + new achievement_the_abyss_will_gaze_into_you(); }