diff options
| author | Jozef DĂșc <D0d0@users.noreply.github.com> | 2020-04-03 17:51:17 +0200 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-03 12:51:17 -0300 | 
| commit | e61c54dce85a9df6b6fefd722533d29466269b68 (patch) | |
| tree | 956ce8608c74cccc037f441f0da1fda0e2455bb9 | |
| parent | bbc66308f67cd527b044972330b75648aa0693ff (diff) | |
Scripts/Spells: Fixed Bloodlust duplicated hook call
| -rw-r--r-- | src/server/scripts/Spells/spell_shaman.cpp | 5 | 
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);              }          };  | 
