fix(Core/Util): EventMap::RepeatEvent when eventId is retrieved by ExecuteEvent() call (#3426)
This commit is contained in:
parent
32da0eeb9e
commit
ab5933effa
131 changed files with 558 additions and 1012 deletions
|
|
@ -203,7 +203,7 @@ public:
|
|||
if (me->HasUnitState(UNIT_STATE_CASTING))
|
||||
return;
|
||||
|
||||
if (uint32 spellId = events.GetEvent())
|
||||
if (uint32 spellId = events.ExecuteEvent())
|
||||
{
|
||||
events.RescheduleEvent(spellId, spellId == 59637 ? 6500 : 2500);
|
||||
me->CastSpell(me->GetVictim(), spellId, false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue