mirror of
https://github.com/EQEmu/Server.git
synced 2026-03-06 10:22:26 +00:00
Skip buff stack check for innates SpellType_Nukes
This commit is contained in:
parent
f8ce10472b
commit
7bd5213be4
@ -206,8 +206,8 @@ bool NPC::AICastSpell(Mob* tar, uint8 iChance, uint32 iSpellTypes, bool bInnates
|
|||||||
}
|
}
|
||||||
case SpellType_Nuke: {
|
case SpellType_Nuke: {
|
||||||
if (
|
if (
|
||||||
manaR >= 10 && (bInnates || zone->random.Roll(70))
|
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
|
&& 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(!checked_los) {
|
||||||
if(!CheckLosFN(tar))
|
if(!CheckLosFN(tar))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user