Scripts/BoT: corrected naming for Cho'Galls's achievement script

This commit is contained in:
Ovahlord
2018-07-20 01:33:48 +02:00
parent df19536ec3
commit ece7605579
2 changed files with 4 additions and 4 deletions

View File

@@ -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);

View File

@@ -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();
}