diff --git a/zone/mob_ai.cpp b/zone/mob_ai.cpp index 309ba5864..09bb54571 100644 --- a/zone/mob_ai.cpp +++ b/zone/mob_ai.cpp @@ -206,8 +206,8 @@ bool NPC::AICastSpell(Mob* tar, uint8 iChance, uint32 iSpellTypes, bool bInnates } case SpellType_Nuke: { if ( - manaR >= 10 && (bInnates || zone->random.Roll(70)) - && tar->CanBuffStack(AIspells[i].spellid, GetLevel(), false) >= 0 // saying it's a nuke here, AI shouldn't care too much if overwriting + manaR >= 10 && (bInnates || (zone->random.Roll(70) + && tar->CanBuffStack(AIspells[i].spellid, GetLevel(), false) >= 0)) // saying it's a nuke here, AI shouldn't care too much if overwriting ) { if(!checked_los) { if(!CheckLosFN(tar))