diff --git a/zone/mob_ai.cpp b/zone/mob_ai.cpp index c8654849a..b9394f9a3 100644 --- a/zone/mob_ai.cpp +++ b/zone/mob_ai.cpp @@ -2495,6 +2495,10 @@ void NPC::AddSpellToNPCList(int16 iPriority, int16 iSpellID, uint16 iType, t.resist_adjust = iResistAdjust; AIspells.push_back(t); + + // If we're going from an empty list, we need to start the timer + if (AIspells.size() == 1) + AIautocastspell_timer->Start(RandomTimer(0, 15000), false); } void NPC::RemoveSpellFromNPCList(int16 spell_id)