Skip to content

Commit

Permalink
fix(Scripts/TheEye): make sure Solarian does not cast arcane missiles…
Browse files Browse the repository at this point in the history
… on target with Wrath of the Astromancer active (azerothcore#18496)

* initial

* add target reset

* fix targetting

* revert
  • Loading branch information
elthehablo authored Mar 4, 2024
1 parent 3acb1ad commit 663566a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 663566a

Please sign in to comment.