mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-25 06:37:19 +00:00
[BugFix] Charm Targeting and other issues. (#1655)
* fix for target change bug on client * Update spell_effects.cpp
This commit is contained in:
1 parent
4389f84ea5
commit
df3161455a
3 files changed
+26
-21
No files matched your search
+1
-1
@@ -2875,7 +2875,7 @@ bool Mob::RemoveFromHateList(Mob* mob)
|
||||
ResetAssistCap();
|
||||
}
|
||||
}
|
||||
if(GetTarget() == mob)
|
||||
if(IsAIControlled() && GetTarget() == mob)
|
||||
{
|
||||
SetTarget(hate_list.GetEntWithMostHateOnList(this));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user