aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
Diffstat (limited to 'sql')
-rw-r--r--sql/FULL/world_script_waypoints.sql13
-rw-r--r--sql/FULL/world_scripts_full.sql4
-rw-r--r--sql/updates/4959_world.sql17
3 files changed, 33 insertions, 1 deletions
diff --git a/sql/FULL/world_script_waypoints.sql b/sql/FULL/world_script_waypoints.sql
index df7b78aaffd..020b4b6f292 100644
--- a/sql/FULL/world_script_waypoints.sql
+++ b/sql/FULL/world_script_waypoints.sql
@@ -13,6 +13,19 @@ CREATE TABLE script_waypoint (
PRIMARY KEY (entry, pointid)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Script Creature waypoints';
+DELETE FROM script_waypoint WHERE entry=16812;
+INSERT INTO script_waypoint VALUES
+(16812, 0, -10868.260, -1779.836, 90.476, 2500, 'Open door, begin walking'),
+(16812, 1, -10875.585, -1779.581, 90.478, 0, ''),
+(16812, 2, -10887.447, -1779.258, 90.476, 0, ''),
+(16812, 3, -10894.592, -1780.668, 90.476, 0, ''),
+(16812, 4, -10895.015, -1782.036, 90.476, 2500, 'Begin Speech after this'),
+(16812, 5, -10894.592, -1780.668, 90.476, 0, 'Resume walking (back to spawn point now) after speech'),
+(16812, 6, -10887.447, -1779.258, 90.476, 0, ''),
+(16812, 7, -10875.585, -1779.581, 90.478, 0, ''),
+(16812, 8, -10868.260, -1779.836, 90.476, 5000, 'close door'),
+(16812, 9, -10866.799, -1780.958, 90.470, 2000, 'Summon mobs, open curtains');
+
DELETE FROM script_waypoint WHERE entry=28912;
INSERT INTO script_waypoint VALUES
(28912, 0, 1653.518, -6038.374, 127.585, 0, 'Jump off'),
diff --git a/sql/FULL/world_scripts_full.sql b/sql/FULL/world_scripts_full.sql
index aef85a874f5..06d18af2485 100644
--- a/sql/FULL/world_scripts_full.sql
+++ b/sql/FULL/world_scripts_full.sql
@@ -115,7 +115,6 @@ UPDATE `creature_template` SET `ScriptName`='npc_lightwell' WHERE `entry` IN (31
/* */
/* ALTERAC MOUNTAINS */
-UPDATE `creature_template` SET `ScriptName`='npc_ravenholdt' WHERE `entry`=13936;
/* ALTERAC VALLEY */
@@ -1198,3 +1197,6 @@ UPDATE `creature_template` SET `ScriptName` = 'npc_skywing' WHERE entry=22424;
DELETE FROM areatrigger_scripts WHERE entry = 4156;
INSERT INTO areatrigger_scripts VALUES (4156, 'at_naxxramas_frostwyrm_wing');
+
+DELETE FROM areatrigger_scripts WHERE entry=3066;
+INSERT INTO areatrigger_scripts VALUES (3066,'at_ravenholdt');
diff --git a/sql/updates/4959_world.sql b/sql/updates/4959_world.sql
new file mode 100644
index 00000000000..cfcebe70db6
--- /dev/null
+++ b/sql/updates/4959_world.sql
@@ -0,0 +1,17 @@
+UPDATE creature_template SET ScriptName='' WHERE entry=13936;
+
+DELETE FROM areatrigger_scripts WHERE entry=3066;
+INSERT INTO areatrigger_scripts VALUES (3066,'at_ravenholdt');
+
+DELETE FROM script_waypoint WHERE entry=16812;
+INSERT INTO script_waypoint VALUES
+(16812, 0, -10868.260, -1779.836, 90.476, 2500, 'Open door, begin walking'),
+(16812, 1, -10875.585, -1779.581, 90.478, 0, ''),
+(16812, 2, -10887.447, -1779.258, 90.476, 0, ''),
+(16812, 3, -10894.592, -1780.668, 90.476, 0, ''),
+(16812, 4, -10895.015, -1782.036, 90.476, 2500, 'Begin Speech after this'),
+(16812, 5, -10894.592, -1780.668, 90.476, 0, 'Resume walking (back to spawn point now) after speech'),
+(16812, 6, -10887.447, -1779.258, 90.476, 0, ''),
+(16812, 7, -10875.585, -1779.581, 90.478, 0, ''),
+(16812, 8, -10868.260, -1779.836, 90.476, 5000, 'close door'),
+(16812, 9, -10866.799, -1780.958, 90.470, 2000, 'Summon mobs, open curtains');