Files
moonwell-core-vanilla/sql/migrations/20171126194222_world.sql
T
2017-11-26 21:44:06 +02:00

631 lines
71 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`='20171126194222');
IF v=0 THEN
INSERT INTO `migrations` VALUES ('20171126194222');
-- Add your query below.
-- First Sergeant Hola'mahi was a Reagent Vendor prior to 1.11.
-- https://web.archive.org/web/20060626163744/http://wow.allakhazam.com:80/db/mob.html?wmob=12795
DELETE FROM `creature_template` WHERE `entry`=12795;
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 (12795, 0, 0, 0, 12677, 0, 0, 0, 'First Sergeant Hola\'mahi', 'Reagent Vendor', 0, 55, 55, 4484, 4484, 0, 0, 3271, 85, 85, 6, 1.26, 1.14286, 0, 0, 110, 142, 0, 248, 1, 1410, 1551, 0, 0, 0, 0, 0, 0, 0, 0, 71.9664, 98.9538, 100, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 1, 3, 0, 0, 1, 324, 0, 1279501, 0, 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 (12795, 9, 0, 0, 12677, 0, 0, 0, 'First Sergeant Hola\'mahi', 'Armor Quartermaster', 0, 55, 55, 4484, 4484, 0, 0, 3271, 85, 85, 6, 1.26, 1.14286, 0, 0, 110, 142, 0, 248, 1, 1410, 1551, 0, 0, 0, 0, 0, 0, 0, 0, 71.9664, 98.9538, 100, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 1, 3, 0, 0, 1, 324, 0, 1279502, 0, 0, 0, '');
DELETE FROM `npc_vendor` WHERE `entry`=12795;
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279501, 5565, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279501, 16583, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279501, 17020, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279501, 17021, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279501, 17026, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279501, 17028, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279501, 17029, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279501, 17030, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279501, 17031, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279501, 17032, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279501, 17033, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279501, 17034, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279501, 17035, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279501, 17036, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279501, 17037, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279501, 17038, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279502, 16533, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279502, 16534, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279502, 16535, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279502, 16536, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279502, 16539, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279502, 16540, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279502, 16541, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279502, 16542, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279502, 16543, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279502, 16544, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279502, 16545, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279502, 16548, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279502, 16549, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279502, 16550, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279502, 16551, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279502, 16552, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279502, 16554, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279502, 16555, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279502, 16558, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279502, 16560, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279502, 16561, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279502, 16562, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279502, 16563, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279502, 16564, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279502, 16565, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279502, 16566, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279502, 16567, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279502, 16568, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279502, 16569, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279502, 16571, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279502, 16573, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279502, 16574, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279502, 16577, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279502, 16578, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279502, 16579, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279502, 16580, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279502, 17586, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279502, 17588, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279502, 17590, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279502, 17591, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279502, 17592, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279502, 17593, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279502, 17618, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279502, 17620, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279502, 17622, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279502, 17623, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279502, 17624, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279502, 17625, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279502, 22843, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279502, 22852, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279502, 22855, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279502, 22856, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279502, 22857, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279502, 22858, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279502, 22859, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279502, 22860, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279502, 22862, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279502, 22863, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279502, 22864, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279502, 22865, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279502, 22867, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279502, 22868, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279502, 22869, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279502, 22870, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279502, 22872, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279502, 22873, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279502, 22874, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279502, 22875, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279502, 22876, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279502, 22877, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279502, 22878, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279502, 22879, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279502, 22880, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279502, 22881, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279502, 22882, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279502, 22883, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279502, 22884, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279502, 22885, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279502, 22886, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279502, 22887, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279502, 23243, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279502, 23244, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279502, 23251, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279502, 23252, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279502, 23253, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279502, 23254, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279502, 23255, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279502, 23256, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279502, 23257, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279502, 23258, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279502, 23259, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279502, 23260, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279502, 23261, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279502, 23262, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279502, 23263, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279502, 23264, 0, 0);
-- Lady Palanseer was the horde armor quartermaster prior to 1.11.
-- https://web.archive.org/web/20060626163740/http://wow.allakhazam.com:80/db/mob.html?wmob=12792
-- http://db.vanillagaming.org/?npc=12792
UPDATE `creature_template` SET `npcflag`=4, `minlevel`=55, `maxlevel`=55, `equipment_id`=12792 WHERE `entry`=12792;
INSERT INTO `creature_equip_template` (`entry`, `equipentry1`, `equipentry2`, `equipentry3`) VALUES (12792, 14836, 0, 0);
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 (52722, 12792, 450, 0, 0, 261.966, 86.1144, 25.9042, 3.21141, 180, 0, 0, 7500, 0, 0, 0, 0, 0, 0, 8);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12792, 16485, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12792, 16487, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12792, 16489, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12792, 16490, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12792, 16491, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12792, 16492, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12792, 16494, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12792, 16496, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12792, 16498, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12792, 16499, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12792, 16501, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12792, 16502, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12792, 16503, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12792, 16504, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12792, 16505, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12792, 16506, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12792, 16507, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12792, 16508, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12792, 16509, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12792, 16510, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12792, 16513, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12792, 16514, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12792, 16515, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12792, 16516, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12792, 16518, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12792, 16519, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12792, 16521, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12792, 16522, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12792, 16523, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12792, 16524, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12792, 16525, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12792, 16526, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12792, 16527, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12792, 16528, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12792, 16530, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12792, 16531, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12792, 16533, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12792, 16534, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12792, 16535, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12792, 16536, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12792, 16539, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12792, 16540, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12792, 16541, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12792, 16542, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12792, 16543, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12792, 16544, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12792, 16545, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12792, 16548, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12792, 16549, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12792, 16550, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12792, 16551, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12792, 16552, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12792, 16554, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12792, 16555, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12792, 16558, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12792, 16560, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12792, 16561, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12792, 16562, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12792, 16563, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12792, 16564, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12792, 16565, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12792, 16566, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12792, 16567, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12792, 16568, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12792, 16569, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12792, 16571, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12792, 16573, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12792, 16574, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12792, 16577, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12792, 16578, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12792, 16579, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12792, 16580, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12792, 17570, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12792, 17571, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12792, 17572, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12792, 17573, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12792, 17576, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12792, 17577, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12792, 17586, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12792, 17588, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12792, 17590, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12792, 17591, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12792, 17592, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12792, 17593, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12792, 17610, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12792, 17611, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12792, 17612, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12792, 17613, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12792, 17616, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12792, 17617, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12792, 17618, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12792, 17620, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12792, 17622, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12792, 17623, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12792, 17624, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12792, 17625, 0, 0);
-- Sergeant Major Clate was a Food and Drink Vendor prior to 1.11.
-- https://web.archive.org/web/20060624221433/http://wow.allakhazam.com:80/db/mob.html?wmob=12785
DELETE FROM `creature_template` WHERE `entry`=12785;
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 (12785, 0, 0, 0, 12925, 0, 0, 0, 'Sergeant Major Clate', 'Food and Drink', 0, 55, 55, 4108, 4108, 0, 0, 8401, 57, 57, 4, 1.23, 1.14286, 0, 0, 227, 236, 0, 248, 1, 2000, 2000, 1, 4864, 0, 0, 0, 0, 0, 0, 70.664, 97.163, 100, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'EventAI', 0, 3, 0, 0, 1, 147, 0, 1278501, 0, 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 (12785, 9, 0, 0, 12925, 0, 0, 0, 'Sergeant Major Clate', 'Armor Quartermaster', 0, 55, 55, 4108, 4108, 0, 0, 8401, 57, 57, 4, 1.23, 1.14286, 0, 0, 227, 236, 0, 248, 1, 2000, 2000, 1, 4864, 0, 0, 0, 0, 0, 0, 70.664, 97.163, 100, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'EventAI', 0, 3, 0, 0, 1, 147, 0, 1278502, 0, 0, 0, '');
DELETE FROM `npc_vendor` WHERE `entry`=12785;
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278501, 117, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278501, 159, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278501, 1179, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278501, 1205, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278501, 1645, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278501, 1708, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278501, 2287, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278501, 2593, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278501, 2594, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278501, 2595, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278501, 2596, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278501, 2723, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278501, 3770, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278501, 3771, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278501, 4536, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278501, 4537, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278501, 4538, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278501, 4539, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278501, 4540, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278501, 4541, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278501, 4542, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278501, 4544, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278501, 4599, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278501, 4601, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278501, 4602, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278501, 4604, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278501, 4605, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278501, 4606, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278501, 4607, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278501, 4608, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278501, 8766, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278501, 8948, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278501, 8950, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278501, 8952, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278501, 8953, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278502, 16437, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278502, 16440, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278502, 16441, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278502, 16442, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278502, 16443, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278502, 16444, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278502, 16446, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278502, 16448, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278502, 16449, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278502, 16450, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278502, 16451, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278502, 16452, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278502, 16453, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278502, 16454, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278502, 16455, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278502, 16456, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278502, 16457, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278502, 16459, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278502, 16462, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278502, 16463, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278502, 16465, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278502, 16466, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278502, 16467, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278502, 16468, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278502, 16471, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278502, 16472, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278502, 16473, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278502, 16474, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278502, 16475, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278502, 16476, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278502, 16477, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278502, 16478, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278502, 16479, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278502, 16480, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278502, 16483, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278502, 16484, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278502, 17578, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278502, 17579, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278502, 17580, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278502, 17581, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278502, 17583, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278502, 17584, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278502, 17602, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278502, 17603, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278502, 17604, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278502, 17605, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278502, 17607, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278502, 17608, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278502, 23272, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278502, 23273, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278502, 23274, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278502, 23275, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278502, 23276, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278502, 23277, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278502, 23278, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278502, 23279, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278502, 23280, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278502, 23281, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278502, 23282, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278502, 23283, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278502, 23284, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278502, 23285, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278502, 23286, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278502, 23287, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278502, 23288, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278502, 23289, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278502, 23290, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278502, 23291, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278502, 23292, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278502, 23293, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278502, 23294, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278502, 23295, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278502, 23296, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278502, 23297, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278502, 23298, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278502, 23299, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278502, 23300, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278502, 23301, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278502, 23302, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278502, 23303, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278502, 23304, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278502, 23305, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278502, 23306, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278502, 23307, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278502, 23308, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278502, 23309, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278502, 23310, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278502, 23311, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278502, 23312, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278502, 23313, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278502, 23314, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278502, 23315, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278502, 23316, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278502, 23317, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278502, 23318, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278502, 23319, 0, 0);
-- Captain Dirgehamme was the alliance armor quartermaster prior to 1.11.
-- https://web.archive.org/web/20060429105813/http://wow.allakhazam.com:80/db/mob.html?wmob=12777
-- http://db.vanillagaming.org/?npc=12777
UPDATE `creature_template` SET `npcflag`=4, `minlevel`=55, `maxlevel`=55, `equipment_id`=12777 WHERE `entry`=12777;
INSERT INTO `creature_equip_template` (`entry`, `equipentry1`, `equipentry2`, `equipentry3`) VALUES (12777, 5305, 1984, 0);
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 (52721, 12777, 449, 0, 0, -6.9852, -6.68433, 5.67096, 1.25664, 180, 0, 0, 8075, 0, 0, 0, 0, 0, 0, 8);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12777, 16369, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12777, 16391, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12777, 16392, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12777, 16393, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12777, 16396, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12777, 16397, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12777, 16401, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12777, 16403, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12777, 16405, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12777, 16406, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12777, 16409, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12777, 16410, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12777, 16413, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12777, 16414, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12777, 16415, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12777, 16416, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12777, 16417, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12777, 16418, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12777, 16419, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12777, 16420, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12777, 16421, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12777, 16422, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12777, 16423, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12777, 16424, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12777, 16425, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12777, 16426, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12777, 16427, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12777, 16428, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12777, 16429, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12777, 16430, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12777, 16431, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12777, 16432, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12777, 16433, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12777, 16434, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12777, 16435, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12777, 16436, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12777, 16437, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12777, 16440, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12777, 16441, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12777, 16442, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12777, 16443, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12777, 16444, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12777, 16446, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12777, 16448, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12777, 16449, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12777, 16450, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12777, 16451, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12777, 16452, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12777, 16453, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12777, 16454, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12777, 16455, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12777, 16456, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12777, 16457, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12777, 16459, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12777, 16462, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12777, 16463, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12777, 16465, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12777, 16466, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12777, 16467, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12777, 16468, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12777, 16471, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12777, 16472, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12777, 16473, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12777, 16474, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12777, 16475, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12777, 16476, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12777, 16477, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12777, 16478, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12777, 16479, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12777, 16480, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12777, 16483, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12777, 16484, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12777, 17562, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12777, 17564, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12777, 17566, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12777, 17567, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12777, 17568, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12777, 17569, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12777, 17578, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12777, 17579, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12777, 17580, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12777, 17581, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12777, 17583, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12777, 17584, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12777, 17594, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12777, 17596, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12777, 17598, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12777, 17599, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12777, 17600, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12777, 17601, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12777, 17602, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12777, 17603, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12777, 17604, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12777, 17605, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12777, 17607, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12777, 17608, 0, 0);
-- Lieutenant Jackspring was a Reagent Vendor prior to 1.11.
-- https://web.archive.org/web/20060620015846/http://wow.allakhazam.com:80/db/mob.html?wmob=12784
DELETE FROM `creature_template` WHERE `entry`=12784;
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 (12784, 0, 0, 0, 12921, 0, 0, 0, 'Lieutenant Jackspring', 'Reagent Vendor', 0, 55, 55, 4484, 4484, 0, 0, 8401, 875, 875, 4, 1.26, 1.14286, 0, 0, 110, 142, 0, 248, 1, 2000, 2000, 1, 4864, 0, 0, 0, 0, 0, 0, 71.9664, 98.9538, 100, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'EventAI', 0, 3, 0, 0, 1, 1130, 0, 1278401, 0, 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 (12784, 9, 0, 0, 12921, 0, 0, 0, 'Lieutenant Jackspring', 'Weapons Quartermaster', 0, 55, 55, 4484, 4484, 0, 0, 8401, 875, 875, 4, 1.26, 1.14286, 0, 0, 110, 142, 0, 248, 1, 2000, 2000, 1, 4864, 0, 0, 0, 0, 0, 0, 71.9664, 98.9538, 100, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'EventAI', 0, 3, 0, 0, 1, 1130, 0, 1278402, 0, 0, 0, '');
DELETE FROM `npc_vendor` WHERE `entry`=12784;
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278401, 5565, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278401, 16583, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278401, 17020, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278401, 17021, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278401, 17026, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278401, 17028, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278401, 17029, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278401, 21177, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278401, 17031, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278401, 17032, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278401, 17033, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278401, 17034, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278401, 17035, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278401, 17036, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278401, 17037, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278401, 17038, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278402, 12584, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278402, 18825, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278402, 18827, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278402, 18830, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278402, 18833, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278402, 18836, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278402, 18838, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278402, 18843, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278402, 18847, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278402, 18855, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278402, 18865, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278402, 18867, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278402, 18869, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278402, 18873, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278402, 18876, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278402, 23451, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278402, 23452, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278402, 23453, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278402, 23454, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278402, 23455, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1278402, 23456, 0, 0);
-- Captain O'Neal was the alliance weapon quartermaster prior to 1.11.
-- https://web.archive.org/web/20060415012823/http://wow.allakhazam.com:80/db/mob.html?wmob=12782
UPDATE `creature_template` SET `npcflag`=4, `minlevel`=55, `maxlevel`=55, `equipment_id`=12782 WHERE `entry`=12782;
INSERT INTO `creature_equip_template` (`entry`, `equipentry1`, `equipentry2`, `equipentry3`) VALUES (12782, 13160, 0, 0);
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 (52726, 12782, 449, 0, 1229, 7.67861, 33.5746, 1.23917, 3.75246, 180, 0, 0, 8075, 0, 0, 0, 0, 0, 0, 8);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12782, 12584, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12782, 18825, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12782, 18827, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12782, 18830, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12782, 18833, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12782, 18836, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12782, 18838, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12782, 18843, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12782, 18847, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12782, 18855, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12782, 18865, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12782, 18867, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12782, 18869, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12782, 18873, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (12782, 18876, 0, 0);
-- Stone Guard Zarg was a Food and Drink Vendor prior to 1.11.
-- https://web.archive.org/web/20060618202248/http://wow.allakhazam.com:80/db/mob.html?wmob=12794
DELETE FROM `creature_template` WHERE `entry`=12794;
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 (12794, 0, 0, 0, 12676, 0, 0, 0, 'Stone Guard Zarg', 'Food and Drink', 0, 55, 55, 4108, 4108, 0, 0, 0, 85, 85, 6, 1.23, 1.14286, 0, 0, 96, 125, 0, 248, 1, 1460, 1606, 0, 0, 0, 0, 0, 0, 0, 0, 70.664, 97.163, 100, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 3, 0, 0, 1, 1380, 0, 1279401, 0, 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 (12794, 9, 0, 0, 12676, 0, 0, 0, 'Stone Guard Zarg', 'Weapons Quartermaster', 0, 55, 55, 4108, 4108, 0, 0, 0, 85, 85, 6, 1.23, 1.14286, 0, 0, 96, 125, 0, 248, 1, 1460, 1606, 0, 0, 0, 0, 0, 0, 0, 0, 70.664, 97.163, 100, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 3, 0, 0, 1, 1380, 0, 1279402, 0, 0, 0, '');
DELETE FROM `npc_vendor` WHERE `entry`=12794;
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279401, 117, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279401, 159, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279401, 1179, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279401, 1205, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279401, 1645, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279401, 1708, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279401, 2287, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279401, 2593, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279401, 2594, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279401, 2595, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279401, 2596, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279401, 2723, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279401, 3770, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279401, 3771, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279401, 4536, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279401, 4537, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279401, 4538, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279401, 4539, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279401, 4540, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279401, 4541, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279401, 4542, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279401, 4544, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279401, 4599, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279401, 4601, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279401, 4602, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279401, 4604, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279401, 4605, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279401, 4606, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279401, 4607, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279401, 4608, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279401, 8766, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279401, 8948, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279401, 8950, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279401, 8952, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279401, 8953, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279402, 16345, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279402, 18826, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279402, 18828, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279402, 18831, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279402, 18835, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279402, 18837, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279402, 18840, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279402, 18844, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279402, 18848, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279402, 18860, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279402, 18866, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279402, 18868, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279402, 18871, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279402, 18874, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279402, 18877, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279402, 23464, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279402, 23465, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279402, 23466, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279402, 23467, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279402, 23468, 0, 0);
INSERT INTO `npc_vendor_template` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (1279402, 23469, 0, 0);
-- Sergeant Thunderhorn was the horde weapon quartermaster prior to 1.11.
-- https://web.archive.org/web/20050527211704/http://wow.allakhazam.com:80/db/mob.html?wmob=14581
UPDATE `creature_template` SET `npcflag`=4, `minlevel`=55, `maxlevel`=55, `equipment_id`=14581 WHERE `entry`=14581;
INSERT INTO `creature_equip_template` (`entry`, `equipentry1`, `equipentry2`, `equipentry3`) VALUES (14581, 14824, 0, 0);
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 (52727, 14581, 450, 0, 0, 243.861, 103.839, 25.9038, 4.86947, 180, 0, 0, 7200, 0, 0, 0, 0, 0, 0, 8);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (14581, 16345, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (14581, 18826, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (14581, 18828, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (14581, 18831, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (14581, 18835, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (14581, 18837, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (14581, 18840, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (14581, 18844, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (14581, 18848, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (14581, 18860, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (14581, 18866, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (14581, 18868, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (14581, 18871, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (14581, 18874, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`) VALUES (14581, 18877, 0, 0);
-- End of migration.
END IF;
END??
delimiter ;
CALL add_migration();
DROP PROCEDURE IF EXISTS add_migration;