From cd4ec548f1dcb1450e3836fe40fc62bf5d9ded32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=83=91=E4=BD=A9=E8=8C=B9?= Date: Mon, 1 Jul 2024 14:02:46 -0600 Subject: [PATCH] Add Naxx40 Dungeon DBC entries (fixes Autobalance) --- sql/world/base/naxx40.sql | 41 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/sql/world/base/naxx40.sql b/sql/world/base/naxx40.sql index d8674b1..dfd10d9 100644 --- a/sql/world/base/naxx40.sql +++ b/sql/world/base/naxx40.sql @@ -45,3 +45,44 @@ INSERT INTO `creature_template` (`entry`, `difficulty_entry_1`, `difficulty_entr DELETE FROM `creature` WHERE `guid` = 352042; INSERT INTO `creature` (`guid`, `id1`, `id2`, `id3`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`) VALUES (352042, 351097, 0, 0, 329, 0, 0, 1, 1, 0, 3929.06, -3372.12, 119.653, 4.71395, 300, 0, 0, 6986, 0, 0, 0, 0, 0, '', 0); + +-- Naxx40 Dungeon DBC entries (helps Autobalance work correctly) +DELETE FROM `lfgdungeons_dbc` WHERE `ID` = 1001; +INSERT INTO `lfgdungeons_dbc` VALUES +(1001,"Naxxramas (Vanilla)","","","","","","","","","","","","","","","",16712190,60,83,60,60,83,533,2,0,2,-1,"",2,0,9,"","","","","","","","","","","","","","","","",16712188); + +DELETE FROM `dungeonencounter_dbc` WHERE `ID` BETWEEN 1001 AND 1015; +INSERT INTO `dungeonencounter_dbc` (`ID`, `MapID`, `Difficulty`, `OrderIndex`, `Bit`, `Name_Lang_enUS`, `Name_Lang_enGB`, `Name_Lang_koKR`, `Name_Lang_frFR`, `Name_Lang_deDE`, `Name_Lang_enCN`, `Name_Lang_zhCN`, `Name_Lang_enTW`, `Name_Lang_zhTW`, `Name_Lang_esES`, `Name_Lang_esMX`, `Name_Lang_ruRU`, `Name_Lang_ptPT`, `Name_Lang_ptBR`, `Name_Lang_itIT`, `Name_Lang_Unk`, `Name_Lang_Mask`, `SpellIconID`) VALUES +(1001, 533, 2, 0, 0, 'Anub''Rekhan', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 16712190, 0), +(1002, 533, 2, 1000, 1, 'Grand Widow Faerlina', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 16712190, 0), +(1003, 533, 2, 2000, 2, 'Maexxna', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 16712190, 0), +(1004, 533, 2, 3000, 3, 'Noth the Plaguebringer', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 16712190, 0), +(1005, 533, 2, 4000, 4, 'Heigan the Unclean', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 16712190, 0), +(1006, 533, 2, 5000, 5, 'Loatheb', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 16712190, 0), +(1007, 533, 2, 6000, 6, 'Instructor Razuvious', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 16712190, 0), +(1008, 533, 2, 7000, 7, 'Gothik the Harvester', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 16712190, 0), +(1009, 533, 2, 8000, 8, 'The Four Horsemen', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 16712190, 0), +(1010, 533, 2, 9000, 9, 'Patchwerk', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 16712190, 0), +(1011, 533, 2, 10000, 10, 'Grobbulus', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 16712190, 0), +(1012, 533, 2, 11000, 11, 'Gluth', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 16712190, 0), +(1013, 533, 2, 12000, 12, 'Thaddius', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 16712190, 0), +(1014, 533, 2, 13000, 13, 'Sapphiron', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 16712190, 0), +(1015, 533, 2, 14000, 14, 'Kel''Thuzad', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 16712190, 0); + +DELETE FROM `instance_encounters` WHERE `entry` BETWEEN 1001 AND 1015; +INSERT INTO `instance_encounters` (`entry`, `creditType`, `creditEntry`, `lastEncounterDungeon`, `comment`) VALUES +(1001, 0, 351009, 0, 'Anub''Rekhan'), +(1002, 0, 351007, 0, 'Grand Widow Faerlina'), +(1003, 0, 351006, 0, 'Maexxna'), +(1004, 0, 351008, 0, 'Noth the Plaguebringer'), +(1005, 0, 351005, 0, 'Heigan the Unclean'), +(1006, 0, 351020, 0, 'Loatheb'), +(1007, 0, 351036, 0, 'Instructor Razuvious'), +(1008, 0, 351035, 0, 'Gothik the Harvester'), +(1009, 1, 59450, 0, 'The Four Horsemen'), +(1010, 0, 351028, 0, 'Patchwerk'), +(1011, 0, 351003, 0, 'Grobbulus'), +(1012, 0, 351004, 0, 'Gluth'), +(1013, 0, 351000, 0, 'Thaddius'), +(1014, 0, 351018, 0, 'Sapphiron'), +(1015, 0, 351019, 0, 'Kel''Thuzad');