mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 01:08:35 +00:00
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)
|
||||
{
|
||||
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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user