160 lines
38 KiB
SQL
160 lines
38 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`='20171111094919');
|
|
IF v=0 THEN
|
|
INSERT INTO `migrations` VALUES ('20171111094919');
|
|
-- Add your query below.
|
|
|
|
|
|
-- Arados the Damned.
|
|
-- http://wowwiki.wikia.com/wiki/Arados_the_Damned
|
|
-- https://web.archive.org/web/20070117214322/http://wow.allakhazam.com:80/db/mob.html?wmob=7073
|
|
-- https://web.archive.org/web/20070827225141/http://www.thottbot.com:80/c7073
|
|
-- Creature template for Arados the Damned.
|
|
INSERT INTO `creature_template` (`entry`, `patch`, `KillCredit1`, `KillCredit2`, `modelid_1`, `modelid_2`, `modelid_3`, `modelid_4`, `name`, `subname`, `gossip_menu_id`, `minlevel`, `maxlevel`, `minhealth`, `maxhealth`, `minmana`, `maxmana`, `armor`, `faction_A`, `faction_H`, `npcflag`, `speed_walk`, `speed_run`, `scale`, `rank`, `mindmg`, `maxdmg`, `dmgschool`, `attackpower`, `dmg_multiplier`, `baseattacktime`, `rangeattacktime`, `unit_class`, `unit_flags`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `minrangedmg`, `maxrangedmg`, `rangedattackpower`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `spell1`, `spell2`, `spell3`, `spell4`, `PetSpellDataId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `InhabitType`, `Civilian`, `RacialLeader`, `RegenHealth`, `equipment_id`, `trainer_id`, `vendor_id`, `MechanicImmuneMask`, `SchoolImmuneMask`, `flags_extra`, `ScriptName`) VALUES (7073, 0, 0, 0, 5831, 0, 0, 0, 'Arados the Damned', NULL, 0, 35, 35, 2284, 2284, 634, 634, 500, 16, 16, 0, 1.14, 1.14286, 1, 0, 58, 83, 0, 100, 1, 1610, 1771, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 0, 7073, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 29, 145, 'EventAI', 0, 3, 0, 0, 1, 7073, 0, 0, 8413718, 0, 0, '');
|
|
-- Name localization for Arados the Damned.
|
|
INSERT INTO `locales_creature` (`entry`, `name_loc1`, `name_loc2`, `name_loc3`, `name_loc4`, `name_loc5`, `name_loc6`, `name_loc7`, `name_loc8`, `subname_loc1`, `subname_loc2`, `subname_loc3`, `subname_loc4`, `subname_loc5`, `subname_loc6`, `subname_loc7`, `subname_loc8`) VALUES (7073, '저주받은 아라도스', 'Arados der Verdammte', 'Arados le Maudit', '可憎的阿拉杜斯', '可憎的阿拉杜斯', 'Arados el Maldito', 'Arados el Maldito', 'Арадос Проклятый', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
|
|
-- EventAI script for Arados the Damned.
|
|
INSERT INTO `creature_ai_scripts` (`id`, `creature_id`, `event_type`, `event_inverse_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action1_type`, `action1_param1`, `action1_param2`, `action1_param3`, `action2_type`, `action2_param1`, `action2_param2`, `action2_param3`, `action3_type`, `action3_param1`, `action3_param2`, `action3_param3`, `comment`) VALUES (707301, 7073, 2, 0, 100, 0, 30, 0, 0, 0, 11, 13874, 0, 0, 22, 2, 0, 0, 0, 0, 0, 0, 'Arados the Damned - Cast Divine Shield below 30% hp.');
|
|
INSERT INTO `creature_ai_scripts` (`id`, `creature_id`, `event_type`, `event_inverse_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action1_type`, `action1_param1`, `action1_param2`, `action1_param3`, `action2_type`, `action2_param1`, `action2_param2`, `action2_param3`, `action3_type`, `action3_param1`, `action3_param2`, `action3_param3`, `comment`) VALUES (707302, 7073, 0, 1, 100, 1, 1000, 2000, 3000, 6000, 11, 15493, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Arados the Damned - Cast Holy Light');
|
|
-- Equipment template for Arados the Damned.
|
|
INSERT INTO `creature_equip_template` (`entry`, `patch`, `equipentry1`, `equipentry2`, `equipentry3`) VALUES (7073, 0, 5293, 0, 0);
|
|
-- Loot template for Arados the Damned.
|
|
INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `groupid`, `mincountOrRef`, `maxcount`, `condition_id`) VALUES (7073, 422, 9.04, 0, 1, 1, 0);
|
|
INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `groupid`, `mincountOrRef`, `maxcount`, `condition_id`) VALUES (7073, 863, 0.22, 0, 1, 1, 0);
|
|
INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `groupid`, `mincountOrRef`, `maxcount`, `condition_id`) VALUES (7073, 864, 0.46, 0, 1, 1, 0);
|
|
INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `groupid`, `mincountOrRef`, `maxcount`, `condition_id`) VALUES (7073, 929, 2.94, 0, 1, 1, 0);
|
|
INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `groupid`, `mincountOrRef`, `maxcount`, `condition_id`) VALUES (7073, 1205, 4.76, 0, 1, 1, 0);
|
|
INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `groupid`, `mincountOrRef`, `maxcount`, `condition_id`) VALUES (7073, 1478, 0.9, 0, 1, 1, 0);
|
|
INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `groupid`, `mincountOrRef`, `maxcount`, `condition_id`) VALUES (7073, 1529, 0.22, 0, 1, 1, 0);
|
|
INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `groupid`, `mincountOrRef`, `maxcount`, `condition_id`) VALUES (7073, 1710, 0.22, 0, 1, 1, 0);
|
|
INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `groupid`, `mincountOrRef`, `maxcount`, `condition_id`) VALUES (7073, 1711, 1.14, 0, 1, 1, 0);
|
|
INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `groupid`, `mincountOrRef`, `maxcount`, `condition_id`) VALUES (7073, 1712, 0.46, 0, 1, 1, 0);
|
|
INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `groupid`, `mincountOrRef`, `maxcount`, `condition_id`) VALUES (7073, 1725, 0.22, 0, 1, 1, 0);
|
|
INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `groupid`, `mincountOrRef`, `maxcount`, `condition_id`) VALUES (7073, 2023, 10, 1, -2023, 1, 0);
|
|
INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `groupid`, `mincountOrRef`, `maxcount`, `condition_id`) VALUES (7073, 2290, 0.46, 0, 1, 1, 0);
|
|
INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `groupid`, `mincountOrRef`, `maxcount`, `condition_id`) VALUES (7073, 2592, 18.78, 0, 1, 1, 0);
|
|
INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `groupid`, `mincountOrRef`, `maxcount`, `condition_id`) VALUES (7073, 3037, 0.22, 0, 1, 1, 0);
|
|
INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `groupid`, `mincountOrRef`, `maxcount`, `condition_id`) VALUES (7073, 3197, 0.46, 0, 1, 1, 0);
|
|
INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `groupid`, `mincountOrRef`, `maxcount`, `condition_id`) VALUES (7073, 3355, 0.22, 0, 1, 1, 0);
|
|
INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `groupid`, `mincountOrRef`, `maxcount`, `condition_id`) VALUES (7073, 3385, 1.58, 0, 1, 1, 0);
|
|
INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `groupid`, `mincountOrRef`, `maxcount`, `condition_id`) VALUES (7073, 3779, 0.22, 0, 1, 1, 0);
|
|
INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `groupid`, `mincountOrRef`, `maxcount`, `condition_id`) VALUES (7073, 3782, 0.22, 0, 1, 1, 0);
|
|
INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `groupid`, `mincountOrRef`, `maxcount`, `condition_id`) VALUES (7073, 3783, 0.22, 0, 1, 1, 0);
|
|
INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `groupid`, `mincountOrRef`, `maxcount`, `condition_id`) VALUES (7073, 3784, 0.22, 0, 1, 1, 0);
|
|
INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `groupid`, `mincountOrRef`, `maxcount`, `condition_id`) VALUES (7073, 3785, 0.22, 0, 1, 1, 0);
|
|
INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `groupid`, `mincountOrRef`, `maxcount`, `condition_id`) VALUES (7073, 3786, 0.22, 0, 1, 1, 0);
|
|
INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `groupid`, `mincountOrRef`, `maxcount`, `condition_id`) VALUES (7073, 3787, 0.68, 0, 1, 1, 0);
|
|
INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `groupid`, `mincountOrRef`, `maxcount`, `condition_id`) VALUES (7073, 3792, 0.68, 0, 1, 1, 0);
|
|
INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `groupid`, `mincountOrRef`, `maxcount`, `condition_id`) VALUES (7073, 3793, 1.36, 0, 1, 1, 0);
|
|
INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `groupid`, `mincountOrRef`, `maxcount`, `condition_id`) VALUES (7073, 3795, 0.22, 0, 1, 1, 0);
|
|
INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `groupid`, `mincountOrRef`, `maxcount`, `condition_id`) VALUES (7073, 3798, 0.22, 0, 1, 1, 0);
|
|
INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `groupid`, `mincountOrRef`, `maxcount`, `condition_id`) VALUES (7073, 3801, 0.22, 0, 1, 1, 0);
|
|
INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `groupid`, `mincountOrRef`, `maxcount`, `condition_id`) VALUES (7073, 3806, 0.46, 0, 1, 1, 0);
|
|
INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `groupid`, `mincountOrRef`, `maxcount`, `condition_id`) VALUES (7073, 3807, 0.22, 0, 1, 1, 0);
|
|
INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `groupid`, `mincountOrRef`, `maxcount`, `condition_id`) VALUES (7073, 3808, 0.22, 0, 1, 1, 0);
|
|
INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `groupid`, `mincountOrRef`, `maxcount`, `condition_id`) VALUES (7073, 3809, 0.46, 0, 1, 1, 0);
|
|
INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `groupid`, `mincountOrRef`, `maxcount`, `condition_id`) VALUES (7073, 3813, 0.22, 0, 1, 1, 0);
|
|
INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `groupid`, `mincountOrRef`, `maxcount`, `condition_id`) VALUES (7073, 3815, 0.22, 0, 1, 1, 0);
|
|
INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `groupid`, `mincountOrRef`, `maxcount`, `condition_id`) VALUES (7073, 3816, 0.46, 0, 1, 1, 0);
|
|
INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `groupid`, `mincountOrRef`, `maxcount`, `condition_id`) VALUES (7073, 3817, 0.46, 0, 1, 1, 0);
|
|
INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `groupid`, `mincountOrRef`, `maxcount`, `condition_id`) VALUES (7073, 3864, 0.22, 0, 1, 1, 0);
|
|
INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `groupid`, `mincountOrRef`, `maxcount`, `condition_id`) VALUES (7073, 4043, 0.22, 0, 1, 1, 0);
|
|
INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `groupid`, `mincountOrRef`, `maxcount`, `condition_id`) VALUES (7073, 4077, 0.22, 0, 1, 1, 0);
|
|
INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `groupid`, `mincountOrRef`, `maxcount`, `condition_id`) VALUES (7073, 4234, 0.22, 0, 1, 1, 0);
|
|
INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `groupid`, `mincountOrRef`, `maxcount`, `condition_id`) VALUES (7073, 4306, 47.52, 0, 1, 1, 0);
|
|
INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `groupid`, `mincountOrRef`, `maxcount`, `condition_id`) VALUES (7073, 4634, 0.22, 0, 1, 1, 0);
|
|
INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `groupid`, `mincountOrRef`, `maxcount`, `condition_id`) VALUES (7073, 5213, 0.46, 0, 1, 1, 0);
|
|
INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `groupid`, `mincountOrRef`, `maxcount`, `condition_id`) VALUES (7073, 5774, 0.22, 0, 1, 1, 0);
|
|
INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `groupid`, `mincountOrRef`, `maxcount`, `condition_id`) VALUES (7073, 6406, 0.22, 0, 1, 1, 0);
|
|
INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `groupid`, `mincountOrRef`, `maxcount`, `condition_id`) VALUES (7073, 6419, 0.22, 0, 1, 1, 0);
|
|
INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `groupid`, `mincountOrRef`, `maxcount`, `condition_id`) VALUES (7073, 7460, 0.22, 0, 1, 1, 0);
|
|
INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `groupid`, `mincountOrRef`, `maxcount`, `condition_id`) VALUES (7073, 8746, 0.22, 0, 1, 1, 0);
|
|
INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `groupid`, `mincountOrRef`, `maxcount`, `condition_id`) VALUES (7073, 9846, 0.22, 0, 1, 1, 0);
|
|
INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `groupid`, `mincountOrRef`, `maxcount`, `condition_id`) VALUES (7073, 9869, 0.22, 0, 1, 1, 0);
|
|
-- Spawn point for Arados the Damned.
|
|
INSERT INTO `creature` (`guid`, `id`, `map`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `DeathState`, `MovementType`, `spawnFlags`, `visibilitymod`, `patch_min`, `patch_max`) VALUES (734444, 7073, 0, 0, 0, -1329.91, 554.068, 101.125, 5.417, 300, 0, 0, 2284, 634, 0, 0, 0, 0, 0, 7);
|
|
|
|
-- Judge Thelgram.
|
|
-- https://web.archive.org/web/20060526105917/http://wow.allakhazam.com:80/db/mob.html?wmob=7074
|
|
-- https://web.archive.org/web/20100216234647/http://thottbot.com:80/c7074
|
|
-- Creature template for Judge Thelgram.
|
|
INSERT INTO `creature_template` (`entry`, `patch`, `KillCredit1`, `KillCredit2`, `modelid_1`, `modelid_2`, `modelid_3`, `modelid_4`, `name`, `subname`, `gossip_menu_id`, `minlevel`, `maxlevel`, `minhealth`, `maxhealth`, `minmana`, `maxmana`, `armor`, `faction_A`, `faction_H`, `npcflag`, `speed_walk`, `speed_run`, `scale`, `rank`, `mindmg`, `maxdmg`, `dmgschool`, `attackpower`, `dmg_multiplier`, `baseattacktime`, `rangeattacktime`, `unit_class`, `unit_flags`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `minrangedmg`, `maxrangedmg`, `rangedattackpower`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `spell1`, `spell2`, `spell3`, `spell4`, `PetSpellDataId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `InhabitType`, `Civilian`, `RacialLeader`, `RegenHealth`, `equipment_id`, `trainer_id`, `vendor_id`, `MechanicImmuneMask`, `SchoolImmuneMask`, `flags_extra`, `ScriptName`) VALUES (7074, 0, 0, 0, 5830, 0, 0, 0, 'Judge Thelgram', NULL, 0, 34, 34, 1280, 1280, 0, 0, 200, 123, 123, 0, 1.14, 1.14286, 1, 0, 40, 56, 0, 0, 1, 1610, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 0, 7074, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 29, 145, '', 0, 3, 0, 0, 1, 7074, 0, 0, 8413718, 0, 0, '');
|
|
-- Name localization for Judge Thelgram.
|
|
INSERT INTO `locales_creature` (`entry`, `name_loc1`, `name_loc2`, `name_loc3`, `name_loc4`, `name_loc5`, `name_loc6`, `name_loc7`, `name_loc8`, `subname_loc1`, `subname_loc2`, `subname_loc3`, `subname_loc4`, `subname_loc5`, `subname_loc6`, `subname_loc7`, `subname_loc8`) VALUES (7074, '대법관 텔그램', 'Juge Thelgram', 'Richter Thelgram', '审判者塞尔格拉姆', '审判者塞尔格拉姆', 'Juez Thelgram', 'Juez Thelgram', 'Судья Телграм', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
|
|
-- Equipment template for Judge Thelgram.
|
|
INSERT INTO `creature_equip_template` (`entry`, `patch`, `equipentry1`, `equipentry2`, `equipentry3`) VALUES (7074, 0, 2177, 0, 0);
|
|
-- Loot template for Judge Thelgram.
|
|
INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `groupid`, `mincountOrRef`, `maxcount`, `condition_id`) VALUES (7074, 422, 8.06, 0, 1, 1, 0);
|
|
INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `groupid`, `mincountOrRef`, `maxcount`, `condition_id`) VALUES (7074, 929, 3.66, 0, 1, 1, 0);
|
|
INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `groupid`, `mincountOrRef`, `maxcount`, `condition_id`) VALUES (7074, 1205, 2.94, 0, 1, 1, 0);
|
|
INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `groupid`, `mincountOrRef`, `maxcount`, `condition_id`) VALUES (7074, 1712, 1.46, 0, 1, 1, 0);
|
|
INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `groupid`, `mincountOrRef`, `maxcount`, `condition_id`) VALUES (7074, 2592, 13.18, 0, 1, 1, 0);
|
|
INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `groupid`, `mincountOrRef`, `maxcount`, `condition_id`) VALUES (7074, 3385, 1.46, 0, 1, 1, 0);
|
|
INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `groupid`, `mincountOrRef`, `maxcount`, `condition_id`) VALUES (7074, 3692, -100, 0, 1, 1, 0);
|
|
INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `groupid`, `mincountOrRef`, `maxcount`, `condition_id`) VALUES (7074, 3783, 1.46, 0, 1, 1, 0);
|
|
INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `groupid`, `mincountOrRef`, `maxcount`, `condition_id`) VALUES (7074, 3784, 2.2, 0, 1, 1, 0);
|
|
INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `groupid`, `mincountOrRef`, `maxcount`, `condition_id`) VALUES (7074, 3786, 0.74, 0, 1, 1, 0);
|
|
INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `groupid`, `mincountOrRef`, `maxcount`, `condition_id`) VALUES (7074, 3787, 3.66, 0, 1, 1, 0);
|
|
INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `groupid`, `mincountOrRef`, `maxcount`, `condition_id`) VALUES (7074, 3802, 1.46, 0, 1, 1, 0);
|
|
INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `groupid`, `mincountOrRef`, `maxcount`, `condition_id`) VALUES (7074, 3808, 0.74, 0, 1, 1, 0);
|
|
INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `groupid`, `mincountOrRef`, `maxcount`, `condition_id`) VALUES (7074, 3809, 2.2, 0, 1, 1, 0);
|
|
INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `groupid`, `mincountOrRef`, `maxcount`, `condition_id`) VALUES (7074, 3817, 0.74, 0, 1, 1, 0);
|
|
INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `groupid`, `mincountOrRef`, `maxcount`, `condition_id`) VALUES (7074, 4040, 0.74, 0, 1, 1, 0);
|
|
INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `groupid`, `mincountOrRef`, `maxcount`, `condition_id`) VALUES (7074, 4306, 48.36, 0, 1, 1, 0);
|
|
INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `groupid`, `mincountOrRef`, `maxcount`, `condition_id`) VALUES (7074, 7413, 0.74, 0, 1, 1, 0);
|
|
INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `groupid`, `mincountOrRef`, `maxcount`, `condition_id`) VALUES (7074, 8746, 1.46, 0, 1, 1, 0);
|
|
INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `groupid`, `mincountOrRef`, `maxcount`, `condition_id`) VALUES (7074, 9848, 2.94, 0, 1, 1, 0);
|
|
INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `groupid`, `mincountOrRef`, `maxcount`, `condition_id`) VALUES (7074, 9869, 0.74, 0, 1, 1, 0);
|
|
INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `groupid`, `mincountOrRef`, `maxcount`, `condition_id`) VALUES (7074, 12029, 0.74, 0, 1, 1, 0);
|
|
-- Spawn point for Judge Thelgram.
|
|
INSERT INTO `creature` (`guid`, `id`, `map`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `DeathState`, `MovementType`, `spawnFlags`, `visibilitymod`, `patch_min`, `patch_max`) VALUES (63464, 7074, 0, 0, 0, -1319.537, 554.931, 101.501, 4.222, 300, 0, 0, 1280, 0, 0, 0, 0, 0, 0, 7);
|
|
|
|
-- These two spawns are not there in old screenshots.
|
|
UPDATE `creature` SET `patch_min`=8 WHERE `guid` IN (14793, 14796);
|
|
|
|
-- Add pre 1.10 versions of mobs on island.
|
|
DELETE FROM `creature_template` WHERE `entry` IN (7068, 7069, 7070, 7071, 7072, 7075);
|
|
INSERT INTO `creature_template` (`entry`, `patch`, `KillCredit1`, `KillCredit2`, `modelid_1`, `modelid_2`, `modelid_3`, `modelid_4`, `name`, `subname`, `gossip_menu_id`, `minlevel`, `maxlevel`, `minhealth`, `maxhealth`, `minmana`, `maxmana`, `armor`, `faction_A`, `faction_H`, `npcflag`, `speed_walk`, `speed_run`, `scale`, `rank`, `mindmg`, `maxdmg`, `dmgschool`, `attackpower`, `dmg_multiplier`, `baseattacktime`, `rangeattacktime`, `unit_class`, `unit_flags`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `minrangedmg`, `maxrangedmg`, `rangedattackpower`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `spell1`, `spell2`, `spell3`, `spell4`, `PetSpellDataId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `InhabitType`, `Civilian`, `RacialLeader`, `RegenHealth`, `equipment_id`, `trainer_id`, `vendor_id`, `MechanicImmuneMask`, `SchoolImmuneMask`, `flags_extra`, `ScriptName`) VALUES (7068, 0, 0, 0, 5828, 0, 0, 0, 'Condemned Acolyte', NULL, 0, 30, 31, 847, 869, 672, 686, 276, 16, 16, 0, 1.05, 1.14286, 0, 0, 75, 139, 0, 262, 1, 2000, 2000, 2, 32768, 0, 0, 0, 0, 0, 0, 53.8384, 74.0278, 100, 6, 8, 7068, 0, 0, 0, 0, 0, 0, 0, 0, 25058, 15654, 0, 0, 0, 421, 555, 'EventAI', 0, 3, 0, 0, 1, 220, 0, 0, 8413718, 0, 0, '');
|
|
INSERT INTO `creature_template` (`entry`, `patch`, `KillCredit1`, `KillCredit2`, `modelid_1`, `modelid_2`, `modelid_3`, `modelid_4`, `name`, `subname`, `gossip_menu_id`, `minlevel`, `maxlevel`, `minhealth`, `maxhealth`, `minmana`, `maxmana`, `armor`, `faction_A`, `faction_H`, `npcflag`, `speed_walk`, `speed_run`, `scale`, `rank`, `mindmg`, `maxdmg`, `dmgschool`, `attackpower`, `dmg_multiplier`, `baseattacktime`, `rangeattacktime`, `unit_class`, `unit_flags`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `minrangedmg`, `maxrangedmg`, `rangedattackpower`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `spell1`, `spell2`, `spell3`, `spell4`, `PetSpellDataId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `InhabitType`, `Civilian`, `RacialLeader`, `RegenHealth`, `equipment_id`, `trainer_id`, `vendor_id`, `MechanicImmuneMask`, `SchoolImmuneMask`, `flags_extra`, `ScriptName`) VALUES (7069, 0, 0, 0, 5822, 0, 0, 0, 'Condemned Monk', NULL, 0, 31, 32, 882, 908, 0, 0, 346, 16, 16, 0, 1.05, 1.14286, 0, 0, 92, 172, 0, 268, 1, 2000, 2000, 1, 32768, 0, 0, 0, 0, 0, 0, 53.8384, 74.0278, 100, 6, 8, 7069, 0, 0, 0, 0, 0, 0, 0, 0, 15614, 15615, 0, 0, 0, 474, 624, 'EventAI', 0, 3, 0, 0, 1, 119, 0, 0, 8413718, 0, 0, '');
|
|
INSERT INTO `creature_template` (`entry`, `patch`, `KillCredit1`, `KillCredit2`, `modelid_1`, `modelid_2`, `modelid_3`, `modelid_4`, `name`, `subname`, `gossip_menu_id`, `minlevel`, `maxlevel`, `minhealth`, `maxhealth`, `minmana`, `maxmana`, `armor`, `faction_A`, `faction_H`, `npcflag`, `speed_walk`, `speed_run`, `scale`, `rank`, `mindmg`, `maxdmg`, `dmgschool`, `attackpower`, `dmg_multiplier`, `baseattacktime`, `rangeattacktime`, `unit_class`, `unit_flags`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `minrangedmg`, `maxrangedmg`, `rangedattackpower`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `spell1`, `spell2`, `spell3`, `spell4`, `PetSpellDataId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `InhabitType`, `Civilian`, `RacialLeader`, `RegenHealth`, `equipment_id`, `trainer_id`, `vendor_id`, `MechanicImmuneMask`, `SchoolImmuneMask`, `flags_extra`, `ScriptName`) VALUES (7070, 0, 0, 0, 5824, 5826, 0, 0, 'Condemned Cleric', NULL, 0, 32, 33, 914, 936, 710, 730, 295, 16, 16, 0, 1.05, 1.14286, 0, 0, 78, 145, 0, 272, 1, 2000, 2000, 2, 32768, 0, 0, 0, 0, 0, 0, 53.8384, 74.0278, 100, 6, 8, 7070, 0, 0, 0, 0, 0, 0, 0, 0, 25054, 15586, 0, 0, 0, 454, 598, 'EventAI', 0, 3, 0, 0, 1, 422, 0, 0, 8413718, 0, 0, '');
|
|
INSERT INTO `creature_template` (`entry`, `patch`, `KillCredit1`, `KillCredit2`, `modelid_1`, `modelid_2`, `modelid_3`, `modelid_4`, `name`, `subname`, `gossip_menu_id`, `minlevel`, `maxlevel`, `minhealth`, `maxhealth`, `minmana`, `maxmana`, `armor`, `faction_A`, `faction_H`, `npcflag`, `speed_walk`, `speed_run`, `scale`, `rank`, `mindmg`, `maxdmg`, `dmgschool`, `attackpower`, `dmg_multiplier`, `baseattacktime`, `rangeattacktime`, `unit_class`, `unit_flags`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `minrangedmg`, `maxrangedmg`, `rangedattackpower`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `spell1`, `spell2`, `spell3`, `spell4`, `PetSpellDataId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `InhabitType`, `Civilian`, `RacialLeader`, `RegenHealth`, `equipment_id`, `trainer_id`, `vendor_id`, `MechanicImmuneMask`, `SchoolImmuneMask`, `flags_extra`, `ScriptName`) VALUES (7071, 0, 0, 0, 5816, 5818, 0, 0, 'Cursed Paladin', NULL, 0, 30, 31, 931, 1016, 448, 457, 270, 16, 16, 0, 1.05, 1.14286, 0, 0, 23, 48, 0, 247, 1, 2000, 2000, 2, 32768, 0, 0, 0, 0, 0, 0, 53.8384, 74.0278, 100, 6, 8, 7071, 0, 0, 0, 0, 0, 0, 0, 0, 13005, 0, 0, 0, 0, 413, 544, 'EventAI', 0, 3, 0, 0, 1, 594, 0, 0, 8413718, 0, 0, '');
|
|
INSERT INTO `creature_template` (`entry`, `patch`, `KillCredit1`, `KillCredit2`, `modelid_1`, `modelid_2`, `modelid_3`, `modelid_4`, `name`, `subname`, `gossip_menu_id`, `minlevel`, `maxlevel`, `minhealth`, `maxhealth`, `minmana`, `maxmana`, `armor`, `faction_A`, `faction_H`, `npcflag`, `speed_walk`, `speed_run`, `scale`, `rank`, `mindmg`, `maxdmg`, `dmgschool`, `attackpower`, `dmg_multiplier`, `baseattacktime`, `rangeattacktime`, `unit_class`, `unit_flags`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `minrangedmg`, `maxrangedmg`, `rangedattackpower`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `spell1`, `spell2`, `spell3`, `spell4`, `PetSpellDataId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `InhabitType`, `Civilian`, `RacialLeader`, `RegenHealth`, `equipment_id`, `trainer_id`, `vendor_id`, `MechanicImmuneMask`, `SchoolImmuneMask`, `flags_extra`, `ScriptName`) VALUES (7072, 0, 0, 0, 5820, 0, 0, 0, 'Cursed Justicar', NULL, 0, 32, 32, 1235, 1235, 0, 0, 270, 16, 16, 0, 1.05, 1.14286, 0, 0, 23, 48, 0, 247, 1, 2000, 2000, 1, 32768, 0, 0, 0, 0, 0, 0, 53.8384, 74.0278, 100, 6, 8, 7072, 0, 0, 0, 0, 0, 0, 0, 0, 15580, 0, 0, 0, 0, 527, 693, 'EventAI', 0, 3, 0, 0, 1, 725, 0, 0, 8413718, 0, 0, '');
|
|
INSERT INTO `creature_template` (`entry`, `patch`, `KillCredit1`, `KillCredit2`, `modelid_1`, `modelid_2`, `modelid_3`, `modelid_4`, `name`, `subname`, `gossip_menu_id`, `minlevel`, `maxlevel`, `minhealth`, `maxhealth`, `minmana`, `maxmana`, `armor`, `faction_A`, `faction_H`, `npcflag`, `speed_walk`, `speed_run`, `scale`, `rank`, `mindmg`, `maxdmg`, `dmgschool`, `attackpower`, `dmg_multiplier`, `baseattacktime`, `rangeattacktime`, `unit_class`, `unit_flags`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `minrangedmg`, `maxrangedmg`, `rangedattackpower`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `spell1`, `spell2`, `spell3`, `spell4`, `PetSpellDataId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `InhabitType`, `Civilian`, `RacialLeader`, `RegenHealth`, `equipment_id`, `trainer_id`, `vendor_id`, `MechanicImmuneMask`, `SchoolImmuneMask`, `flags_extra`, `ScriptName`) VALUES (7075, 0, 0, 0, 5814, 0, 0, 0, 'Writhing Mage', NULL, 0, 31, 32, 922, 926, 686, 710, 200, 16, 16, 0, 1.05, 1.14286, 0, 0, 23, 48, 0, 247, 1, 2000, 2000, 2, 32768, 0, 0, 0, 0, 0, 0, 53.8384, 74.0278, 100, 6, 8, 7075, 0, 0, 0, 0, 0, 0, 0, 0, 8401, 7322, 0, 0, 0, 397, 524, 'EventAI', 0, 3, 0, 0, 1, 96, 0, 0, 8413718, 0, 0, '');
|
|
INSERT INTO `creature_template` (`entry`, `patch`, `KillCredit1`, `KillCredit2`, `modelid_1`, `modelid_2`, `modelid_3`, `modelid_4`, `name`, `subname`, `gossip_menu_id`, `minlevel`, `maxlevel`, `minhealth`, `maxhealth`, `minmana`, `maxmana`, `armor`, `faction_A`, `faction_H`, `npcflag`, `speed_walk`, `speed_run`, `scale`, `rank`, `mindmg`, `maxdmg`, `dmgschool`, `attackpower`, `dmg_multiplier`, `baseattacktime`, `rangeattacktime`, `unit_class`, `unit_flags`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `minrangedmg`, `maxrangedmg`, `rangedattackpower`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `spell1`, `spell2`, `spell3`, `spell4`, `PetSpellDataId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `InhabitType`, `Civilian`, `RacialLeader`, `RegenHealth`, `equipment_id`, `trainer_id`, `vendor_id`, `MechanicImmuneMask`, `SchoolImmuneMask`, `flags_extra`, `ScriptName`) VALUES (7068, 8, 0, 0, 5828, 0, 0, 0, 'Condemned Acolyte', NULL, 0, 57, 58, 7349, 7580, 6723, 6867, 2766, 16, 16, 0, 1.05, 1.14286, 0, 1, 574, 663, 0, 262, 1, 2000, 2000, 2, 32768, 0, 0, 0, 0, 0, 0, 53.8384, 74.0278, 100, 6, 8, 7068, 0, 0, 0, 0, 0, 0, 0, 0, 25058, 15654, 0, 0, 0, 1430, 1630, 'EventAI', 0, 3, 0, 0, 1, 220, 0, 0, 8413718, 0, 0, '');
|
|
INSERT INTO `creature_template` (`entry`, `patch`, `KillCredit1`, `KillCredit2`, `modelid_1`, `modelid_2`, `modelid_3`, `modelid_4`, `name`, `subname`, `gossip_menu_id`, `minlevel`, `maxlevel`, `minhealth`, `maxhealth`, `minmana`, `maxmana`, `armor`, `faction_A`, `faction_H`, `npcflag`, `speed_walk`, `speed_run`, `scale`, `rank`, `mindmg`, `maxdmg`, `dmgschool`, `attackpower`, `dmg_multiplier`, `baseattacktime`, `rangeattacktime`, `unit_class`, `unit_flags`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `minrangedmg`, `maxrangedmg`, `rangedattackpower`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `spell1`, `spell2`, `spell3`, `spell4`, `PetSpellDataId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `InhabitType`, `Civilian`, `RacialLeader`, `RegenHealth`, `equipment_id`, `trainer_id`, `vendor_id`, `MechanicImmuneMask`, `SchoolImmuneMask`, `flags_extra`, `ScriptName`) VALUES (7069, 8, 0, 0, 5822, 0, 0, 0, 'Condemned Monk', NULL, 0, 58, 59, 8613, 8883, 0, 0, 3462, 16, 16, 0, 1.05, 1.14286, 0, 1, 660, 771, 0, 268, 1, 2000, 2000, 1, 32768, 0, 0, 0, 0, 0, 0, 53.8384, 74.0278, 100, 6, 8, 7069, 0, 0, 0, 0, 0, 0, 0, 0, 15614, 15615, 0, 0, 0, 1538, 1738, 'EventAI', 0, 3, 0, 0, 1, 119, 0, 0, 8413718, 0, 0, '');
|
|
INSERT INTO `creature_template` (`entry`, `patch`, `KillCredit1`, `KillCredit2`, `modelid_1`, `modelid_2`, `modelid_3`, `modelid_4`, `name`, `subname`, `gossip_menu_id`, `minlevel`, `maxlevel`, `minhealth`, `maxhealth`, `minmana`, `maxmana`, `armor`, `faction_A`, `faction_H`, `npcflag`, `speed_walk`, `speed_run`, `scale`, `rank`, `mindmg`, `maxdmg`, `dmgschool`, `attackpower`, `dmg_multiplier`, `baseattacktime`, `rangeattacktime`, `unit_class`, `unit_flags`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `minrangedmg`, `maxrangedmg`, `rangedattackpower`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `spell1`, `spell2`, `spell3`, `spell4`, `PetSpellDataId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `InhabitType`, `Civilian`, `RacialLeader`, `RegenHealth`, `equipment_id`, `trainer_id`, `vendor_id`, `MechanicImmuneMask`, `SchoolImmuneMask`, `flags_extra`, `ScriptName`) VALUES (7070, 8, 0, 0, 5824, 5826, 0, 0, 'Condemned Cleric', NULL, 0, 59, 60, 7818, 8059, 7107, 7302, 2954, 16, 16, 0, 1.05, 1.14286, 0, 1, 489, 582, 0, 272, 1, 2000, 2000, 2, 32768, 0, 0, 0, 0, 0, 0, 53.8384, 74.0278, 100, 6, 8, 7070, 0, 0, 0, 0, 0, 0, 0, 0, 25054, 15586, 0, 0, 0, 1491, 1691, 'EventAI', 0, 3, 0, 0, 1, 422, 0, 0, 8413718, 0, 0, '');
|
|
INSERT INTO `creature_template` (`entry`, `patch`, `KillCredit1`, `KillCredit2`, `modelid_1`, `modelid_2`, `modelid_3`, `modelid_4`, `name`, `subname`, `gossip_menu_id`, `minlevel`, `maxlevel`, `minhealth`, `maxhealth`, `minmana`, `maxmana`, `armor`, `faction_A`, `faction_H`, `npcflag`, `speed_walk`, `speed_run`, `scale`, `rank`, `mindmg`, `maxdmg`, `dmgschool`, `attackpower`, `dmg_multiplier`, `baseattacktime`, `rangeattacktime`, `unit_class`, `unit_flags`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `minrangedmg`, `maxrangedmg`, `rangedattackpower`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `spell1`, `spell2`, `spell3`, `spell4`, `PetSpellDataId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `InhabitType`, `Civilian`, `RacialLeader`, `RegenHealth`, `equipment_id`, `trainer_id`, `vendor_id`, `MechanicImmuneMask`, `SchoolImmuneMask`, `flags_extra`, `ScriptName`) VALUES (7071, 8, 0, 0, 5816, 5818, 0, 0, 'Cursed Paladin', NULL, 0, 57, 58, 7349, 7580, 4482, 4578, 2700, 16, 16, 0, 1.05, 1.14286, 0, 1, 610, 780, 0, 262, 1, 2000, 2000, 2, 32768, 0, 0, 0, 0, 0, 0, 53.8384, 74.0278, 100, 6, 8, 7071, 0, 0, 0, 0, 0, 0, 0, 0, 13005, 0, 0, 0, 0, 1465, 1665, 'EventAI', 0, 3, 0, 0, 1, 594, 0, 0, 8413718, 0, 0, '');
|
|
INSERT INTO `creature_template` (`entry`, `patch`, `KillCredit1`, `KillCredit2`, `modelid_1`, `modelid_2`, `modelid_3`, `modelid_4`, `name`, `subname`, `gossip_menu_id`, `minlevel`, `maxlevel`, `minhealth`, `maxhealth`, `minmana`, `maxmana`, `armor`, `faction_A`, `faction_H`, `npcflag`, `speed_walk`, `speed_run`, `scale`, `rank`, `mindmg`, `maxdmg`, `dmgschool`, `attackpower`, `dmg_multiplier`, `baseattacktime`, `rangeattacktime`, `unit_class`, `unit_flags`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `minrangedmg`, `maxrangedmg`, `rangedattackpower`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `spell1`, `spell2`, `spell3`, `spell4`, `PetSpellDataId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `InhabitType`, `Civilian`, `RacialLeader`, `RegenHealth`, `equipment_id`, `trainer_id`, `vendor_id`, `MechanicImmuneMask`, `SchoolImmuneMask`, `flags_extra`, `ScriptName`) VALUES (7072, 8, 0, 0, 5820, 0, 0, 0, 'Cursed Justicar', NULL, 0, 59, 60, 9771, 10072, 0, 0, 2700, 16, 16, 0, 1.05, 1.14286, 0, 1, 461, 678, 0, 272, 1, 2000, 2000, 1, 32768, 0, 0, 0, 0, 0, 0, 53.8384, 74.0278, 100, 6, 8, 7072, 0, 0, 0, 0, 0, 0, 0, 0, 15580, 0, 0, 0, 0, 1430, 1630, 'EventAI', 0, 3, 0, 0, 1, 725, 0, 0, 8413718, 0, 0, '');
|
|
INSERT INTO `creature_template` (`entry`, `patch`, `KillCredit1`, `KillCredit2`, `modelid_1`, `modelid_2`, `modelid_3`, `modelid_4`, `name`, `subname`, `gossip_menu_id`, `minlevel`, `maxlevel`, `minhealth`, `maxhealth`, `minmana`, `maxmana`, `armor`, `faction_A`, `faction_H`, `npcflag`, `speed_walk`, `speed_run`, `scale`, `rank`, `mindmg`, `maxdmg`, `dmgschool`, `attackpower`, `dmg_multiplier`, `baseattacktime`, `rangeattacktime`, `unit_class`, `unit_flags`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `minrangedmg`, `maxrangedmg`, `rangedattackpower`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `spell1`, `spell2`, `spell3`, `spell4`, `PetSpellDataId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `InhabitType`, `Civilian`, `RacialLeader`, `RegenHealth`, `equipment_id`, `trainer_id`, `vendor_id`, `MechanicImmuneMask`, `SchoolImmuneMask`, `flags_extra`, `ScriptName`) VALUES (7075, 8, 0, 0, 5814, 0, 0, 0, 'Writhing Mage', NULL, 0, 58, 59, 6891, 7107, 6867, 7107, 2000, 16, 16, 0, 1.05, 1.14286, 0, 1, 361, 478, 0, 268, 1, 2000, 2000, 2, 32768, 0, 0, 0, 0, 0, 0, 53.8384, 74.0278, 100, 6, 8, 7075, 0, 0, 0, 0, 0, 0, 0, 0, 12675, 0, 0, 0, 0, 1571, 1771, 'EventAI', 0, 3, 0, 0, 1, 96, 0, 0, 8413718, 0, 0, '');
|
|
|
|
-- Fix loot for Condemned Acolyte.
|
|
UPDATE `creature_loot_template` SET `condition_id`=4018 WHERE `entry`=7068 && `item` IN (7909, 7910, 8766, 8932, 10305, 10308, 13444, 13446, 14047, 19283);
|
|
UPDATE `reference_loot_template` SET `condition_id`=4018 WHERE `entry` IN (317508, 317509, 317510, 317511);
|
|
-- Fix loot for Condemned Monk.
|
|
UPDATE `creature_loot_template` SET `condition_id`=4018 WHERE `entry`=7069 && `item` IN (5759, 7909, 7910, 8766, 8932, 10306, 13446, 14047, 14508, 19284);
|
|
UPDATE `reference_loot_template` SET `condition_id`=4018 WHERE `entry` IN (317520, 317521, 317522);
|
|
-- Fix loot for Condemned Cleric.
|
|
UPDATE `creature_loot_template` SET `condition_id`=4018 WHERE `entry`=7070 && `item` IN (5759, 7909, 8766, 8932, 10307, 13444, 13446, 14047, 14506, 16220, 19263);
|
|
UPDATE `reference_loot_template` SET `condition_id`=4018 WHERE `entry` IN (317530, 317531, 317532, 317533, 317540);
|
|
-- Fix loot for Cursed Paladin.
|
|
UPDATE `creature_loot_template` SET `condition_id`=4018 WHERE `entry`=7071 && `item` IN (4417, 7909, 8766, 8932, 10306, 10308, 10424, 13444, 13446, 14047, 22229);
|
|
UPDATE `reference_loot_template` SET `condition_id`=4018 WHERE `entry` IN (317542, 317543, 317544, 317545);
|
|
-- Fix loot for Cursed Justicar.
|
|
UPDATE `creature_loot_template` SET `condition_id`=4018 WHERE `entry`=7072 && `item` IN (7909, 7910, 8766, 8932, 10306, 10308, 10309, 13444, 13446, 14047, 14479, 18335, 22229);
|
|
UPDATE `reference_loot_template` SET `condition_id`=4018 WHERE `entry` IN (317555, 317556, 317557, 317558, 317559, 317560);
|
|
-- Fix loot for Writhing Mage.
|
|
UPDATE `creature_loot_template` SET `condition_id`=4018 WHERE `entry`=7075 && `item` IN (5759, 7910, 8766, 8932, 10309, 13444, 13446, 14047, 15743, 16051, 22229);
|
|
UPDATE `reference_loot_template` SET `condition_id`=4018 WHERE `entry` IN (317568, 317569, 317570, 317571, 317572, 317573, 317574);
|
|
|
|
|
|
-- End of migration.
|
|
END IF;
|
|
END??
|
|
delimiter ;
|
|
CALL add_migration();
|
|
DROP PROCEDURE IF EXISTS add_migration;
|