Skip to content

Commit 5afcc27

Browse files
committed
Correct respawn time of Mok'rash.
1 parent 9408919 commit 5afcc27

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
DROP PROCEDURE IF EXISTS add_migration;
2+
DELIMITER ??
3+
CREATE PROCEDURE `add_migration`()
4+
BEGIN
5+
DECLARE v INT DEFAULT 1;
6+
SET v = (SELECT COUNT(*) FROM `migrations` WHERE `id`='20250530191346');
7+
IF v = 0 THEN
8+
INSERT INTO `migrations` VALUES ('20250530191346');
9+
-- Add your query below.
10+
11+
12+
/*
13+
World of Warcraft Client Patch 1.4.0 (2005-04-19)
14+
- Increased the respawn time of Mok'rash in Stranglethorn Vale from 9
15+
hours to 2 hours on average.
16+
*/
17+
DELETE FROM `creature` WHERE `id`=1493;
18+
INSERT INTO `creature` (`guid`, `id`, `id2`, `id3`, `id4`, `id5`, `map`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecsmin`, `spawntimesecsmax`, `wander_distance`, `health_percent`, `mana_percent`, `movement_type`, `spawn_flags`, `visibility_mod`, `patch_min`, `patch_max`) VALUES (1672, 1493, 0, 0, 0, 0, 0, -14236.2, 737.019, 2.43126, 3.67262, 32400, 32400, 10, 100, 0, 1, 0, 0, 0, 1);
19+
INSERT INTO `creature` (`guid`, `id`, `id2`, `id3`, `id4`, `id5`, `map`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecsmin`, `spawntimesecsmax`, `wander_distance`, `health_percent`, `mana_percent`, `movement_type`, `spawn_flags`, `visibility_mod`, `patch_min`, `patch_max`) VALUES (1881, 1493, 0, 0, 0, 0, 0, -14236.2, 737.019, 2.43126, 3.67262, 7200, 7200, 10, 100, 0, 1, 0, 0, 2, 10);
20+
21+
22+
-- End of migration.
23+
END IF;
24+
END??
25+
DELIMITER ;
26+
CALL add_migration();
27+
DROP PROCEDURE IF EXISTS add_migration;

0 commit comments

Comments
 (0)