From 663566af4b15772fb71b05d71ca8de5a399a7c60 Mon Sep 17 00:00:00 2001 From: Dan <83884799+elthehablo@users.noreply.github.com> Date: Mon, 4 Mar 2024 22:04:48 +0100 Subject: [PATCH] fix(Scripts/TheEye): make sure Solarian does not cast arcane missiles on target with Wrath of the Astromancer active (#18496) * initial * add target reset * fix targetting * revert --- src/server/scripts/Outland/TempestKeep/Eye/boss_astromancer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/scripts/Outland/TempestKeep/Eye/boss_astromancer.cpp b/src/server/scripts/Outland/TempestKeep/Eye/boss_astromancer.cpp index 3f513f9011cac9..a9b2eb987d5237 100644 --- a/src/server/scripts/Outland/TempestKeep/Eye/boss_astromancer.cpp +++ b/src/server/scripts/Outland/TempestKeep/Eye/boss_astromancer.cpp @@ -116,7 +116,7 @@ struct boss_high_astromancer_solarian : public BossAI scheduler.Schedule(3650ms, [this](TaskContext context) { me->GetMotionMaster()->Clear(); - if (Unit* target = SelectTarget(SelectTargetMethod::Random, 0, 40.0f, true)) + if (Unit* target = SelectTarget(SelectTargetMethod::Random, 0, 40.0f, true, true, -SPELL_WRATH_OF_THE_ASTROMANCER)) { DoCast(target, SPELL_ARCANE_MISSILES); }