aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJozef DĂșc <D0d0@users.noreply.github.com>2020-04-03 17:51:17 +0200
committerGitHub <noreply@github.com>2020-04-03 12:51:17 -0300
commite61c54dce85a9df6b6fefd722533d29466269b68 (patch)
tree956ce8608c74cccc037f441f0da1fda0e2455bb9 /src
parentbbc66308f67cd527b044972330b75648aa0693ff (diff)
Scripts/Spells: Fixed Bloodlust duplicated hook call
Diffstat (limited to 'src')
-rw-r--r--src/server/scripts/Spells/spell_shaman.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/server/scripts/Spells/spell_shaman.cpp b/src/server/scripts/Spells/spell_shaman.cpp
index f82d9ff634c..1d584b1b9f4 100644
--- a/src/server/scripts/Spells/spell_shaman.cpp
+++ b/src/server/scripts/Spells/spell_shaman.cpp
@@ -319,9 +319,8 @@ class spell_sha_bloodlust : public SpellScriptLoader
void Register() override
{
- OnObjectAreaTargetSelect += SpellObjectAreaTargetSelectFn(spell_sha_bloodlust_SpellScript::RemoveInvalidTargets, EFFECT_0, TARGET_UNIT_CASTER_AREA_RAID);
- OnObjectAreaTargetSelect += SpellObjectAreaTargetSelectFn(spell_sha_bloodlust_SpellScript::RemoveInvalidTargets, EFFECT_1, TARGET_UNIT_CASTER_AREA_RAID);
- OnObjectAreaTargetSelect += SpellObjectAreaTargetSelectFn(spell_sha_bloodlust_SpellScript::RemoveInvalidTargets, EFFECT_2, TARGET_UNIT_CASTER_AREA_RAID);
+ OnObjectAreaTargetSelect += SpellObjectAreaTargetSelectFn(spell_sha_bloodlust_SpellScript::RemoveInvalidTargets, EFFECT_ALL, TARGET_UNIT_CASTER_AREA_RAID);
+
AfterHit += SpellHitFn(spell_sha_bloodlust_SpellScript::ApplyDebuff);
}
};