AI/SmartAI: Fix an issue where SmartAI creatures would not properly follow their owner on evade. Also fix a bug where creatures with INHABIT_ROOT would get stuck in evade under certain conditions.
This allows us to fix quest 12261 (No Place to Run). Closes #16291. (cherry picked from commit e69a483aa942c1c6c4bd9b5fa47139f89643b8d5) Derp. Build fix. (cherry picked from commit 9180bcd404ff0a89144bbe834a2efe189bd0eb86)
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
-- Fix SAI for quest "No Place to Run" (issue #16291)
|
||||
UPDATE `creature_template` SET `unit_flags`=`unit_flags`&~0x4 WHERE `entry`=27430;
|
||||
UPDATE `smart_scripts` SET `event_flags`=`event_flags`|0x200 WHERE `entryorguid`=2743000 AND `source_type`=9;
|
||||
UPDATE `smart_scripts` SET `event_type`=54,`comment`="Destructive Ward - On Just Summoned - Run Script" WHERE `entryorguid`=27430 AND `id`=0;
|
||||
Reference in New Issue
Block a user