mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 05:21:29 +00:00
Rooted NPC's will no longer target players with Divine Aura effect if
they are the closest target and other targets exist on the hate list.
This commit is contained in:
parent
7d8f1bef87
commit
fc79521dd3
@ -1,5 +1,8 @@
|
||||
EQEMu Changelog (Started on Sept 24, 2003 15:50)
|
||||
-------------------------------------------------------
|
||||
== 05/14/2014 ==
|
||||
Kayen: Rooted NPC's will no longer target players with Divine Aura effect if they are the closest target and other targets exist on the hate list.
|
||||
|
||||
== 05/12/2014 ==
|
||||
Uleat: Re-arranged functions in Item.cpp to somewhat match the order they are declared in Item.h. Should make finding their location a little easier when using declarations as a guide. (This will facilitate readability of an upcoming change...)
|
||||
|
||||
|
||||
@ -163,7 +163,7 @@ Mob* HateList::GetClosest(Mob *hater) {
|
||||
++iterator;
|
||||
}
|
||||
|
||||
if (close == 0 && hater->IsNPC())
|
||||
if (close == 0 && hater->IsNPC() || close->DivineAura())
|
||||
close = hater->CastToNPC()->GetHateTop();
|
||||
|
||||
return close;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user