Files
moonwell-core-vanilla/sql/migrations/20190608090738_world.sql
T
2019-06-08 12:08:55 +03:00

146 lines
35 KiB
SQL

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`='20190608090738');
IF v=0 THEN
INSERT INTO `migrations` VALUES ('20190608090738');
-- Add your query below.
/*
World of Warcraft Client Patch 1.9.0 (2006-01-03)
- Noxxion in Maraudon now has the correct immunities.
- Noxxion is now social and will bring friends if pulled past other
creatures.
*/
DELETE FROM `creature_template` WHERE `entry`=13282;
INSERT INTO `creature_template` (`entry`, `patch`, `display_id1`, `display_id2`, `display_id3`, `display_id4`, `name`, `subname`, `gossip_menu_id`, `level_min`, `level_max`, `health_min`, `health_max`, `mana_min`, `mana_max`, `armor`, `faction`, `npc_flags`, `speed_walk`, `speed_run`, `scale`, `detection_range`, `call_for_help_range`, `leash_range`, `rank`, `xp_multiplier`, `dmg_min`, `dmg_max`, `dmg_school`, `attack_power`, `dmg_multiplier`, `base_attack_time`, `ranged_attack_time`, `unit_class`, `unit_flags`, `dynamic_flags`, `beast_family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `ranged_dmg_min`, `ranged_dmg_max`, `ranged_attack_power`, `type`, `type_flags`, `loot_id`, `pickpocket_loot_id`, `skinning_loot_id`, `holy_res`, `fire_res`, `nature_res`, `frost_res`, `shadow_res`, `arcane_res`, `spell_id1`, `spell_id2`, `spell_id3`, `spell_id4`, `spell_list_id`, `pet_spell_list_id`, `gold_min`, `gold_max`, `ai_name`, `movement_type`, `inhabit_type`, `civilian`, `racial_leader`, `regeneration`, `equipment_id`, `trainer_id`, `vendor_id`, `mechanic_immune_mask`, `school_immune_mask`, `flags_extra`, `script_name`) VALUES (13282, 0, 11172, 0, 0, 0, 'Noxxion', '', 0, 48, 48, 14726, 14726, 0, 0, 2780, 16, 0, 1.2, 1.14286, 0, 20, 0, 0, 1, 1, 177, 228, 3, 216, 1, 2000, 2000, 1, 64, 0, 0, 0, 0, 0, 0, 53.9, 74.1125, 100, 4, 8, 13282, 0, 0, 0, 96, 144, 0, 96, 96, 21687, 21547, 21707, 0, 0, 0, 0, 0, '', 1, 3, 0, 0, 3, 0, 0, 0, 0, 16, 32, 'boss_noxxion');
INSERT INTO `creature_template` (`entry`, `patch`, `display_id1`, `display_id2`, `display_id3`, `display_id4`, `name`, `subname`, `gossip_menu_id`, `level_min`, `level_max`, `health_min`, `health_max`, `mana_min`, `mana_max`, `armor`, `faction`, `npc_flags`, `speed_walk`, `speed_run`, `scale`, `detection_range`, `call_for_help_range`, `leash_range`, `rank`, `xp_multiplier`, `dmg_min`, `dmg_max`, `dmg_school`, `attack_power`, `dmg_multiplier`, `base_attack_time`, `ranged_attack_time`, `unit_class`, `unit_flags`, `dynamic_flags`, `beast_family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `ranged_dmg_min`, `ranged_dmg_max`, `ranged_attack_power`, `type`, `type_flags`, `loot_id`, `pickpocket_loot_id`, `skinning_loot_id`, `holy_res`, `fire_res`, `nature_res`, `frost_res`, `shadow_res`, `arcane_res`, `spell_id1`, `spell_id2`, `spell_id3`, `spell_id4`, `spell_list_id`, `pet_spell_list_id`, `gold_min`, `gold_max`, `ai_name`, `movement_type`, `inhabit_type`, `civilian`, `racial_leader`, `regeneration`, `equipment_id`, `trainer_id`, `vendor_id`, `mechanic_immune_mask`, `school_immune_mask`, `flags_extra`, `script_name`) VALUES (13282, 7, 11172, 0, 0, 0, 'Noxxion', '', 0, 48, 48, 14726, 14726, 0, 0, 2780, 16, 0, 1.2, 1.14286, 0, 20, 5, 0, 1, 1, 177, 228, 3, 216, 1, 2000, 2000, 1, 64, 0, 0, 0, 0, 0, 0, 53.9, 74.1125, 100, 4, 8, 13282, 0, 0, 0, 96, 144, 0, 96, 96, 21687, 21547, 21707, 0, 0, 0, 0, 0, '', 1, 3, 0, 0, 3, 0, 0, 0, 608925267, 16, 32, 'boss_noxxion');
/*
World of Warcraft Client Patch 1.9.0 (2006-01-03)
- Abyssal Templars are no longer marked as Humanoid.
*/
DELETE FROM `creature_template` WHERE `entry` IN (15211, 15209, 15307, 15212);
INSERT INTO `creature_template` (`entry`, `patch`, `display_id1`, `display_id2`, `display_id3`, `display_id4`, `name`, `subname`, `gossip_menu_id`, `level_min`, `level_max`, `health_min`, `health_max`, `mana_min`, `mana_max`, `armor`, `faction`, `npc_flags`, `speed_walk`, `speed_run`, `scale`, `detection_range`, `call_for_help_range`, `leash_range`, `rank`, `xp_multiplier`, `dmg_min`, `dmg_max`, `dmg_school`, `attack_power`, `dmg_multiplier`, `base_attack_time`, `ranged_attack_time`, `unit_class`, `unit_flags`, `dynamic_flags`, `beast_family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `ranged_dmg_min`, `ranged_dmg_max`, `ranged_attack_power`, `type`, `type_flags`, `loot_id`, `pickpocket_loot_id`, `skinning_loot_id`, `holy_res`, `fire_res`, `nature_res`, `frost_res`, `shadow_res`, `arcane_res`, `spell_id1`, `spell_id2`, `spell_id3`, `spell_id4`, `spell_list_id`, `pet_spell_list_id`, `gold_min`, `gold_max`, `ai_name`, `movement_type`, `inhabit_type`, `civilian`, `racial_leader`, `regeneration`, `equipment_id`, `trainer_id`, `vendor_id`, `mechanic_immune_mask`, `school_immune_mask`, `flags_extra`, `script_name`) VALUES (15209, 6, 1204, 0, 0, 0, 'Crimson Templar', 'Abyssal Council', 0, 60, 60, 8245, 8245, 2434, 2434, 3691, 14, 0, 1, 1.14286, 0, 20, 5, 0, 1, 1, 170, 230, 2, 272, 1.2, 1150, 1265, 0, 0, 0, 0, 0, 0, 0, 0, 61.732, 84.8815, 100, 7, 8, 15209, 0, 0, 0, 0, 0, 0, 0, 0, 11989, 16536, 0, 0, 152090, 0, 176, 880, 'EventAI', 0, 1, 0, 0, 3, 0, 0, 0, 25094, 4, 32, '');
INSERT INTO `creature_template` (`entry`, `patch`, `display_id1`, `display_id2`, `display_id3`, `display_id4`, `name`, `subname`, `gossip_menu_id`, `level_min`, `level_max`, `health_min`, `health_max`, `mana_min`, `mana_max`, `armor`, `faction`, `npc_flags`, `speed_walk`, `speed_run`, `scale`, `detection_range`, `call_for_help_range`, `leash_range`, `rank`, `xp_multiplier`, `dmg_min`, `dmg_max`, `dmg_school`, `attack_power`, `dmg_multiplier`, `base_attack_time`, `ranged_attack_time`, `unit_class`, `unit_flags`, `dynamic_flags`, `beast_family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `ranged_dmg_min`, `ranged_dmg_max`, `ranged_attack_power`, `type`, `type_flags`, `loot_id`, `pickpocket_loot_id`, `skinning_loot_id`, `holy_res`, `fire_res`, `nature_res`, `frost_res`, `shadow_res`, `arcane_res`, `spell_id1`, `spell_id2`, `spell_id3`, `spell_id4`, `spell_list_id`, `pet_spell_list_id`, `gold_min`, `gold_max`, `ai_name`, `movement_type`, `inhabit_type`, `civilian`, `racial_leader`, `regeneration`, `equipment_id`, `trainer_id`, `vendor_id`, `mechanic_immune_mask`, `school_immune_mask`, `flags_extra`, `script_name`) VALUES (15209, 7, 1204, 0, 0, 0, 'Crimson Templar', 'Abyssal Council', 0, 60, 60, 8245, 8245, 2434, 2434, 3691, 14, 0, 1, 1.14286, 0, 20, 5, 0, 1, 1, 170, 230, 2, 272, 1.2, 1150, 1265, 0, 0, 0, 0, 0, 0, 0, 0, 61.732, 84.8815, 100, 4, 8, 15209, 0, 0, 0, 0, 0, 0, 0, 0, 11989, 16536, 0, 0, 152090, 0, 176, 880, 'EventAI', 0, 1, 0, 0, 3, 0, 0, 0, 25094, 4, 32, '');
INSERT INTO `creature_template` (`entry`, `patch`, `display_id1`, `display_id2`, `display_id3`, `display_id4`, `name`, `subname`, `gossip_menu_id`, `level_min`, `level_max`, `health_min`, `health_max`, `mana_min`, `mana_max`, `armor`, `faction`, `npc_flags`, `speed_walk`, `speed_run`, `scale`, `detection_range`, `call_for_help_range`, `leash_range`, `rank`, `xp_multiplier`, `dmg_min`, `dmg_max`, `dmg_school`, `attack_power`, `dmg_multiplier`, `base_attack_time`, `ranged_attack_time`, `unit_class`, `unit_flags`, `dynamic_flags`, `beast_family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `ranged_dmg_min`, `ranged_dmg_max`, `ranged_attack_power`, `type`, `type_flags`, `loot_id`, `pickpocket_loot_id`, `skinning_loot_id`, `holy_res`, `fire_res`, `nature_res`, `frost_res`, `shadow_res`, `arcane_res`, `spell_id1`, `spell_id2`, `spell_id3`, `spell_id4`, `spell_list_id`, `pet_spell_list_id`, `gold_min`, `gold_max`, `ai_name`, `movement_type`, `inhabit_type`, `civilian`, `racial_leader`, `regeneration`, `equipment_id`, `trainer_id`, `vendor_id`, `mechanic_immune_mask`, `school_immune_mask`, `flags_extra`, `script_name`) VALUES (15211, 6, 13749, 0, 0, 0, 'Azure Templar', 'Abyssal Council', 0, 60, 60, 8062, 8062, 2434, 2434, 3691, 14, 0, 1, 1.14286, 1, 20, 5, 0, 1, 1, 162, 218, 4, 272, 1.2, 1166, 1283, 0, 0, 0, 0, 0, 0, 0, 0, 60.5576, 83.2667, 100, 7, 8, 15211, 0, 0, 0, 0, 0, 0, 0, 0, 12548, 14907, 0, 0, 152110, 0, 165, 826, 'EventAI', 0, 3, 0, 0, 3, 0, 0, 0, 16384, 16, 32, '');
INSERT INTO `creature_template` (`entry`, `patch`, `display_id1`, `display_id2`, `display_id3`, `display_id4`, `name`, `subname`, `gossip_menu_id`, `level_min`, `level_max`, `health_min`, `health_max`, `mana_min`, `mana_max`, `armor`, `faction`, `npc_flags`, `speed_walk`, `speed_run`, `scale`, `detection_range`, `call_for_help_range`, `leash_range`, `rank`, `xp_multiplier`, `dmg_min`, `dmg_max`, `dmg_school`, `attack_power`, `dmg_multiplier`, `base_attack_time`, `ranged_attack_time`, `unit_class`, `unit_flags`, `dynamic_flags`, `beast_family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `ranged_dmg_min`, `ranged_dmg_max`, `ranged_attack_power`, `type`, `type_flags`, `loot_id`, `pickpocket_loot_id`, `skinning_loot_id`, `holy_res`, `fire_res`, `nature_res`, `frost_res`, `shadow_res`, `arcane_res`, `spell_id1`, `spell_id2`, `spell_id3`, `spell_id4`, `spell_list_id`, `pet_spell_list_id`, `gold_min`, `gold_max`, `ai_name`, `movement_type`, `inhabit_type`, `civilian`, `racial_leader`, `regeneration`, `equipment_id`, `trainer_id`, `vendor_id`, `mechanic_immune_mask`, `school_immune_mask`, `flags_extra`, `script_name`) VALUES (15211, 7, 13749, 0, 0, 0, 'Azure Templar', 'Abyssal Council', 0, 60, 60, 8062, 8062, 2434, 2434, 3691, 14, 0, 1, 1.14286, 1, 20, 5, 0, 1, 1, 162, 218, 4, 272, 1.2, 1166, 1283, 0, 0, 0, 0, 0, 0, 0, 0, 60.5576, 83.2667, 100, 4, 8, 15211, 0, 0, 0, 0, 0, 0, 0, 0, 12548, 14907, 0, 0, 152110, 0, 165, 826, 'EventAI', 0, 3, 0, 0, 3, 0, 0, 0, 16384, 16, 32, '');
INSERT INTO `creature_template` (`entry`, `patch`, `display_id1`, `display_id2`, `display_id3`, `display_id4`, `name`, `subname`, `gossip_menu_id`, `level_min`, `level_max`, `health_min`, `health_max`, `mana_min`, `mana_max`, `armor`, `faction`, `npc_flags`, `speed_walk`, `speed_run`, `scale`, `detection_range`, `call_for_help_range`, `leash_range`, `rank`, `xp_multiplier`, `dmg_min`, `dmg_max`, `dmg_school`, `attack_power`, `dmg_multiplier`, `base_attack_time`, `ranged_attack_time`, `unit_class`, `unit_flags`, `dynamic_flags`, `beast_family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `ranged_dmg_min`, `ranged_dmg_max`, `ranged_attack_power`, `type`, `type_flags`, `loot_id`, `pickpocket_loot_id`, `skinning_loot_id`, `holy_res`, `fire_res`, `nature_res`, `frost_res`, `shadow_res`, `arcane_res`, `spell_id1`, `spell_id2`, `spell_id3`, `spell_id4`, `spell_list_id`, `pet_spell_list_id`, `gold_min`, `gold_max`, `ai_name`, `movement_type`, `inhabit_type`, `civilian`, `racial_leader`, `regeneration`, `equipment_id`, `trainer_id`, `vendor_id`, `mechanic_immune_mask`, `school_immune_mask`, `flags_extra`, `script_name`) VALUES (15212, 6, 14502, 0, 0, 0, 'Hoary Templar', 'Abyssal Council', 0, 60, 60, 8090, 8090, 2434, 2434, 3691, 14, 0, 1, 1.14286, 0, 20, 5, 0, 1, 1, 265, 360, 0, 272, 1.2, 1150, 1265, 0, 0, 0, 0, 0, 0, 0, 0, 61.732, 84.8815, 100, 7, 8, 15212, 0, 0, 0, 0, 0, 0, 0, 0, 19514, 0, 0, 0, 152120, 0, 176, 880, 'EventAI', 0, 3, 0, 0, 3, 0, 0, 0, 0, 0, 0, '');
INSERT INTO `creature_template` (`entry`, `patch`, `display_id1`, `display_id2`, `display_id3`, `display_id4`, `name`, `subname`, `gossip_menu_id`, `level_min`, `level_max`, `health_min`, `health_max`, `mana_min`, `mana_max`, `armor`, `faction`, `npc_flags`, `speed_walk`, `speed_run`, `scale`, `detection_range`, `call_for_help_range`, `leash_range`, `rank`, `xp_multiplier`, `dmg_min`, `dmg_max`, `dmg_school`, `attack_power`, `dmg_multiplier`, `base_attack_time`, `ranged_attack_time`, `unit_class`, `unit_flags`, `dynamic_flags`, `beast_family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `ranged_dmg_min`, `ranged_dmg_max`, `ranged_attack_power`, `type`, `type_flags`, `loot_id`, `pickpocket_loot_id`, `skinning_loot_id`, `holy_res`, `fire_res`, `nature_res`, `frost_res`, `shadow_res`, `arcane_res`, `spell_id1`, `spell_id2`, `spell_id3`, `spell_id4`, `spell_list_id`, `pet_spell_list_id`, `gold_min`, `gold_max`, `ai_name`, `movement_type`, `inhabit_type`, `civilian`, `racial_leader`, `regeneration`, `equipment_id`, `trainer_id`, `vendor_id`, `mechanic_immune_mask`, `school_immune_mask`, `flags_extra`, `script_name`) VALUES (15212, 7, 14502, 0, 0, 0, 'Hoary Templar', 'Abyssal Council', 0, 60, 60, 8090, 8090, 2434, 2434, 3691, 14, 0, 1, 1.14286, 0, 20, 5, 0, 1, 1, 265, 360, 0, 272, 1.2, 1150, 1265, 0, 0, 0, 0, 0, 0, 0, 0, 61.732, 84.8815, 100, 4, 8, 15212, 0, 0, 0, 0, 0, 0, 0, 0, 19514, 0, 0, 0, 152120, 0, 176, 880, 'EventAI', 0, 3, 0, 0, 3, 0, 0, 0, 0, 0, 0, '');
INSERT INTO `creature_template` (`entry`, `patch`, `display_id1`, `display_id2`, `display_id3`, `display_id4`, `name`, `subname`, `gossip_menu_id`, `level_min`, `level_max`, `health_min`, `health_max`, `mana_min`, `mana_max`, `armor`, `faction`, `npc_flags`, `speed_walk`, `speed_run`, `scale`, `detection_range`, `call_for_help_range`, `leash_range`, `rank`, `xp_multiplier`, `dmg_min`, `dmg_max`, `dmg_school`, `attack_power`, `dmg_multiplier`, `base_attack_time`, `ranged_attack_time`, `unit_class`, `unit_flags`, `dynamic_flags`, `beast_family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `ranged_dmg_min`, `ranged_dmg_max`, `ranged_attack_power`, `type`, `type_flags`, `loot_id`, `pickpocket_loot_id`, `skinning_loot_id`, `holy_res`, `fire_res`, `nature_res`, `frost_res`, `shadow_res`, `arcane_res`, `spell_id1`, `spell_id2`, `spell_id3`, `spell_id4`, `spell_list_id`, `pet_spell_list_id`, `gold_min`, `gold_max`, `ai_name`, `movement_type`, `inhabit_type`, `civilian`, `racial_leader`, `regeneration`, `equipment_id`, `trainer_id`, `vendor_id`, `mechanic_immune_mask`, `school_immune_mask`, `flags_extra`, `script_name`) VALUES (15307, 6, 14512, 0, 0, 0, 'Earthen Templar', 'Abyssal Council', 0, 60, 60, 7965, 7965, 2434, 2434, 3691, 16, 0, 1, 1.14286, 0, 20, 5, 0, 1, 1, 265, 360, 0, 272, 1.2, 1150, 1265, 0, 0, 0, 0, 0, 0, 0, 0, 61.732, 84.8815, 100, 7, 8, 15307, 0, 0, 0, 0, 0, 0, 0, 0, 22127, 18813, 0, 0, 153070, 0, 176, 880, 'EventAI', 0, 3, 0, 0, 3, 0, 0, 0, 0, 0, 0, '');
INSERT INTO `creature_template` (`entry`, `patch`, `display_id1`, `display_id2`, `display_id3`, `display_id4`, `name`, `subname`, `gossip_menu_id`, `level_min`, `level_max`, `health_min`, `health_max`, `mana_min`, `mana_max`, `armor`, `faction`, `npc_flags`, `speed_walk`, `speed_run`, `scale`, `detection_range`, `call_for_help_range`, `leash_range`, `rank`, `xp_multiplier`, `dmg_min`, `dmg_max`, `dmg_school`, `attack_power`, `dmg_multiplier`, `base_attack_time`, `ranged_attack_time`, `unit_class`, `unit_flags`, `dynamic_flags`, `beast_family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `ranged_dmg_min`, `ranged_dmg_max`, `ranged_attack_power`, `type`, `type_flags`, `loot_id`, `pickpocket_loot_id`, `skinning_loot_id`, `holy_res`, `fire_res`, `nature_res`, `frost_res`, `shadow_res`, `arcane_res`, `spell_id1`, `spell_id2`, `spell_id3`, `spell_id4`, `spell_list_id`, `pet_spell_list_id`, `gold_min`, `gold_max`, `ai_name`, `movement_type`, `inhabit_type`, `civilian`, `racial_leader`, `regeneration`, `equipment_id`, `trainer_id`, `vendor_id`, `mechanic_immune_mask`, `school_immune_mask`, `flags_extra`, `script_name`) VALUES (15307, 7, 14512, 0, 0, 0, 'Earthen Templar', 'Abyssal Council', 0, 60, 60, 7965, 7965, 2434, 2434, 3691, 16, 0, 1, 1.14286, 0, 20, 5, 0, 1, 1, 265, 360, 0, 272, 1.2, 1150, 1265, 0, 0, 0, 0, 0, 0, 0, 0, 61.732, 84.8815, 100, 4, 8, 15307, 0, 0, 0, 0, 0, 0, 0, 0, 22127, 18813, 0, 0, 153070, 0, 176, 880, 'EventAI', 0, 3, 0, 0, 3, 0, 0, 0, 0, 0, 0, '');
/*
World of Warcraft Client Patch 1.9.0 (2006-01-03)
- Gordok Reavers and Warlocks now have a slightly larger radius for
detection and "call for help."
*/
DELETE FROM `creature_template` WHERE `entry`=11450;
INSERT INTO `creature_template` (`entry`, `patch`, `display_id1`, `display_id2`, `display_id3`, `display_id4`, `name`, `subname`, `gossip_menu_id`, `level_min`, `level_max`, `health_min`, `health_max`, `mana_min`, `mana_max`, `armor`, `faction`, `npc_flags`, `speed_walk`, `speed_run`, `scale`, `detection_range`, `call_for_help_range`, `leash_range`, `rank`, `xp_multiplier`, `dmg_min`, `dmg_max`, `dmg_school`, `attack_power`, `dmg_multiplier`, `base_attack_time`, `ranged_attack_time`, `unit_class`, `unit_flags`, `dynamic_flags`, `beast_family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `ranged_dmg_min`, `ranged_dmg_max`, `ranged_attack_power`, `type`, `type_flags`, `loot_id`, `pickpocket_loot_id`, `skinning_loot_id`, `holy_res`, `fire_res`, `nature_res`, `frost_res`, `shadow_res`, `arcane_res`, `spell_id1`, `spell_id2`, `spell_id3`, `spell_id4`, `spell_list_id`, `pet_spell_list_id`, `gold_min`, `gold_max`, `ai_name`, `movement_type`, `inhabit_type`, `civilian`, `racial_leader`, `regeneration`, `equipment_id`, `trainer_id`, `vendor_id`, `mechanic_immune_mask`, `school_immune_mask`, `flags_extra`, `script_name`) VALUES (11450, 1, 10709, 0, 0, 0, 'Gordok Reaver', NULL, 5746, 58, 59, 14283, 14733, 0, 0, 3489, 45, 1, 1, 1.14286, 0, 20, 5, 0, 1, 1, 899, 1159, 0, 268, 1, 2000, 1292, 0, 0, 0, 0, 0, 0, 0, 0, 59.9488, 82.4296, 100, 7, 8, 11450, 11450, 0, 0, 0, 0, 0, 0, 0, 15284, 0, 0, 0, 0, 0, 776, 1018, 'EventAI', 1, 3, 0, 0, 3, 11450, 0, 0, 0, 0, 0, '');
INSERT INTO `creature_template` (`entry`, `patch`, `display_id1`, `display_id2`, `display_id3`, `display_id4`, `name`, `subname`, `gossip_menu_id`, `level_min`, `level_max`, `health_min`, `health_max`, `mana_min`, `mana_max`, `armor`, `faction`, `npc_flags`, `speed_walk`, `speed_run`, `scale`, `detection_range`, `call_for_help_range`, `leash_range`, `rank`, `xp_multiplier`, `dmg_min`, `dmg_max`, `dmg_school`, `attack_power`, `dmg_multiplier`, `base_attack_time`, `ranged_attack_time`, `unit_class`, `unit_flags`, `dynamic_flags`, `beast_family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `ranged_dmg_min`, `ranged_dmg_max`, `ranged_attack_power`, `type`, `type_flags`, `loot_id`, `pickpocket_loot_id`, `skinning_loot_id`, `holy_res`, `fire_res`, `nature_res`, `frost_res`, `shadow_res`, `arcane_res`, `spell_id1`, `spell_id2`, `spell_id3`, `spell_id4`, `spell_list_id`, `pet_spell_list_id`, `gold_min`, `gold_max`, `ai_name`, `movement_type`, `inhabit_type`, `civilian`, `racial_leader`, `regeneration`, `equipment_id`, `trainer_id`, `vendor_id`, `mechanic_immune_mask`, `school_immune_mask`, `flags_extra`, `script_name`) VALUES (11450, 7, 10709, 0, 0, 0, 'Gordok Reaver', NULL, 5746, 58, 59, 14283, 14733, 0, 0, 3489, 45, 1, 1, 1.14286, 0, 25, 10, 0, 1, 1, 899, 1159, 0, 268, 1, 2000, 1292, 0, 0, 0, 0, 0, 0, 0, 0, 59.9488, 82.4296, 100, 7, 8, 11450, 11450, 0, 0, 0, 0, 0, 0, 0, 15284, 0, 0, 0, 0, 0, 776, 1018, 'EventAI', 1, 3, 0, 0, 3, 11450, 0, 0, 0, 0, 0, '');
DELETE FROM `creature_template` WHERE `entry`=11448;
INSERT INTO `creature_template` (`entry`, `patch`, `display_id1`, `display_id2`, `display_id3`, `display_id4`, `name`, `subname`, `gossip_menu_id`, `level_min`, `level_max`, `health_min`, `health_max`, `mana_min`, `mana_max`, `armor`, `faction`, `npc_flags`, `speed_walk`, `speed_run`, `scale`, `detection_range`, `call_for_help_range`, `leash_range`, `rank`, `xp_multiplier`, `dmg_min`, `dmg_max`, `dmg_school`, `attack_power`, `dmg_multiplier`, `base_attack_time`, `ranged_attack_time`, `unit_class`, `unit_flags`, `dynamic_flags`, `beast_family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `ranged_dmg_min`, `ranged_dmg_max`, `ranged_attack_power`, `type`, `type_flags`, `loot_id`, `pickpocket_loot_id`, `skinning_loot_id`, `holy_res`, `fire_res`, `nature_res`, `frost_res`, `shadow_res`, `arcane_res`, `spell_id1`, `spell_id2`, `spell_id3`, `spell_id4`, `spell_list_id`, `pet_spell_list_id`, `gold_min`, `gold_max`, `ai_name`, `movement_type`, `inhabit_type`, `civilian`, `racial_leader`, `regeneration`, `equipment_id`, `trainer_id`, `vendor_id`, `mechanic_immune_mask`, `school_immune_mask`, `flags_extra`, `script_name`) VALUES (11448, 1, 14423, 0, 0, 0, 'Gordok Warlock', NULL, 5746, 59, 60, 10189, 10753, 16794, 17253, 1923, 45, 1, 1, 1.14286, 0, 20, 5, 0, 1, 1, 528, 681, 0, 272, 1, 1175, 1292, 0, 0, 0, 0, 0, 0, 0, 0, 59.9488, 82.4296, 100, 7, 8, 11448, 11448, 0, 0, 0, 0, 0, 0, 0, 15232, 17883, 13338, 0, 114480, 0, 0, 0, 'EventAI', 1, 3, 0, 0, 3, 0, 0, 0, 0, 0, 0, '');
INSERT INTO `creature_template` (`entry`, `patch`, `display_id1`, `display_id2`, `display_id3`, `display_id4`, `name`, `subname`, `gossip_menu_id`, `level_min`, `level_max`, `health_min`, `health_max`, `mana_min`, `mana_max`, `armor`, `faction`, `npc_flags`, `speed_walk`, `speed_run`, `scale`, `detection_range`, `call_for_help_range`, `leash_range`, `rank`, `xp_multiplier`, `dmg_min`, `dmg_max`, `dmg_school`, `attack_power`, `dmg_multiplier`, `base_attack_time`, `ranged_attack_time`, `unit_class`, `unit_flags`, `dynamic_flags`, `beast_family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `ranged_dmg_min`, `ranged_dmg_max`, `ranged_attack_power`, `type`, `type_flags`, `loot_id`, `pickpocket_loot_id`, `skinning_loot_id`, `holy_res`, `fire_res`, `nature_res`, `frost_res`, `shadow_res`, `arcane_res`, `spell_id1`, `spell_id2`, `spell_id3`, `spell_id4`, `spell_list_id`, `pet_spell_list_id`, `gold_min`, `gold_max`, `ai_name`, `movement_type`, `inhabit_type`, `civilian`, `racial_leader`, `regeneration`, `equipment_id`, `trainer_id`, `vendor_id`, `mechanic_immune_mask`, `school_immune_mask`, `flags_extra`, `script_name`) VALUES (11448, 7, 14423, 0, 0, 0, 'Gordok Warlock', NULL, 5746, 59, 60, 10189, 10753, 16794, 17253, 1923, 45, 1, 1, 1.14286, 0, 25, 10, 0, 1, 1, 528, 681, 0, 272, 1, 1175, 1292, 0, 0, 0, 0, 0, 0, 0, 0, 59.9488, 82.4296, 100, 7, 8, 11448, 11448, 0, 0, 0, 0, 0, 0, 0, 15232, 17883, 13338, 0, 114480, 0, 0, 0, 'EventAI', 1, 3, 0, 0, 3, 0, 0, 0, 0, 0, 0, '');
/*
World of Warcraft Client Patch 1.9.0 (2006-01-03)
- Drop rate of Dark Runes in Scholomance has been reduced.
*/
DELETE FROM `creature_loot_template` WHERE `item`=20520 && `entry` IN (10477, 11582);
INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `groupid`, `mincountOrRef`, `maxcount`, `condition_id`, `patch_min`, `patch_max`) VALUES (10477, 20520, 30, 0, 1, 1, 0, 6, 6);
INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `groupid`, `mincountOrRef`, `maxcount`, `condition_id`, `patch_min`, `patch_max`) VALUES (10477, 20520, 15, 5, 1, 1, 0, 7, 10);
INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `groupid`, `mincountOrRef`, `maxcount`, `condition_id`, `patch_min`, `patch_max`) VALUES (11582, 20520, 30, 0, 1, 1, 0, 6, 6);
INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `groupid`, `mincountOrRef`, `maxcount`, `condition_id`, `patch_min`, `patch_max`) VALUES (11582, 20520, 15, 5, 1, 1, 0, 7, 10);
/*
World of Warcraft Client Patch 1.9.0 (2006-01-03)
- The Altar of the Deeps in Blackfathom Deeps will now give players
the Blessing of the Deeps.
*/
-- Fix wrong data for Altar of the Deeps.
DELETE FROM `gameobject_template` WHERE `entry`=94040;
INSERT INTO `gameobject_template` (`entry`, `patch`, `type`, `displayId`, `name`, `faction`, `flags`, `size`, `data0`, `data1`, `data2`, `data3`, `data4`, `data5`, `data6`, `data7`, `data8`, `data9`, `data10`, `data11`, `data12`, `data13`, `data14`, `data15`, `data16`, `data17`, `data18`, `data19`, `data20`, `data21`, `data22`, `data23`, `mingold`, `maxgold`, `script_name`) VALUES (94040, 0, 6, 1287, 'Altar of the Deeps', 0, 0, 1, 0, 0, 0, 8735, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '');
INSERT INTO `gameobject_template` (`entry`, `patch`, `type`, `displayId`, `name`, `faction`, `flags`, `size`, `data0`, `data1`, `data2`, `data3`, `data4`, `data5`, `data6`, `data7`, `data8`, `data9`, `data10`, `data11`, `data12`, `data13`, `data14`, `data15`, `data16`, `data17`, `data18`, `data19`, `data20`, `data21`, `data22`, `data23`, `mingold`, `maxgold`, `script_name`) VALUES (94040, 7, 6, 1287, 'Altar of the Deeps', 0, 0, 1, 0, 0, 0, 8733, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '');
INSERT INTO `gameobject` (`guid`, `id`, `map`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecsmin`, `spawntimesecsmax`, `animprogress`, `state`) VALUES (14106, 94040, 48, -839.619, -477.904, -33.7343, 3.14159, 0, 0, 0.926452, 0.376412, 300, 300, 255, 1);
UPDATE `gameobject_template` SET `type`=1, `flags`=16, `data0`=0, `data1`=93, `data2`=65536, `data3`=94040 WHERE `entry`=103016;
-- Remove not needed custom spell.
DELETE FROM `spell_mod` WHERE `ID`=33012;
DELETE FROM `spell_effect_mod` WHERE `ID`=33012;
DELETE FROM `event_scripts` WHERE `id`=9600;
-- Events list for Aku'mai.
DELETE FROM `creature_ai_scripts` WHERE `id` IN (482903);
DELETE FROM `creature_ai_events` WHERE `creature_id`=4829;
INSERT INTO `creature_ai_events` (`id`, `creature_id`, `condition_id`, `event_type`, `event_inverse_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action1_script`, `action2_script`, `action3_script`, `comment`) VALUES (482901, 4829, 0, 6, 0, 100, 0, 0, 0, 0, 0, 482901, 0, 0, 'Aku\'mai - Summon Morridune on Death');
INSERT INTO `creature_ai_events` (`id`, `creature_id`, `condition_id`, `event_type`, `event_inverse_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action1_script`, `action2_script`, `action3_script`, `comment`) VALUES (482902, 4829, 0, 0, 0, 100, 1, 15000, 15000, 20000, 20000, 482902, 0, 0, 'Aku\'mai - Cast Frenzied Rage');
DELETE FROM `creature_ai_scripts` WHERE `id`=482901;
INSERT INTO `creature_ai_scripts` (`id`, `delay`, `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 (482901, 0, 4, 9, 16, 2, 0, 103016, 150, 11, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Aku\'mai - Remove No Interact flag from Altar of the Deeps');
INSERT INTO `creature_ai_scripts` (`id`, `delay`, `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 (482901, 0, 10, 6729, 120000, 0, 0, 0, 0, 0, 0, 0, 0, 6, 1, -859.421, -454.338, -33.8915, 0.989665, 0, 'Aku\'mai - Summon Creature Morridune');
/*
World of Warcraft Client Patch 1.9.0 (2006-01-03)
- Nida Winterhoof in Thunder Bluff now sells Flowers for the sensitive
Horde player.
*/
DELETE FROM `npc_vendor` WHERE `entry`=3014;
DELETE FROM `creature_template` WHERE `entry`=3014;
INSERT INTO `creature_template` (`entry`, `patch`, `display_id1`, `display_id2`, `display_id3`, `display_id4`, `name`, `subname`, `gossip_menu_id`, `level_min`, `level_max`, `health_min`, `health_max`, `mana_min`, `mana_max`, `armor`, `faction`, `npc_flags`, `speed_walk`, `speed_run`, `scale`, `detection_range`, `call_for_help_range`, `leash_range`, `rank`, `xp_multiplier`, `dmg_min`, `dmg_max`, `dmg_school`, `attack_power`, `dmg_multiplier`, `base_attack_time`, `ranged_attack_time`, `unit_class`, `unit_flags`, `dynamic_flags`, `beast_family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `ranged_dmg_min`, `ranged_dmg_max`, `ranged_attack_power`, `type`, `type_flags`, `loot_id`, `pickpocket_loot_id`, `skinning_loot_id`, `holy_res`, `fire_res`, `nature_res`, `frost_res`, `shadow_res`, `arcane_res`, `spell_id1`, `spell_id2`, `spell_id3`, `spell_id4`, `spell_list_id`, `pet_spell_list_id`, `gold_min`, `gold_max`, `ai_name`, `movement_type`, `inhabit_type`, `civilian`, `racial_leader`, `regeneration`, `equipment_id`, `trainer_id`, `vendor_id`, `mechanic_immune_mask`, `school_immune_mask`, `flags_extra`, `script_name`) VALUES (3014, 0, 2119, 0, 0, 0, 'Nida Winterhoof', 'Herbalism Supplier', 9122, 30, 30, 1605, 1605, 0, 0, 1200, 105, 6, 1.1, 1.14286, 1.25, 20, 5, 0, 0, 1, 42, 53, 0, 122, 1, 2000, 2000, 1, 4608, 0, 0, 0, 0, 0, 0, 45.144, 62.073, 100, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'EventAI', 0, 1, 0, 0, 3, 3014, 0, 301400, 0, 0, 10, '');
INSERT INTO `creature_template` (`entry`, `patch`, `display_id1`, `display_id2`, `display_id3`, `display_id4`, `name`, `subname`, `gossip_menu_id`, `level_min`, `level_max`, `health_min`, `health_max`, `mana_min`, `mana_max`, `armor`, `faction`, `npc_flags`, `speed_walk`, `speed_run`, `scale`, `detection_range`, `call_for_help_range`, `leash_range`, `rank`, `xp_multiplier`, `dmg_min`, `dmg_max`, `dmg_school`, `attack_power`, `dmg_multiplier`, `base_attack_time`, `ranged_attack_time`, `unit_class`, `unit_flags`, `dynamic_flags`, `beast_family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `ranged_dmg_min`, `ranged_dmg_max`, `ranged_attack_power`, `type`, `type_flags`, `loot_id`, `pickpocket_loot_id`, `skinning_loot_id`, `holy_res`, `fire_res`, `nature_res`, `frost_res`, `shadow_res`, `arcane_res`, `spell_id1`, `spell_id2`, `spell_id3`, `spell_id4`, `spell_list_id`, `pet_spell_list_id`, `gold_min`, `gold_max`, `ai_name`, `movement_type`, `inhabit_type`, `civilian`, `racial_leader`, `regeneration`, `equipment_id`, `trainer_id`, `vendor_id`, `mechanic_immune_mask`, `school_immune_mask`, `flags_extra`, `script_name`) VALUES (3014, 7, 2119, 0, 0, 0, 'Nida Winterhoof', 'Herbalism Supplier', 9122, 30, 30, 1605, 1605, 0, 0, 1200, 105, 6, 1.1, 1.14286, 1.25, 20, 5, 0, 0, 1, 42, 53, 0, 122, 1, 2000, 2000, 1, 4608, 0, 0, 0, 0, 0, 0, 45.144, 62.073, 100, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'EventAI', 0, 1, 0, 0, 3, 3014, 0, 301401, 0, 0, 10, '');
-- Items sold by Nida Winterhoof before 1.9.
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`, `itemflags`) VALUES (301400, 3371, 0, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`, `itemflags`) VALUES (301400, 3372, 0, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`, `itemflags`) VALUES (301400, 8925, 0, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`, `itemflags`) VALUES (301400, 18256, 0, 0, 0);
-- Items sold by Nida Winterhoof after 1.9.
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`, `itemflags`) VALUES (301401, 3371, 0, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`, `itemflags`) VALUES (301401, 3372, 0, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`, `itemflags`) VALUES (301401, 3419, 0, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`, `itemflags`) VALUES (301401, 3420, 0, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`, `itemflags`) VALUES (301401, 3421, 0, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`, `itemflags`) VALUES (301401, 3422, 0, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`, `itemflags`) VALUES (301401, 3423, 0, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`, `itemflags`) VALUES (301401, 3424, 0, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`, `itemflags`) VALUES (301401, 8925, 0, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`, `itemflags`) VALUES (301401, 18256, 0, 0, 0);
/*
World of Warcraft Client Patch 1.9.0 (2006-01-03)
- The Short John Mithril's chest in Stranglethorn Arena will now
display an effect when it is being opened so its harder to open the
chest unnoticed.
*/
UPDATE `spell_script_target` SET `build_min`=5086 WHERE `targetEntry`=179697;
/*
World of Warcraft Client Patch 1.9.0 (2006-01-03)
- The Moonglade Wardens have received an increase in hit points and
damage dealt, bringing them in line with their Steamwheedle Cartel
bruiser counterparts.
*/
DELETE FROM `creature_template` WHERE `entry`=11822;
INSERT INTO `creature_template` (`entry`, `patch`, `display_id1`, `display_id2`, `display_id3`, `display_id4`, `name`, `subname`, `gossip_menu_id`, `level_min`, `level_max`, `health_min`, `health_max`, `mana_min`, `mana_max`, `armor`, `faction`, `npc_flags`, `speed_walk`, `speed_run`, `scale`, `detection_range`, `call_for_help_range`, `leash_range`, `rank`, `xp_multiplier`, `dmg_min`, `dmg_max`, `dmg_school`, `attack_power`, `dmg_multiplier`, `base_attack_time`, `ranged_attack_time`, `unit_class`, `unit_flags`, `dynamic_flags`, `beast_family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `ranged_dmg_min`, `ranged_dmg_max`, `ranged_attack_power`, `type`, `type_flags`, `loot_id`, `pickpocket_loot_id`, `skinning_loot_id`, `holy_res`, `fire_res`, `nature_res`, `frost_res`, `shadow_res`, `arcane_res`, `spell_id1`, `spell_id2`, `spell_id3`, `spell_id4`, `spell_list_id`, `pet_spell_list_id`, `gold_min`, `gold_max`, `ai_name`, `movement_type`, `inhabit_type`, `civilian`, `racial_leader`, `regeneration`, `equipment_id`, `trainer_id`, `vendor_id`, `mechanic_immune_mask`, `school_immune_mask`, `flags_extra`, `script_name`) VALUES (11822, 0, 11774, 11776, 11775, 11777, 'Moonglade Warden', NULL, 0, 55, 55, 2226, 2226, 621, 621, 2500, 1254, 0, 1, 1.14286, 1.25, 20, 5, 0, 0, 1, 60, 77, 0, 248, 1, 2000, 2000, 2, 36864, 0, 0, 0, 0, 0, 0, 301.34, 422.17, 100, 7, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7918, 0, 0, 118220, 0, 54, 269, 'GuardAI', 0, 1, 0, 0, 3, 11822, 0, 0, 0, 0, 1024, '');
INSERT INTO `creature_template` (`entry`, `patch`, `display_id1`, `display_id2`, `display_id3`, `display_id4`, `name`, `subname`, `gossip_menu_id`, `level_min`, `level_max`, `health_min`, `health_max`, `mana_min`, `mana_max`, `armor`, `faction`, `npc_flags`, `speed_walk`, `speed_run`, `scale`, `detection_range`, `call_for_help_range`, `leash_range`, `rank`, `xp_multiplier`, `dmg_min`, `dmg_max`, `dmg_school`, `attack_power`, `dmg_multiplier`, `base_attack_time`, `ranged_attack_time`, `unit_class`, `unit_flags`, `dynamic_flags`, `beast_family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `ranged_dmg_min`, `ranged_dmg_max`, `ranged_attack_power`, `type`, `type_flags`, `loot_id`, `pickpocket_loot_id`, `skinning_loot_id`, `holy_res`, `fire_res`, `nature_res`, `frost_res`, `shadow_res`, `arcane_res`, `spell_id1`, `spell_id2`, `spell_id3`, `spell_id4`, `spell_list_id`, `pet_spell_list_id`, `gold_min`, `gold_max`, `ai_name`, `movement_type`, `inhabit_type`, `civilian`, `racial_leader`, `regeneration`, `equipment_id`, `trainer_id`, `vendor_id`, `mechanic_immune_mask`, `school_immune_mask`, `flags_extra`, `script_name`) VALUES (11822, 7, 11774, 11776, 11775, 11777, 'Moonglade Warden', NULL, 0, 55, 55, 4108, 4108, 2117, 2790, 2500, 1254, 0, 1, 1.14286, 1.25, 20, 5, 0, 0, 1, 224, 253, 0, 248, 1, 2000, 2000, 2, 36864, 0, 0, 0, 0, 0, 0, 301.34, 422.17, 100, 7, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7918, 0, 0, 118220, 0, 54, 269, 'GuardAI', 0, 1, 0, 0, 3, 11822, 0, 0, 0, 0, 1024, '');
-- Fix startup error on low patch values.
UPDATE `creature_loot_template` SET `patch_min`=7 WHERE `patch_min` < 7 && `entry` IN (15541, 15542);
-- End of migration.
END IF;
END??
delimiter ;
CALL add_migration();
DROP PROCEDURE IF EXISTS add_migration;