aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAokromes <Aokromes@users.noreply.github.com>2014-06-22 22:45:17 +0200
committerAokromes <Aokromes@users.noreply.github.com>2014-06-22 22:45:17 +0200
commit34f759fab6e552f999de78f623af143001a4002f (patch)
treedd7e8f5f4c2f9d5c1e15d8c2897546e48bc823be
parent14c3b1445d909026c9a8e19f0ebecede4f2df332 (diff)
DB/Creature: Enraged Stanley
By dr-j, closes #11774
-rw-r--r--sql/updates/world/2014_06_22_14_world_misc.sql11
1 files changed, 11 insertions, 0 deletions
diff --git a/sql/updates/world/2014_06_22_14_world_misc.sql b/sql/updates/world/2014_06_22_14_world_misc.sql
new file mode 100644
index 00000000000..b94cee72152
--- /dev/null
+++ b/sql/updates/world/2014_06_22_14_world_misc.sql
@@ -0,0 +1,11 @@
+--
+UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=2230;
+DELETE FROM `smart_scripts` WHERE `entryorguid` IN(2274,2275) AND `source_type`=0;
+DELETE FROM `smart_scripts` WHERE `entryorguid` =227400 AND `source_type`=9;
+
+INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
+(2274, 0, 0, 1, 20, 0, 100, 0, 502, 0, 0, 0, 36, 2275, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Stanley - On Quest Complete "Elixir of Pain" - Update Template To "Enraged Stanley"'),
+(2274, 0, 1, 2, 61, 0, 100, 0, 0, 0, 0, 0, 49, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Stanley - On Quest Complete "Elixir of Pain" - Attack Invoker'),
+(2274, 0, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 80, 227400, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Stanley - On Quest Complete "Elixir of Pain" - Run Script'),
+(2274, 0, 3, 0, 6, 0, 100, 0, 0, 0, 0, 0, 78, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Stanley - On Death - Reset All Scripts'),
+(227400, 9, 0, 0, 0, 0, 100, 0, 120000, 120000, 0, 0, 36, 2274, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Stanley - Script - Update Entry to Stanley');