From d7e03ea7e36e6843c4addcfb42970a5ffd95d63f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=A9=E9=B9=AD?= <18535853+PkllonG@users.noreply.github.com> Date: Sun, 5 Oct 2025 23:58:36 +0800 Subject: [PATCH] Update morphsummon.cpp --- src/morphsummon.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/morphsummon.cpp b/src/morphsummon.cpp index 23d94dd..5d3a92a 100644 --- a/src/morphsummon.cpp +++ b/src/morphsummon.cpp @@ -196,7 +196,7 @@ class MorphSummonCreatureScript : public CreatureScript } events.Reset(); - events.ScheduleEvent(MORPH_EVENT_CAST_SPELL, urand(minTimeVisualEffect, maxTimeVisualEffect)); + events.ScheduleEvent(MORPH_EVENT_CAST_SPELL, Milliseconds(urand(minTimeVisualEffect, maxTimeVisualEffect))); } void UpdateAI(uint32 diff) override @@ -208,7 +208,7 @@ class MorphSummonCreatureScript : public CreatureScript case MORPH_EVENT_CAST_SPELL: if (!randomVisualEffectSpells.empty()) DoCast(me, Acore::Containers::SelectRandomContainerElement(randomVisualEffectSpells), true); - events.ScheduleEvent(MORPH_EVENT_CAST_SPELL, urand(minTimeVisualEffect, maxTimeVisualEffect)); + events.ScheduleEvent(MORPH_EVENT_CAST_SPELL, Milliseconds(urand(minTimeVisualEffect, maxTimeVisualEffect))); break; } }