Core: Fix non pch build (gcc)
This commit is contained in:
1 parent
a59ec8c8e9
commit
0531f52008
10 files changed
+26
-9
No files matched your search
@@ -252,13 +252,14 @@ class npc_minigob_manabonk : public CreatureScript
|
||||
events.ScheduleEvent(EVENT_BLINK, 3*IN_MILLISECONDS);
|
||||
break;
|
||||
case EVENT_BLINK:
|
||||
{
|
||||
DoCast(me, SPELL_IMPROVED_BLINK);
|
||||
Position pos;
|
||||
me->GetRandomNearPosition(pos, (urand(15, 40)));
|
||||
Position pos = me->GetRandomNearPosition(frand(15, 40));
|
||||
me->GetMotionMaster()->MovePoint(0, pos.m_positionX, pos.m_positionY, pos.m_positionZ);
|
||||
events.ScheduleEvent(EVENT_DESPAWN, 3*IN_MILLISECONDS);
|
||||
events.ScheduleEvent(EVENT_DESPAWN, 3 * IN_MILLISECONDS);
|
||||
events.ScheduleEvent(EVENT_DESPAWN_VISUAL, 2.5*IN_MILLISECONDS);
|
||||
break;
|
||||
}
|
||||
case EVENT_DESPAWN_VISUAL:
|
||||
DoCast(me, SPELL_TELEPORT_VISUAL);
|
||||
break;
|
||||
|
||||
Reference in new issue
Block a user