This commit is contained in:
Ovahlord
2022-06-02 21:49:06 +02:00
parent c7e287ccb4
commit 4dff2d5ad8
2 changed files with 6 additions and 6 deletions

View File

@@ -1,4 +1,4 @@
DELETE FROM `spell_script_names` WHERE `ScriptName`= 'spell_item_blaze_of_light';
DELETE FROM `spell_script_names` WHERE `ScriptName`= 'spell_item_blaze_of_life';
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
(96966, 'spell_item_blaze_of_light'),
(97136, 'spell_item_blaze_of_light');
(96966, 'spell_item_blaze_of_life'),
(97136, 'spell_item_blaze_of_life');

View File

@@ -5086,7 +5086,7 @@ class spell_item_herbouflage : public AuraScript
};
// 96966, 97136 - Blaze of Life
class spell_item_blaze_of_light : public SpellScript
class spell_item_blaze_of_life : public SpellScript
{
void FilterTargets(std::list<WorldObject*>& targets)
{
@@ -5099,7 +5099,7 @@ class spell_item_blaze_of_light : public SpellScript
void Register() override
{
OnObjectAreaTargetSelect.Register(&spell_item_blaze_of_light::FilterTargets, EFFECT_0, TARGET_UNIT_DEST_AREA_ALLY);
OnObjectAreaTargetSelect.Register(&spell_item_blaze_of_life::FilterTargets, EFFECT_0, TARGET_UNIT_DEST_AREA_ALLY);
}
};
@@ -5238,5 +5238,5 @@ void AddSC_item_spell_scripts()
RegisterSpellScript(spell_item_world_queller_focus);
RegisterSpellScript(spell_item_jom_gabbar);
RegisterSpellScript(spell_item_satisfied);
RegisterSpellScript(spell_item_blaze_of_light);
RegisterSpellScript(spell_item_blaze_of_life);
}