Skip to content
Permalink
Browse files

Scripts/Spells: Fixed Effect Index for Cobra shot script.

Signed-off-by: AriDEV <aridev666@gmail.com>
  • Loading branch information...
AriDEV committed Aug 15, 2019
1 parent 3a10ac1 commit 31cef7853438dfb242c5ca4a2f27b25ea83ece14
Showing with 6 additions and 1 deletion.
  1. +5 −0 sql/updates/world/2019_08_15_01_world.sql
  2. +1 −1 src/server/scripts/Spells/spell_hunter.cpp
@@ -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');
@@ -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);
}
};

0 comments on commit 31cef78

Please sign in to comment.
You can’t perform that action at this time.