mirror of
https://github.com/EQEmu/Server.git
synced 2026-09-01 07:26:36 +00:00
[Bug Fix] NPC Faction War prevention. (#3595)
* [Bug] NPC Faction War prevention. This should assist with prevention of NPC Faction waring. I have been using this code on my server for over 5 years with no coredumps or any noted bugs. This was brought up as users have reported a few events where they can trigger NPC's to fight each other. * Correct a few entries to line up with updated code. * Re-add missing RestTimer functionality
This commit is contained in:
+1
-1
@@ -767,7 +767,7 @@ public:
|
||||
void SetAssistAggro(bool value) { AssistAggro = value; if (PrimaryAggro) AssistAggro = false; }
|
||||
bool HateSummon();
|
||||
void FaceTarget(Mob* mob_to_face = 0);
|
||||
void WipeHateList();
|
||||
void WipeHateList(bool npc_only = false);
|
||||
void AddFeignMemory(Mob* attacker);
|
||||
void RemoveFromFeignMemory(Mob* attacker);
|
||||
void ClearFeignMemory();
|
||||
|
||||
Reference in New Issue
Block a user