Skip to content

Commit d7e03ea

Browse files
authored
Update morphsummon.cpp
1 parent 28e3475 commit d7e03ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/morphsummon.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ class MorphSummonCreatureScript : public CreatureScript
196196
}
197197

198198
events.Reset();
199-
events.ScheduleEvent(MORPH_EVENT_CAST_SPELL, urand(minTimeVisualEffect, maxTimeVisualEffect));
199+
events.ScheduleEvent(MORPH_EVENT_CAST_SPELL, Milliseconds(urand(minTimeVisualEffect, maxTimeVisualEffect)));
200200
}
201201

202202
void UpdateAI(uint32 diff) override
@@ -208,7 +208,7 @@ class MorphSummonCreatureScript : public CreatureScript
208208
case MORPH_EVENT_CAST_SPELL:
209209
if (!randomVisualEffectSpells.empty())
210210
DoCast(me, Acore::Containers::SelectRandomContainerElement(randomVisualEffectSpells), true);
211-
events.ScheduleEvent(MORPH_EVENT_CAST_SPELL, urand(minTimeVisualEffect, maxTimeVisualEffect));
211+
events.ScheduleEvent(MORPH_EVENT_CAST_SPELL, Milliseconds(urand(minTimeVisualEffect, maxTimeVisualEffect)));
212212
break;
213213
}
214214
}

0 commit comments

Comments
 (0)