DROP TABLE IF EXISTS `aowow_loot_link`;
CREATE TABLE `aowow_loot_link` (
    `npcId` MEDIUMINT(8) NOT NULL,
    `objectId` MEDIUMINT(8) UNSIGNED NOT NULL,
    UNIQUE INDEX `npcId` (`npcId`),
    INDEX `objectId` (`objectId`)
) COLLATE='utf8_general_ci' ENGINE=MyISAM;

-- if available HM-loot is show instead of regular loot (notably Ulduar)
INSERT INTO `aowow_loot_link` VALUES
    (17537, 185168), (18434, 185169),
    (17536, 185168), (18432, 185169),
    (19218, 184465), (21525, 184849),
    (19710, 184465), (21526, 184849),
    (28234, 190586), (-28234, 193996),
    (27656, 191349), (31561, 193603),
    (26533, 190663), (31217, 193597),
    (16064, 181366), (30603, 193426),
    (16065, 181366), (30601, 193426),
    (30549, 181366), (30600, 193426),
    (16063, 181366), (30602, 193426),
    (28859, 193905), (31734, 193967),
    (32930, 195046), (33909, 195047),
    (32865, 194313), (33147, 194315),
    (33350, 194957), (-33350, 194958),
    (32845, 194200), (32846, 194201),
    (32906, 194324), (33360, 194325),
    (32871, 194821), (33070, 194822),
    (35119, 195374), (35518, 195375),
    (34928, 195323), (35517, 195324),
    (34705, 195709), (36088, 195710),
    (34702, 195709), (36082, 195710),
    (34701, 195709), (36083, 195710),
    (34657, 195709), (36086, 195710),
    (34703, 195709), (36087, 195710),
    (35572, 195709), (36089, 195710),
    (35569, 195709), (36085, 195710),
    (35571, 195709), (36090, 195710),
    (35570, 195709), (36091, 195710),
    (35617, 195709), (36084, 195710),
    (34441, 195631), (34442, 195632),
    (34443, 195633), (-34443, 195635),
    (34444, 195631), (35740, 195632),
    (35741, 195633), (-35741, 195635),
    (34445, 195631), (35705, 195632),
    (35706, 195633), (-35706, 195635),
    (34447, 195631), (35683, 195632),
    (35684, 195633), (-35684, 195635),
    (34448, 195631), (35724, 195632),
    (35725, 195633), (-35725, 195635),
    (34449, 195631), (35689, 195632),
    (35690, 195633), (-35690, 195635),
    (34450, 195631), (35695, 195632),
    (35696, 195633), (-35696, 195635),
    (34451, 195631), (35671, 195632),
    (35672, 195633), (-35672, 195635),
    (34453, 195631), (35718, 195632),
    (35719, 195633), (-35719, 195635),
    (34454, 195631), (35711, 195632),
    (35712, 195633), (-35712, 195635),
    (34455, 195631), (35680, 195632),
    (35681, 195633), (-35681, 195635),
    (34456, 195631), (35708, 195632),
    (35709, 195633), (-35709, 195635),
    (34458, 195631), (35692, 195632),
    (35693, 195633), (-35693, 195635),
    (34459, 195631), (35686, 195632),
    (35687, 195633), (-35687, 195635),
    (34460, 195631), (35702, 195632),
    (35703, 195633), (-35703, 195635),
    (34461, 195631), (35743, 195632),
    (35744, 195633), (-35744, 195635),
    (34463, 195631), (35734, 195632),
    (35735, 195633), (-35735, 195635),
    (34465, 195631), (35746, 195632),
    (35747, 195633), (-35747, 195635),
    (34466, 195631), (35665, 195632),
    (35666, 195633), (-35666, 195635),
    (34467, 195631), (35662, 195632),
    (35663, 195633), (-35663, 195635),
    (34468, 195631), (35721, 195632),
    (35722, 195633), (-35722, 195635),
    (34469, 195631), (35714, 195632),
    (35715, 195633), (-35715, 195635),
    (34470, 195631), (35728, 195632),
    (35729, 195633), (-35729, 195635),
    (34471, 195631), (35668, 195632),
    (35669, 195633), (-35669, 195635),
    (34472, 195631), (35699, 195632),
    (35700, 195633), (-35700, 195635),
    (34473, 195631), (35674, 195632),
    (35675, 195633), (-35675, 195635),
    (34474, 195631), (35731, 195632),
    (35732, 195633), (-35732, 195635),
    (34475, 195631), (35737, 195632),
    (35738, 195633), (-35738, 195635),
    (37226, 201710), (-37226, 202336),
    (36948, 202178), (38157, 202180),
    (38639, 202177), (38640, 202179),
    (36939, 202178), (38156, 202180),
    (38637, 202177), (38638, 202179);
