fix(Scripts/ZulGurub): fix timing regression for Venoxis cobras (#16309)

Fixes timing regression caused by conversion miss in #14876
This commit is contained in:
KJack
2023-05-18 14:34:50 -04:00
committed by GitHub
parent 42a1650d31
commit 7945e11557
@@ -301,7 +301,7 @@ public:
void JustEngagedWith(Unit*) void JustEngagedWith(Unit*)
{ {
events.ScheduleEvent(EVENT_POISON, 8ms); events.ScheduleEvent(EVENT_POISON, 8s);
if (Creature* Venoxis = GetVenoxis()) if (Creature* Venoxis = GetVenoxis())
{ {
@@ -331,7 +331,7 @@ public:
case EVENT_POISON: case EVENT_POISON:
{ {
me->CastSpell(me->GetVictim(), SPELL_POISON); me->CastSpell(me->GetVictim(), SPELL_POISON);
events.ScheduleEvent(EVENT_POISON, 15ms); events.ScheduleEvent(EVENT_POISON, 15s);
break; break;
} }
} }