mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-25 10:47:16 +00:00
[Quest API] Add GetHateTopBot(), GetHateTopClient(), and GetHateTopNPC() to Perl/Lua (#3793)
# Perl - Add `$mob->GetHateTopBot()`. - Add `$mob->GetHateTopClient()`. - Add `$mob->GetHateTopNPC()`. # Lua - Add `mob:GetHateTopBot()`. - Add `mob:GetHateTopClient()`. - Add `mob:GetHateTopNPC()`.
This commit is contained in:
1 parent
028ebc3a0c
commit
e06c7d7735
10 files changed
+161
-95
No files matched your search
+1
-1
@@ -4883,7 +4883,7 @@ bool Mob::RemoveFromHateList(Mob* mob)
|
||||
}
|
||||
if(GetTarget() == mob)
|
||||
{
|
||||
SetTarget(hate_list.GetEntWithMostHateOnList(this));
|
||||
SetTarget(hate_list.GetMobWithMostHateOnList(this));
|
||||
}
|
||||
|
||||
return bFound;
|
||||
|
||||
Reference in new issue
Block a user