mirror of
https://github.com/EQEmu/Server.git
synced 2026-09-02 08:26:36 +00:00
-- Added missing wrapper to bot update message
-- Added notes to AESpell() update
This commit is contained in:
@@ -707,6 +707,9 @@ void EntityList::AESpell(Mob *caster, Mob *center, uint16 spell_id, bool affect_
|
||||
continue;
|
||||
}
|
||||
else { // check to stop casting beneficial ae buffs (to wit: bard songs) on enemies...
|
||||
// This does not check faction for beneficial AE buffs..only agro and attackable.
|
||||
// I've tested for spells that I can find without problem, but a faction-based
|
||||
// check may still be needed. Any changes here should also reflect in BardAEPulse() -U
|
||||
if(caster->IsAttackAllowed(curmob, true))
|
||||
continue;
|
||||
if(caster->CheckAggro(curmob))
|
||||
@@ -819,6 +822,7 @@ void EntityList::AEBardPulse(Mob *caster, Mob *center, uint16 spell_id, bool aff
|
||||
continue;
|
||||
}
|
||||
else { // check to stop casting beneficial ae buffs (to wit: bard songs) on enemies...
|
||||
// See notes in AESpell() above for more info.
|
||||
if(caster->IsAttackAllowed(curmob, true))
|
||||
continue;
|
||||
if(caster->CheckAggro(curmob))
|
||||
|
||||
Reference in New Issue
Block a user