Files
aowow/setup/updates/1720116490_01.sql
Sarjuuk 2e9b503c59 Loot/LinkedLoot
* rework npc <-> chest loot linking
 * difficulty is now directly stored
 * should fix multiple issues where loot tabs had wrong difficulty or null title
2024-07-04 21:31:48 +02:00

218 lines
5.7 KiB
SQL

DROP TABLE IF EXISTS `aowow_loot_link`;
CREATE TABLE `aowow_loot_link` (
`npcId` mediumint(9) unsigned NOT NULL,
`objectId` mediumint(8) unsigned NOT NULL,
`difficulty` tinyint(3) unsigned NOT NULL DEFAULT 1,
`priority` tinyint(3) unsigned NOT NULL COMMENT '1: use this npc from group encounter (others 0)',
`encounterId` mediumint(8) unsigned NOT NULL COMMENT 'as title reference',
UNIQUE KEY `npcId_difficulty` (`npcId`, `difficulty`),
KEY `objectId` (`objectId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
INSERT INTO `aowow_loot_link` VALUES
(19710,184465,1,0,0),
(19218,184465,1,1,0),
(21526,184849,2,0,0),
(21525,184849,2,1,0),
(17537,185168,1,1,0),
(17536,185168,1,0,0),
(18434,185169,2,1,0),
(18432,185169,2,0,0),
(28234,190586,1,0,0),
(28234,193996,2,0,0),
(26533,190663,1,0,0),
(31217,193597,2,0,0),
(27656,191349,1,0,0),
(31561,193603,2,0,0),
(28859,193905,1,0,0),
(31734,193967,2,0,0),
(32845,194307,1,0,0),
(32846,194308,2,0,0),
(32845,194200,3,0,0),
(32846,194201,4,0,0),
(32865,194312,1,0,0),
(33147,194314,2,0,0),
(32865,194313,3,0,0),
(33147,194315,4,0,0),
(32906,194324,1,0,0),
(33360,194328,2,0,0),
(32906,194327,3,0,0),
(33360,194331,4,0,0),
(32871,194821,1,0,0),
(33070,194822,2,0,0),
(33350,194789,1,0,0),
(33350,194956,2,0,0),
(33350,194957,3,0,0),
(33350,194958,4,0,0),
(32930,195046,1,0,0),
(33909,195047,2,0,0),
(34928,195323,1,0,0),
(35517,195324,2,0,0),
(35119,195374,1,0,0),
(35518,195375,2,0,0),
(37226,201710,1,0,0),
(37226,202336,2,0,0),
(36789,201959,1,0,0),
(38174,202339,2,0,0),
(36789,202338,3,0,0),
(38174,202340,4,0,0),
(38402,202239,1,0,0),
(38582,202240,2,0,0),
(37813,202238,3,0,0),
(38583,202241,4,0,0),
(9034,169243,1,0,243),
(9035,169243,1,1,243),
(9039,169243,1,0,243),
(9036,169243,1,0,243),
(9037,169243,1,0,243),
(9038,169243,1,0,243),
(9040,169243,1,0,243),
(34657,195709,1,0,334),
(34701,195709,1,0,334),
(34703,195709,1,0,334),
(34702,195709,1,0,334),
(34705,195709,1,0,334),
(35571,195709,1,0,334),
(35617,195709,1,0,334),
(35572,195709,1,0,334),
(35570,195709,1,0,334),
(35569,195709,1,1,334),
(36089,195710,2,0,334),
(36086,195710,2,0,334),
(36087,195710,2,0,334),
(36082,195710,2,0,334),
(36085,195710,2,1,334),
(36088,195710,2,0,334),
(36084,195710,2,0,334),
(36083,195710,2,0,334),
(36091,195710,2,0,334),
(36090,195710,2,0,334),
(34458,195631,1,0,637),
(34465,195631,1,0,637),
(34463,195631,1,0,637),
(34460,195631,1,0,637),
(34459,195631,1,0,637),
(34456,195631,1,0,637),
(34466,195631,1,0,637),
(34467,195631,1,0,637),
(34468,195631,1,0,637),
(34469,195631,1,0,637),
(34470,195631,1,0,637),
(34472,195631,1,0,637),
(34474,195631,1,0,637),
(34473,195631,1,0,637),
(34455,195631,1,0,637),
(34454,195631,1,0,637),
(34453,195631,1,0,637),
(34441,195631,1,1,637),
(34471,195631,1,0,637),
(34475,195631,1,0,637),
(34444,195631,1,0,637),
(34445,195631,1,0,637),
(34447,195631,1,0,637),
(34461,195631,1,0,637),
(34448,195631,1,0,637),
(34449,195631,1,0,637),
(34450,195631,1,0,637),
(34451,195631,1,0,637),
(35686,195632,2,0,637),
(35671,195632,2,0,637),
(35683,195632,2,0,637),
(35680,195632,2,0,637),
(35674,195632,2,0,637),
(35689,195632,2,0,637),
(35721,195632,2,0,637),
(35718,195632,2,0,637),
(35731,195632,2,0,637),
(35714,195632,2,0,637),
(35711,195632,2,0,637),
(35734,195632,2,0,637),
(35737,195632,2,0,637),
(35740,195632,2,0,637),
(35743,195632,2,0,637),
(35746,195632,2,0,637),
(35708,195632,2,0,637),
(35705,195632,2,0,637),
(35702,195632,2,0,637),
(35699,195632,2,0,637),
(35695,195632,2,0,637),
(35692,195632,2,0,637),
(35728,195632,2,0,637),
(35724,195632,2,0,637),
(35668,195632,2,0,637),
(34442,195632,2,1,637),
(35662,195632,2,0,637),
(35665,195632,2,0,637),
(35725,195633,3,0,637),
(35722,195633,3,0,637),
(35719,195633,3,0,637),
(35715,195633,3,0,637),
(35709,195633,3,0,637),
(35706,195633,3,0,637),
(35729,195633,3,0,637),
(35744,195633,3,0,637),
(35732,195633,3,0,637),
(35735,195633,3,0,637),
(35738,195633,3,0,637),
(35741,195633,3,0,637),
(35747,195633,3,0,637),
(35712,195633,3,0,637),
(35703,195633,3,0,637),
(35700,195633,3,0,637),
(35672,195633,3,0,637),
(35690,195633,3,0,637),
(35687,195633,3,0,637),
(35669,195633,3,0,637),
(35684,195633,3,0,637),
(35693,195633,3,0,637),
(34443,195633,3,1,637),
(35681,195633,3,0,637),
(35663,195633,3,0,637),
(35666,195633,3,0,637),
(35696,195633,3,0,637),
(35675,195633,3,0,637),
(35700,195635,4,0,637),
(35749,195635,4,1,637),
(35706,195635,4,0,637),
(35703,195635,4,0,637),
(35709,195635,4,0,637),
(35744,195635,4,0,637),
(35741,195635,4,0,637),
(35735,195635,4,0,637),
(35732,195635,4,0,637),
(35729,195635,4,0,637),
(35725,195635,4,0,637),
(35722,195635,4,0,637),
(35719,195635,4,0,637),
(35715,195635,4,0,637),
(35712,195635,4,0,637),
(35747,195635,4,0,637),
(35696,195635,4,0,637),
(35675,195635,4,0,637),
(35681,195635,4,0,637),
(35663,195635,4,0,637),
(35669,195635,4,0,637),
(35666,195635,4,0,637),
(35738,195635,4,0,637),
(35672,195635,4,0,637),
(35684,195635,4,0,637),
(35687,195635,4,0,637),
(35690,195635,4,0,637),
(35693,195635,4,0,637),
(16064,181366,1,0,692),
(16065,181366,1,0,692),
(16063,181366,1,0,692),
(30549,181366,1,1,692),
(30602,193426,2,0,692),
(30603,193426,2,0,692),
(30601,193426,2,0,692),
(30600,193426,2,1,692),
(36948,202178,1,0,847),
(36939,202178,1,0,847),
(38157,202180,2,0,847),
(38156,202180,2,0,847),
(38639,202177,3,0,847),
(38637,202177,3,0,847),
(38640,202179,4,0,847),
(38638,202179,4,0,847);