Skip to content

Commit

Permalink
Fix logic error with NPC AOEs
Browse files Browse the repository at this point in the history
  • Loading branch information
SecretsOTheP committed Feb 10, 2024
1 parent 4fdbf60 commit dd6f57a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zone/effects.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1030,7 +1030,7 @@ void EntityList::AESpell(Mob *caster, Mob *center, uint16 spell_id, bool affect_
}
}

else if (HasDirectDamageEffect(spell_id))
if (!caster->IsNPC() && HasDirectDamageEffect(spell_id))
{
// Damage Spells were limited to 4 targets.
bool exempt = false;
Expand Down

0 comments on commit dd6f57a

Please sign in to comment.