fix(Scripts/ZulGurub): fix timing regression for Venoxis cobras (#16309)
Fixes timing regression caused by conversion miss in #14876
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user