mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 17:05:44 +01:00
Scripts/Ulduar: Minor spell script name change
This commit is contained in:
@@ -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';
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user