fix(Scripts/TheEye): fix targetting logic in Void Reaver (#18646)

* initial

this works way better

* prettier
This commit is contained in:
Dan
2024-04-01 20:56:55 +02:00
committed by GitHub
parent 47f9d66874
commit 1e52f715d0

View File

@@ -95,7 +95,7 @@ struct boss_void_reaver : public BossAI
context.Repeat(12100ms, 15800ms);
}).Schedule(3450ms, GROUP_ARCANE_ORB, [this](TaskContext context)
{
if (!DoCastRandomTarget(SPELL_ARCANE_ORB, 0, -18.0f))
if (DoCastRandomTarget(SPELL_ARCANE_ORB, 0, -20.0f) != SPELL_CAST_OK)
{
DoCastRandomTarget(SPELL_ARCANE_ORB, 0, 18.0f);
}