diff options
author | Lopin <davca.hr@seznam.cz> | 2011-06-15 01:28:04 +0200 |
---|---|---|
committer | Lopin <davca.hr@seznam.cz> | 2011-06-15 01:28:04 +0200 |
commit | 84a17dc742223ca66be769fdca6ddcdae0269be9 (patch) | |
tree | e4d994a8472c7d58c8e6df2239eba943029832ae | |
parent | 75439044860a5a4d3184eb47f72e65e64d7c0d0a (diff) |
Scripts/Ulduar: Minor spell script name change
-rw-r--r-- | sql/updates/world/2011_06_15_00_world_spell_script_names.sql | 2 | ||||
-rw-r--r-- | src/server/scripts/Northrend/Ulduar/ulduar/boss_freya.cpp | 14 |
2 files changed, 9 insertions, 7 deletions
diff --git a/sql/updates/world/2011_06_15_00_world_spell_script_names.sql b/sql/updates/world/2011_06_15_00_world_spell_script_names.sql new file mode 100644 index 00000000000..be0909d48ae --- /dev/null +++ b/sql/updates/world/2011_06_15_00_world_spell_script_names.sql @@ -0,0 +1,2 @@ +-- Change spell script name for Attuned To Nature Dose Reduction +UPDATE `spell_script_names` SET `ScriptName`='spell_freya_attuned_to_nature_dose_reduction' WHERE `ScriptName`='spell_attuned_to_nature_dose_reduction'; diff --git a/src/server/scripts/Northrend/Ulduar/ulduar/boss_freya.cpp b/src/server/scripts/Northrend/Ulduar/ulduar/boss_freya.cpp index 680f83b459f..4a77f3e86b1 100644 --- a/src/server/scripts/Northrend/Ulduar/ulduar/boss_freya.cpp +++ b/src/server/scripts/Northrend/Ulduar/ulduar/boss_freya.cpp @@ -1507,16 +1507,16 @@ class npc_unstable_sun_beam : public CreatureScript } }; -class spell_attuned_to_nature_dose_reduction : public SpellScriptLoader +class spell_freya_attuned_to_nature_dose_reduction : public SpellScriptLoader { public: - spell_attuned_to_nature_dose_reduction() : SpellScriptLoader("spell_attuned_to_nature_dose_reduction") + spell_freya_attuned_to_nature_dose_reduction() : SpellScriptLoader("spell_freya_attuned_to_nature_dose_reduction") { } - class spell_attuned_to_nature_dose_reduction_SpellScript : public SpellScript + class spell_freya_attuned_to_nature_dose_reduction_SpellScript : public SpellScript { - PrepareSpellScript(spell_attuned_to_nature_dose_reduction_SpellScript) + PrepareSpellScript(spell_freya_attuned_to_nature_dose_reduction_SpellScript) void HandleScript(SpellEffIndex /*effIndex*/) { @@ -1546,13 +1546,13 @@ class spell_attuned_to_nature_dose_reduction : public SpellScriptLoader void Register() { - OnEffect += SpellEffectFn(spell_attuned_to_nature_dose_reduction_SpellScript::HandleScript, EFFECT_0, SPELL_EFFECT_SCRIPT_EFFECT); + OnEffect += SpellEffectFn(spell_freya_attuned_to_nature_dose_reduction_SpellScript::HandleScript, EFFECT_0, SPELL_EFFECT_SCRIPT_EFFECT); } }; SpellScript* GetSpellScript() const { - return new spell_attuned_to_nature_dose_reduction_SpellScript(); + return new spell_freya_attuned_to_nature_dose_reduction_SpellScript(); } }; @@ -1608,6 +1608,6 @@ void AddSC_boss_freya() new npc_healthy_spore(); new npc_unstable_sun_beam(); new npc_iron_roots(); - new spell_attuned_to_nature_dose_reduction(); + new spell_freya_attuned_to_nature_dose_reduction(); new spell_freya_iron_roots(); } |