Scripts/Ulduar: Minor spell script name change

This commit is contained in:
Lopin
2011-06-15 01:28:04 +02:00
parent 7543904486
commit 84a17dc742
2 changed files with 9 additions and 7 deletions

View File

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

View File

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