From ed6c46f7ffa2a8155e0f22cc52730762df7aee35 Mon Sep 17 00:00:00 2001 From: "Michael Cook (mackal)" Date: Mon, 11 Nov 2013 18:18:12 -0500 Subject: [PATCH] Fixed non-attacking related movement while mobs are snared On live a nec/shd normal splitting involved snaring the mob you want and FDing after they moved enough. The non-snared mobs would return home and the snared mob would just sit there until it was no longer snared. There is even a nice flash video! http://www.dzert.com/downloads/eq/fd02.swf This might need some tweaking, but I'm not sure of any instances where it would break things... --- changelog.txt | 3 +++ zone/MobAI.cpp | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/changelog.txt b/changelog.txt index a99bec7d0..7f53de277 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,5 +1,8 @@ EQEMu Changelog (Started on Sept 24, 2003 15:50) ------------------------------------------------------- +== 11/11/2013 == +demonstar55: Mobs shouldn't do any non-attacking related movement while snared. + == 11/09/2013 == Leere: Fixed Bard mana regen, they now only are affected by items and AA. diff --git a/zone/MobAI.cpp b/zone/MobAI.cpp index 7840444c0..e1a5eb2f1 100644 --- a/zone/MobAI.cpp +++ b/zone/MobAI.cpp @@ -1554,7 +1554,7 @@ void Mob::AI_Process() { return; } - if(IsNPC()) + if(IsNPC() && GetSnaredAmount() == -1) { if(RuleB(NPC, SmartLastFightingDelayMoving) && !feign_memory_list.empty()) {