fix(Scripts/Hyjal): Anetheron should not cast sleep on MT (#18948)
* init * also talk when spell fails
This commit is contained in:
parent
cf49320656
commit
3985db3006
1 changed files with 2 additions and 3 deletions
|
|
@ -65,9 +65,8 @@ public:
|
|||
context.Repeat(10s, 15s);
|
||||
}).Schedule(25s, 32s, [this](TaskContext context)
|
||||
{
|
||||
if (DoCastRandomTarget(SPELL_SLEEP) == SPELL_CAST_OK)
|
||||
Talk(SAY_SLEEP);
|
||||
|
||||
Talk(SAY_SLEEP);
|
||||
DoCastRandomTarget(SPELL_SLEEP, 0, 0.0f, true, false, false);
|
||||
context.Repeat(35s, 48s);
|
||||
}).Schedule(30s, 48s, [this](TaskContext context)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue