mirror of
https://github.com/liyunfan1223/azerothcore-wotlk.git
synced 2026-08-08 15:58:04 +00:00
fix(Scripts/Hyjal): Anetheron cast Carrion Swarm on non player targets (#19005)
This commit is contained in:
@@ -60,7 +60,7 @@ public:
|
|||||||
|
|
||||||
scheduler.Schedule(20s, 28s, [this](TaskContext context)
|
scheduler.Schedule(20s, 28s, [this](TaskContext context)
|
||||||
{
|
{
|
||||||
if (DoCastRandomTarget(SPELL_CARRION_SWARM, 0, 60.f) == SPELL_CAST_OK)
|
if (DoCastRandomTarget(SPELL_CARRION_SWARM, 0, 60.f, false) == SPELL_CAST_OK)
|
||||||
Talk(SAY_SWARM);
|
Talk(SAY_SWARM);
|
||||||
context.Repeat(10s, 15s);
|
context.Repeat(10s, 15s);
|
||||||
}).Schedule(25s, 32s, [this](TaskContext context)
|
}).Schedule(25s, 32s, [this](TaskContext context)
|
||||||
|
|||||||
Reference in New Issue
Block a user