mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-19 13:28:25 +00:00
New lines
This commit is contained in:
+12
-2
@@ -11766,7 +11766,13 @@ bool Bot::HasValidAETarget(Bot* caster, uint16 spell_id, uint16 spell_type, Mob*
|
||||
break;
|
||||
}
|
||||
|
||||
if (!m->IsNPC() || (!IsCommandedSpell() && !m->CastToNPC()->IsOnHatelist(caster->GetOwner()))) {
|
||||
if (
|
||||
!m->IsNPC() ||
|
||||
(
|
||||
!IsCommandedSpell() &&
|
||||
!m->CastToNPC()->IsOnHatelist(caster->GetOwner())
|
||||
)
|
||||
) {
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -11783,7 +11789,11 @@ bool Bot::HasValidAETarget(Bot* caster, uint16 spell_id, uint16 spell_type, Mob*
|
||||
}
|
||||
}
|
||||
else {
|
||||
if (!tar || spell_range < Distance(caster->GetPosition(), tar->GetPosition()) || !DoLosChecks(this, m)) {
|
||||
if (
|
||||
!tar ||
|
||||
spell_range < Distance(caster->GetPosition(), tar->GetPosition()) ||
|
||||
!DoLosChecks(m)
|
||||
) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user