aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorAokromes <jipr@hotmail.com>2013-11-03 01:36:08 -0800
committerAokromes <jipr@hotmail.com>2013-11-03 01:36:08 -0800
commit1d2a070de4b721fe622fba5610420c66958c9d7d (patch)
tree8653e2b2b4d1c0a6eaad9c7f8c35477bf772fdce /sql
parent741eed47408ccadca255a45f263d3b9bfbb4ea65 (diff)
parent45e0af089c25473a99d20a4e0745885724fe18d5 (diff)
Merge pull request #11165 from untaught/master
Fix quest ... Or Maybe We Don't (12138) and remove the core script
Diffstat (limited to 'sql')
-rw-r--r--sql/updates/world/2013_11_03_32_world_misc.sql8
1 files changed, 8 insertions, 0 deletions
diff --git a/sql/updates/world/2013_11_03_32_world_misc.sql b/sql/updates/world/2013_11_03_32_world_misc.sql
new file mode 100644
index 00000000000..538979bedf3
--- /dev/null
+++ b/sql/updates/world/2013_11_03_32_world_misc.sql
@@ -0,0 +1,8 @@
+DELETE FROM `creature_ai_scripts` WHERE `creature_id`=26407;
+UPDATE `creature_template` SET `ainame`='SmartAI',`scriptname`='' WHERE `entry` IN (26407,27017);
+DELETE FROM `smart_scripts` WHERE `entryorguid` IN (26407,27017) AND `source_type`=0;
+
+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
+(26407,0,0,0,0,0,100,0,10000,12000,10000,12000,11,52703,0,0,0,0,0,1,0,0,0,0,0,0,0,'Lightning Sentry - IC - Cast Charged Sentry Totem'),
+(26407,0,1,0,6,0,100,0,0,0,0,0,45,0,1,0,0,0,0,19,27017,25,0,0,0,0,0,'Lightning Sentry - On Death - Set Data'),
+(27017,0,0,0,38,0,100,0,0,1,0,0,11,47797,0,0,0,0,0,23,0,0,0,0,0,0,0,'Depleted War Golem - On Data Set - Give Quest Credit');