66 lines
19 KiB
SQL
66 lines
19 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`='20191009165738');
|
|
IF v=0 THEN
|
|
INSERT INTO `migrations` VALUES ('20191009165738');
|
|
-- Add your query below.
|
|
|
|
|
|
-- Correct pet spell list ids for all creatures.
|
|
UPDATE `creature_template` SET `pet_spell_list_id`=5795 WHERE `entry`=1129;
|
|
UPDATE `creature_template` SET `pet_spell_list_id`=5925 WHERE `entry`=4396;
|
|
UPDATE `creature_template` SET `pet_spell_list_id`=5927 WHERE `entry`=4400;
|
|
UPDATE `creature_template` SET `pet_spell_list_id`=5901 WHERE `entry`=4411;
|
|
UPDATE `creature_template` SET `pet_spell_list_id`=5899 WHERE `entry`=4413;
|
|
UPDATE `creature_template` SET `pet_spell_list_id`=5931 WHERE `entry`=5432;
|
|
UPDATE `creature_template` SET `pet_spell_list_id`=5838 WHERE `entry`=6250;
|
|
UPDATE `creature_template` SET `pet_spell_list_id`=5874 WHERE `entry`=8926;
|
|
UPDATE `creature_template` SET `pet_spell_list_id`=5793 WHERE `entry`=8927;
|
|
UPDATE `creature_template` SET `pet_spell_list_id`=5907 WHERE `entry`=8933;
|
|
UPDATE `creature_template` SET `pet_spell_list_id`=5923 WHERE `entry`=13599;
|
|
UPDATE `creature_template` SET `pet_spell_list_id`=5858 WHERE `entry`=14233;
|
|
UPDATE `creature_template` SET `pet_spell_list_id`=8302 WHERE `entry`=11370;
|
|
UPDATE `creature_template` SET `pet_spell_list_id`=8271 WHERE `entry`=15068;
|
|
UPDATE `creature_template` SET `pet_spell_list_id`=8272 WHERE `entry`=15101;
|
|
|
|
-- Pre-1.11 pet spell list id for Ghost Saber.
|
|
DELETE FROM `creature_template` WHERE `entry`=3619;
|
|
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 (3619, 0, 4472, 0, 0, 0, 'Ghost Saber', NULL, 0, 19, 20, 483, 483, 0, 0, 835, 66, 0, 1.04, 1.42857, 0, 20, 5, 0, 0, 1, 55, 66, 0, 90, 1, 2000, 1947, 1, 0, 0, 2, 0, 0, 0, 0, 34.2672, 47.1174, 100, 1, 1, 3619, 0, 3619, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5801, 6, 32, '', 0, 1, 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 (3619, 9, 4472, 0, 0, 0, 'Ghost Saber', NULL, 0, 19, 20, 483, 483, 0, 0, 835, 66, 0, 1.04, 1.42857, 0, 20, 5, 0, 0, 1, 55, 66, 0, 90, 1, 2000, 1947, 1, 0, 0, 2, 0, 0, 0, 0, 34.2672, 47.1174, 100, 1, 1, 3619, 0, 3619, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9477, 6, 32, '', 0, 1, 0, 0, 3, 0, 0, 0, 0, 0, 0, '');
|
|
|
|
-- Pet spell list id for Wayward Buzzard added in patch 1.4.
|
|
DELETE FROM `creature_template` WHERE `entry`=6013;
|
|
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 (6013, 0, 1105, 0, 0, 0, 'Wayward Buzzard', NULL, 0, 35, 37, 1388, 1388, 0, 0, 1483, 73, 0, 1.28, 1.14286, 0, 20, 5, 0, 0, 1, 77, 92, 0, 144, 1, 1660, 1826, 1, 0, 0, 7, 0, 0, 0, 0, 51.128, 70.301, 100, 1, 0, 6013, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 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 (6013, 2, 1105, 0, 0, 0, 'Wayward Buzzard', NULL, 0, 35, 37, 1388, 1388, 0, 0, 1483, 73, 0, 1.28, 1.14286, 0, 20, 5, 0, 0, 1, 77, 92, 0, 144, 1, 1660, 1826, 1, 0, 0, 7, 0, 0, 0, 0, 51.128, 70.301, 100, 1, 0, 6013, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8306, 0, 0, '', 1, 3, 0, 0, 3, 0, 0, 0, 0, 0, 0, '');
|
|
|
|
-- Pet spell list id for Enraged Felbat added in patch 1.4.
|
|
DELETE FROM `creature_template` WHERE `entry`=9521;
|
|
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 (9521, 0, 9074, 0, 0, 0, 'Enraged Felbat', NULL, 0, 55, 55, 7854, 7854, 0, 0, 3271, 71, 2, 1, 1.14286, 0, 20, 5, 0, 1, 1, 310, 400, 0, 248, 1, 1216, 1338, 1, 0, 0, 0, 0, 0, 0, 0, 58.872, 80.949, 100, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 95210, 0, 0, 0, '', 0, 3, 0, 0, 3, 0, 0, 0, 0, 0, 524290, '');
|
|
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 (9521, 2, 9074, 0, 0, 0, 'Enraged Felbat', NULL, 0, 55, 55, 7854, 7854, 0, 0, 3271, 71, 2, 1, 1.14286, 0, 20, 5, 0, 1, 1, 310, 400, 0, 248, 1, 1216, 1338, 1, 0, 0, 0, 0, 0, 0, 0, 58.872, 80.949, 100, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 95210, 8301, 0, 0, '', 0, 3, 0, 0, 3, 0, 0, 0, 0, 0, 524290, '');
|
|
|
|
-- Pet spell list id for Scorpid Duneburrower added in patch 1.7.
|
|
DELETE FROM `creature_template` WHERE `entry`=7803;
|
|
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 (7803, 0, 2414, 0, 0, 0, 'Scorpid Duneburrower', NULL, 0, 46, 47, 2588, 2629, 0, 0, 2808, 413, 0, 0.96, 1.14286, 0, 20, 5, 0, 0, 1, 158, 189, 0, 212, 1, 2000, 1672, 1, 0, 0, 20, 0, 0, 0, 0, 62.8672, 86.4424, 100, 1, 0, 7803, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 78030, 0, 0, 0, '', 1, 1, 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 (7803, 5, 2414, 0, 0, 0, 'Scorpid Duneburrower', NULL, 0, 46, 47, 2588, 2629, 0, 0, 2808, 413, 0, 0.96, 1.14286, 0, 20, 5, 0, 0, 1, 158, 189, 0, 212, 1, 2000, 1672, 1, 0, 0, 20, 0, 0, 0, 0, 62.8672, 86.4424, 100, 1, 0, 7803, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 78030, 8855, 0, 0, '', 1, 1, 0, 0, 3, 0, 0, 0, 0, 0, 0, '');
|
|
|
|
-- Pet spell list id for Hakkari Sapper added in patch 1.8.
|
|
DELETE FROM `creature_template` WHERE `entry`=8336;
|
|
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 (8336, 0, 1336, 0, 0, 0, 'Hakkari Sapper', NULL, 0, 49, 50, 5207, 5526, 0, 0, 2367, 16, 0, 1, 1.42857, 0, 20, 5, 0, 1, 1, 276, 356, 0, 226, 1, 1250, 1375, 2, 0, 0, 27, 0, 0, 0, 0, 53.9, 74.1125, 100, 1, 0, 8336, 0, 0, 0, 2, 2, 2, 2, 2, 10875, 0, 0, 0, 83360, 0, 0, 0, '', 1, 1, 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 (8336, 6, 1336, 0, 0, 0, 'Hakkari Sapper', NULL, 0, 49, 50, 5207, 5526, 0, 0, 2367, 16, 0, 1, 1.42857, 0, 20, 5, 0, 1, 1, 276, 356, 0, 226, 1, 1250, 1375, 2, 0, 0, 27, 0, 0, 0, 0, 53.9, 74.1125, 100, 1, 0, 8336, 0, 0, 0, 2, 2, 2, 2, 2, 10875, 0, 0, 0, 83360, 8910, 0, 0, '', 1, 1, 0, 0, 3, 0, 0, 0, 0, 0, 0, '');
|
|
|
|
-- Pet spell list id for Longsnout added in patch 1.9.
|
|
DELETE FROM `creature_template` WHERE `entry`=119;
|
|
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 (119, 0, 381, 0, 0, 0, 'Longsnout', NULL, 0, 10, 11, 165, 213, 0, 0, 538, 189, 0, 0.73, 1.14286, 0, 20, 5, 0, 0, 1, 29, 34, 0, 64, 1, 2000, 2068, 1, 0, 0, 5, 0, 0, 0, 0, 18.1984, 25.0228, 100, 1, 0, 119, 0, 0, 0, 0, 0, 0, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'EventAI', 1, 1, 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 (119, 7, 381, 0, 0, 0, 'Longsnout', NULL, 0, 10, 11, 165, 213, 0, 0, 538, 189, 0, 0.73, 1.14286, 0, 20, 5, 0, 0, 1, 29, 34, 0, 64, 1, 2000, 2068, 1, 0, 0, 5, 0, 0, 0, 0, 18.1984, 25.0228, 100, 1, 0, 119, 0, 0, 0, 0, 0, 0, 20, 0, 0, 0, 0, 0, 0, 9073, 0, 0, 'EventAI', 1, 1, 0, 0, 3, 0, 0, 0, 0, 0, 0, '');
|
|
|
|
|
|
-- End of migration.
|
|
END IF;
|
|
END??
|
|
delimiter ;
|
|
CALL add_migration();
|
|
DROP PROCEDURE IF EXISTS add_migration;
|