mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-17 02:50:29 +00:00
fix(Core/Spells): Call of the Wild targeting other players (#17485)
* fix(Core/Spells): Call of the Wild targets * comment
This commit is contained in:
@@ -1308,9 +1308,11 @@ class spell_hun_bestial_wrath : public SpellScript
|
||||
}
|
||||
};
|
||||
|
||||
class spell_hun_furious_howl : public SpellScript
|
||||
// -24604 - Furious Howl
|
||||
// 53434 - Call of the Wild
|
||||
class spell_hun_target_self_and_pet : public SpellScript
|
||||
{
|
||||
PrepareSpellScript(spell_hun_furious_howl);
|
||||
PrepareSpellScript(spell_hun_target_self_and_pet);
|
||||
|
||||
bool Load() override
|
||||
{
|
||||
@@ -1327,7 +1329,7 @@ class spell_hun_furious_howl : public SpellScript
|
||||
|
||||
void Register() override
|
||||
{
|
||||
OnObjectAreaTargetSelect += SpellObjectAreaTargetSelectFn(spell_hun_furious_howl::FilterTargets, EFFECT_ALL, TARGET_UNIT_CASTER_AREA_PARTY);
|
||||
OnObjectAreaTargetSelect += SpellObjectAreaTargetSelectFn(spell_hun_target_self_and_pet::FilterTargets, EFFECT_ALL, TARGET_UNIT_CASTER_AREA_PARTY);
|
||||
}
|
||||
};
|
||||
|
||||
@@ -1361,5 +1363,5 @@ void AddSC_hunter_spell_scripts()
|
||||
RegisterSpellScript(spell_hun_lock_and_load);
|
||||
RegisterSpellScript(spell_hun_intimidation);
|
||||
RegisterSpellScript(spell_hun_bestial_wrath);
|
||||
RegisterSpellScript(spell_hun_furious_howl);
|
||||
RegisterSpellScript(spell_hun_target_self_and_pet);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user