From e69a483aa942c1c6c4bd9b5fa47139f89643b8d5 Mon Sep 17 00:00:00 2001 From: treeston Date: Fri, 9 Sep 2016 15:01:42 +0200 Subject: 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. --- sql/updates/world/3.3.5/2016_09_09_01_world.sql | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 sql/updates/world/3.3.5/2016_09_09_01_world.sql (limited to 'sql') diff --git a/sql/updates/world/3.3.5/2016_09_09_01_world.sql b/sql/updates/world/3.3.5/2016_09_09_01_world.sql new file mode 100644 index 00000000000..addcd9c17dd --- /dev/null +++ b/sql/updates/world/3.3.5/2016_09_09_01_world.sql @@ -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; -- cgit v1.2.3