Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Commit

Permalink
Scripts/Spells: Fixed Effect Index for Cobra shot script.
Browse files Browse the repository at this point in the history
Signed-off-by: AriDEV <aridev666@gmail.com>
  • Loading branch information
AriDEV committed Aug 15, 2019
1 parent 3a10ac1 commit 31cef78
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions sql/updates/world/2019_08_15_01_world.sql
@@ -0,0 +1,5 @@
-- Cobra Shot SpellScriptName
DELETE FROM `spell_script_names` WHERE `ScriptName`='spell_hun_cobra_shot';
DELETE FROM `spell_script_names` WHERE `spell_id`=77767;
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
(77767, 'spell_hun_cobra_shot');
2 changes: 1 addition & 1 deletion src/server/scripts/Spells/spell_hunter.cpp
Expand Up @@ -187,7 +187,7 @@ class spell_hun_cobra_shot : public SpellScriptLoader

void Register() OVERRIDE
{
OnEffectHitTarget += SpellEffectFn(spell_hun_cobra_shot_SpellScript::HandleScriptEffect, EFFECT_1, SPELL_EFFECT_SCRIPT_EFFECT);
OnEffectHitTarget += SpellEffectFn(spell_hun_cobra_shot_SpellScript::HandleScriptEffect, EFFECT_2, SPELL_EFFECT_SCRIPT_EFFECT);
}
};

Expand Down

0 comments on commit 31cef78

Please sign in to comment.