Skip to content

Commit

Permalink
Add missing cry emote to Janice Felstone.
Browse files Browse the repository at this point in the history
  • Loading branch information
ratkosrb committed Dec 29, 2024
1 parent b2ffc23 commit 7459887
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions sql/migrations/20241229144029_world.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
DROP PROCEDURE IF EXISTS add_migration;
DELIMITER ??
CREATE PROCEDURE `add_migration`()
BEGIN
DECLARE v INT DEFAULT 1;
SET v = (SELECT COUNT(*) FROM `migrations` WHERE `id`='20241229144029');
IF v = 0 THEN
INSERT INTO `migrations` VALUES ('20241229144029');
-- Add your query below.


-- Add missing cry emote to Janice Felstone.
DELETE FROM `creature_ai_scripts` WHERE `id`=1077801;
INSERT INTO `creature_ai_scripts` (`id`, `delay`, `priority`, `command`, `datalong`, `datalong2`, `datalong3`, `datalong4`, `target_param1`, `target_param2`, `target_type`, `data_flags`, `dataint`, `dataint2`, `dataint3`, `dataint4`, `x`, `y`, `z`, `o`, `condition_id`, `comments`) VALUES
(1077801, 0, 0, 1, 18, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Janice Felstone - Emote Cry'),
(1077801, 0, 1, 16, 2680, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Janice Felstone - Play Sound');


-- End of migration.
END IF;
END??
DELIMITER ;
CALL add_migration();
DROP PROCEDURE IF EXISTS add_migration;

0 comments on commit 7459887

Please sign in to comment.