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
This commit is contained in:
@@ -116,7 +116,7 @@ struct boss_high_astromancer_solarian : public BossAI
|
|||||||
scheduler.Schedule(3650ms, [this](TaskContext context)
|
scheduler.Schedule(3650ms, [this](TaskContext context)
|
||||||
{
|
{
|
||||||
me->GetMotionMaster()->Clear();
|
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);
|
DoCast(target, SPELL_ARCANE_MISSILES);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user