From 7bd5213be412f388ba1495fc603b2bdfafdf3a5c Mon Sep 17 00:00:00 2001 From: "Michael Cook (mackal)" Date: Mon, 29 Jan 2018 15:16:56 -0500 Subject: [PATCH] Skip buff stack check for innates SpellType_Nukes --- zone/mob_ai.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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))