mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-26 15:16:24 +00:00
refactor(Core/ScriptedAI): few improvements with threat methods (#13146)
improve threat scripts Co-authored-by: Maelthyrr <lynethris@protonmail.ch>
This commit is contained in:
@@ -971,7 +971,7 @@ public:
|
||||
case EVENT_SHADOW_STEP:
|
||||
if (Unit* target = SelectTargetFromPlayerList(100.0f, 0, true))
|
||||
{
|
||||
DoResetThreat();
|
||||
DoResetThreatList();
|
||||
me->AddThreat(target, 5000.0f);
|
||||
AttackStart(target);
|
||||
me->CastSpell(target, SPELL_SHADOW_STEP, false);
|
||||
|
||||
Reference in New Issue
Block a user