mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-11 03:31:08 +00:00
[Bots & Mercs] Add Support for TrySympatheticProc (#2866)
* [Bots & Merrcs] Add Support for TrySympatheticProc * [Bots & Merrcs] Add Support for TrySympatheticProc * [Bots & Merrcs] Add Support for TrySympatheticProc * Cleanup * formatting * auto
This commit is contained in:
+2
-2
@@ -4661,7 +4661,7 @@ void Mob::TryTwincast(Mob *caster, Mob *target, uint32 spell_id)
|
||||
return;
|
||||
}
|
||||
|
||||
if (IsClient() || IsBot())
|
||||
if (IsOfClientBot())
|
||||
{
|
||||
int focus = GetFocusEffect(focusTwincast, spell_id);
|
||||
|
||||
@@ -4955,7 +4955,7 @@ void Mob::TrySympatheticProc(Mob *target, uint32 spell_id)
|
||||
if(target == nullptr || !IsValidSpell(spell_id) || !IsClient())
|
||||
return;
|
||||
|
||||
uint16 focus_spell = CastToClient()->GetSympatheticFocusEffect(focusSympatheticProc,spell_id);
|
||||
uint16 focus_spell = GetSympatheticFocusEffect(focusSympatheticProc,spell_id);
|
||||
|
||||
if(!IsValidSpell(focus_spell))
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user