Skip to content

Commit

Permalink
Fix quest Dancing for Marzipan.
Browse files Browse the repository at this point in the history
Fixes #2244
  • Loading branch information
ratkosrb committed Oct 24, 2023
1 parent 1e82e5b commit 24463db
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions sql/migrations/20231024111757_world.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
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`='20231024111757');
IF v=0 THEN
INSERT INTO `migrations` VALUES ('20231024111757');
-- Add your query below.


-- Fix quest Dancing for Marzipan.
DELETE FROM `creature_ai_scripts` WHERE `id`=674601;
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
(674601, 0, 0, 8, 6746, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Innkeeper Pala - Complete Quest Dancing for Marzipan'),
(674601, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10800, 0, 0, 0, 0, 0, 0, 0, 0, 'Innkeeper Pala - Say Text');
UPDATE `quest_template` SET `SpecialFlags`=1 WHERE `entry`=8360;


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

0 comments on commit 24463db

Please sign in to comment.