mirror of
https://github.com/ZhengPeiRu21/mod-individual-progression
synced 2025-11-29 15:38:19 +08:00
Moving sql files to data folder (#670)
- all sql files moved to data directory - vanilla_regen_values is now labeled as optional. zz_optional_vanilla_regen_values.sql - vanilla_mob_factions removed, content moved to zone_ sql files - naxx40_remove_disables removed, content moved to naxx40 sql file - zone_elwynn_forest clean up - zone_durotar clean up - zone_tirisfal_glades clean up
This commit is contained in:
1
data/sql/auth/updates/.gitkeep
Normal file
1
data/sql/auth/updates/.gitkeep
Normal file
@@ -0,0 +1 @@
|
||||
|
||||
1
data/sql/characters/updates/.gitkeep
Normal file
1
data/sql/characters/updates/.gitkeep
Normal file
@@ -0,0 +1 @@
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
-- Custom GUIDs
|
||||
-- creature 352042
|
||||
-- creature_template 351097
|
||||
-- Add MapDifficulty DBC Override
|
||||
-- https://wow.tools/dbc/?dbc=mapdifficulty&build=10.0.0.44895#page=1&search=533
|
||||
-- Enable Naxxramas Map (mapID: 533)
|
||||
DELETE FROM `disables` WHERE `entry` = 533;
|
||||
|
||||
-- Add MapDifficulty DBC Override - https://wow.tools/dbc/?dbc=mapdifficulty&build=10.0.0.44895#page=1&search=533
|
||||
DELETE FROM `mapdifficulty_dbc` WHERE `ID` = 754;
|
||||
INSERT INTO `mapdifficulty_dbc` (`ID`, `MapID`, `Difficulty`, `Message_Lang_enUS`, `Message_Lang_Mask`, `RaidDuration`, `MaxPlayers`, `Difficultystring`) VALUES
|
||||
(754, 533, 2, 'You must be level 60 and in a raid group to enter.', 16712190, 604800, 40, 'RAID_DIFFICULTY_40PLAYER');
|
||||
@@ -24,19 +23,16 @@ INSERT INTO `areatrigger_scripts` (`entry`, `ScriptName`) VALUES
|
||||
(5193, 'naxx_northrend_entrance'),
|
||||
(5194, 'naxx_northrend_entrance');
|
||||
|
||||
-- Update spawnMask of all creatures to 10man + 25man
|
||||
UPDATE `creature` SET `spawnMask` = 3 WHERE `spawnMask` = 7 AND `map` = 533;
|
||||
-- Update spawnMask of all gameobjects to all
|
||||
UPDATE `gameobject` SET `spawnMask` = 7 WHERE `spawnMask` = 3 AND `map` = 533;
|
||||
-- Lich King uses same entry in Naxx WotLK and Naxx40 - Allow spawning in all versions
|
||||
UPDATE `creature` SET `spawnMask` = `spawnMask` | 4 WHERE `id1` = 16980;
|
||||
-- Naxxramas Trigger (frogger) should also spawn in Naxx40
|
||||
UPDATE `creature` SET `spawnMask` = `spawnMask`| 4 WHERE `id1` = 16082;
|
||||
-- Orb of Naxxramas does not exist in classic
|
||||
UPDATE `gameobject` SET `spawnMask` = 3 WHERE `id` IN (202278, 202277);
|
||||
UPDATE `creature` SET `spawnMask` = 3 WHERE `spawnMask` = 7 AND `map` = 533; -- Update spawnMask of all creatures to 10man + 25man
|
||||
UPDATE `creature` SET `spawnMask` = `spawnMask`| 4 WHERE `id1` = 16980; -- Lich King uses same entry in Naxx WotLK and Naxx40 - Allow spawning in all versions
|
||||
UPDATE `creature` SET `spawnMask` = `spawnMask`| 4 WHERE `id1` = 16082; -- Naxxramas Trigger (frogger) should also spawn in Naxx40
|
||||
|
||||
DELETE FROM `dungeon_access_template` WHERE `id`=122;
|
||||
INSERT INTO `dungeon_access_template` (`id`, `map_id`, `difficulty`, `min_level`, `max_level`, `min_avg_item_level`, `comment`) VALUES (122, 533, 2, 60, 0, 0, 'Naxxramas - 40man');
|
||||
UPDATE `gameobject` SET `spawnMask` = 7 WHERE `spawnMask` = 3 AND `map` = 533; -- Update spawnMask of all gameobjects to all
|
||||
UPDATE `gameobject` SET `spawnMask` = 3 WHERE `id` IN (202278, 202277); -- Orb of Naxxramas does not exist in classic
|
||||
|
||||
DELETE FROM `dungeon_access_template` WHERE `id` = 122;
|
||||
INSERT INTO `dungeon_access_template` (`id`, `map_id`, `difficulty`, `min_level`, `max_level`, `min_avg_item_level`, `comment`) VALUES
|
||||
(122, 533, 2, 60, 0, 0, 'Naxxramas - 40man');
|
||||
|
||||
-- Naxx40 Dungeon DBC entries (helps Autobalance work correctly)
|
||||
DELETE FROM `lfgdungeons_dbc` WHERE `ID` = 1001;
|
||||
60
data/sql/world/base/vanilla_pooled_treasure_chests.sql
Normal file
60
data/sql/world/base/vanilla_pooled_treasure_chests.sql
Normal file
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
Pooled Treasure Chests
|
||||
This should and likely will get fixed by AzerothCore itself at some point,
|
||||
so that's why this is a separate file.
|
||||
*/
|
||||
|
||||
DELETE FROM `pool_template` WHERE `entry` BETWEEN 66001 AND 66006;
|
||||
INSERT INTO `pool_template` (`entry`,`max_limit`,`description`) VALUES
|
||||
(66001, 1, 'Treasures - Thousand Needles'),
|
||||
(66002, 1, 'Treasures - Winterspring'),
|
||||
(66003, 1, 'Treasures - Winterspring'),
|
||||
(66004, 1, 'Treasures - Hillsbrad Foothills'),
|
||||
(66005, 1, 'Treasures - The Hinterlands'),
|
||||
(66006, 1, 'Treasures - Alterac Mountains');
|
||||
|
||||
UPDATE `gameobject` SET `spawntimesecs` = 900 WHERE `guid` IN (
|
||||
16718, 85670, 87381, -- Thousand Needles
|
||||
49089, 49090, 49091, 85796, 85798, 85799, 85801, 85803, -- Winterspring
|
||||
20885, 30036, 85804, -- Hillsbrad Foothills
|
||||
46292, 46346, 46370, 85894, 87392, -- The Hinterlands
|
||||
33193, 33206, 33207 -- Alterac Mountains
|
||||
);
|
||||
|
||||
DELETE FROM `pool_gameobject` WHERE `guid` IN (
|
||||
16718, 85670, 87381, -- Thousand Needles
|
||||
49089, 49090, 49091, 85796, 85798, 85799, 85801, 85803, -- Winterspring
|
||||
20885, 30036, 85804, -- Hillsbrad Foothills
|
||||
46292, 46346, 46370, 85894, 87392, -- The Hinterlands
|
||||
33193, 33206, 33207 -- Alterac Mountains
|
||||
);
|
||||
|
||||
INSERT INTO `pool_gameobject` (`guid`, `pool_entry`, `chance`, `description`) VALUES
|
||||
--
|
||||
(16718, 66001, 0, 'Solid Chest, Camp E\'thok, node 1'),
|
||||
(85670, 66001, 0, 'Solid Chest, Camp E\'thok, node 2'),
|
||||
(87381, 66001, 0, 'Solid Chest, Camp E\'thok, node 3'),
|
||||
--
|
||||
(49091, 66002, 0, 'Solid Chest, Winterfall Village, node 1'),
|
||||
(85798, 66002, 0, 'Solid Chest, Winterfall Village, node 2'),
|
||||
(85799, 66002, 0, 'Solid Chest, Winterfall Village, node 3'),
|
||||
(85803, 66002, 0, 'Solid Chest, Winterfall Village, node 4'),
|
||||
--
|
||||
(49089, 66003, 0, 'Solid Chest, Timbermaw Post, node 1'),
|
||||
(49090, 66003, 0, 'Solid Chest, Timbermaw Post, node 2'),
|
||||
(85796, 66003, 0, 'Solid Chest, Timbermaw Post, node 3'),
|
||||
(85801, 66003, 0, 'Solid Chest, Timbermaw Post, node 4'),
|
||||
--
|
||||
(20885, 66004, 0, 'Tattered Chest, Hillsbrad Fields, node 1'),
|
||||
(30036, 66004, 0, 'Tattered Chest, Hillsbrad Fields, node 2'),
|
||||
(85804, 66004, 0, 'Tattered Chest, Hillsbrad Fields, node 3'),
|
||||
--
|
||||
(46292, 66005, 0, 'Solid Chest, Jintha Alor, node 1'),
|
||||
(46346, 66005, 0, 'Solid Chest, Jintha Alor, node 2'),
|
||||
(46370, 66005, 0, 'Solid Chest, Jintha Alor, node 3'),
|
||||
(85894, 66005, 0, 'Solid Chest, Jintha Alor, node 4'),
|
||||
(87392, 66005, 0, 'Solid Chest, Jintha Alor, node 5'),
|
||||
--
|
||||
(33193, 66006, 0, 'Solid Chest, Alterac Mountains, node 1'),
|
||||
(33206, 66006, 0, 'Solid Chest, Alterac Mountains, node 2'),
|
||||
(33207, 66006, 0, 'Solid Chest, Alterac Mountains, node 3');
|
||||
@@ -83,12 +83,8 @@ INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_
|
||||
(2453, 0, 2, 0, 0, 0, 100, 0, 5000, 8000, 18000, 22000, 0, 0, 11, 8814, 64, 0, 0, 0, 0, 5, 30, 0, 0, 0, 0, 0, 0, 0, 'Lo Grosh - In Combat - Cast Flame Spike');
|
||||
|
||||
|
||||
|
||||
-- Jailor Borhuin, 2431, should have multiple spawn locations
|
||||
-- https://www.youtube.com/watch?v=3fLlozCjyD0
|
||||
|
||||
-- Baron Vardus, 2306, should have multiple spawn locations
|
||||
-- https://www.youtube.com/watch?v=MgH-PCmxnUo - https://www.youtube.com/watch?v=ZLXbrYUfLtI - https://www.youtube.com/watch?v=Dk6V9prh2gk
|
||||
-- Jailor Borhuin(2431) and Baron Vardus(2306) should have multiple spawn locations
|
||||
-- https://www.youtube.com/watch?v=3fLlozCjyD0 - https://www.youtube.com/watch?v=MgH-PCmxnUo - https://www.youtube.com/watch?v=ZLXbrYUfLtI - https://www.youtube.com/watch?v=Dk6V9prh2gk
|
||||
|
||||
DELETE FROM `creature` WHERE `id1` IN (2306, 2431);
|
||||
INSERT INTO `creature` (`guid`, `id1`, `id2`, `id3`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`,
|
||||
@@ -101,7 +97,6 @@ INSERT INTO `creature` (`guid`, `id1`, `id2`, `id3`, `map`, `zoneId`, `areaId`,
|
||||
(695014, 2431, 0, 0, 0, 0, 0, 1, 1, 1, 750.559, -971.896, 167.587, 1.60003, 300, 0, 0, 1537, 0, 0, 0, 0, 0, '', NULL, 0, NULL),
|
||||
(695015, 2431, 0, 0, 0, 0, 0, 1, 1, 1, 679.818, -897.818, 171.806, 4.8398, 300, 0, 0, 1537, 0, 0, 0, 0, 0, '', NULL, 0, NULL);
|
||||
|
||||
|
||||
DELETE FROM `pool_creature` WHERE `pool_entry` IN (601008, 601009);
|
||||
INSERT INTO `pool_creature` (`guid`, `pool_entry`, `chance`, `description`) VALUES
|
||||
(16905, 601008, 0, 'Baron Vardus'),
|
||||
@@ -116,17 +111,3 @@ DELETE FROM `pool_template` WHERE `entry` IN (601008, 601009);
|
||||
INSERT INTO `pool_template` (`entry`, `max_limit`, `description`) VALUES
|
||||
(601008, 1, ''),
|
||||
(601009, 1, '');
|
||||
|
||||
|
||||
-- Pooled Treasure Chests
|
||||
DELETE FROM `pool_template` WHERE `entry` IN (66006);
|
||||
INSERT INTO `pool_template` (`entry`,`max_limit`,`description`) VALUES
|
||||
(66006, 1, 'Treasures - Alterac Mountains');
|
||||
|
||||
UPDATE `gameobject` SET `spawntimesecs` = 900 WHERE`guid` IN (33193, 33206, 33207);
|
||||
|
||||
DELETE FROM `pool_gameobject` WHERE `guid` IN (33193, 33206, 33207);
|
||||
INSERT INTO `pool_gameobject` (`guid`, `pool_entry`, `chance`, `description`) VALUES
|
||||
(33193, 66006, 0, 'Solid Chest, Alterac Mountains, node 1'),
|
||||
(33206, 66006, 0, 'Solid Chest, Alterac Mountains, node 2'),
|
||||
(33207, 66006, 0, 'Solid Chest, Alterac Mountains, node 3');
|
||||
4
data/sql/world/base/zone_azuremyst_isle.sql
Normal file
4
data/sql/world/base/zone_azuremyst_isle.sql
Normal file
@@ -0,0 +1,4 @@
|
||||
UPDATE `creature_template` SET `faction` = 14 WHERE `entry` = 16517; -- Mutated Root Lasher
|
||||
UPDATE `creature_template` SET `faction` = 16 WHERE `entry` = 16521; -- Blood Elf Scout
|
||||
UPDATE `creature_template` SET `faction` = 16 WHERE `entry` = 16522; -- Surveyor Candress
|
||||
UPDATE `creature_template` SET `faction` = 14 WHERE `entry` = 16537; -- Mutated Owlkin
|
||||
22
data/sql/world/base/zone_dun_morogh.sql
Normal file
22
data/sql/world/base/zone_dun_morogh.sql
Normal file
@@ -0,0 +1,22 @@
|
||||
-- Beginnings (Warlock)
|
||||
DELETE FROM `creature_questender` WHERE `id` = 460 AND `quest` = 1599;
|
||||
INSERT INTO `creature_questender` (`id`, `quest`) VALUES (460, 1599);
|
||||
|
||||
-- Beginnings (Warlock)
|
||||
DELETE FROM `creature_queststarter` WHERE `id` = 460 AND `quest` = 1599;
|
||||
INSERT INTO `creature_queststarter` (`id`, `quest`) VALUES (460, 1599);
|
||||
|
||||
-- Beginnings (Warlock)
|
||||
UPDATE `quest_template` SET `Flags` = 8 WHERE `ID` = 1599;
|
||||
|
||||
-- Beginnings (Warlock)
|
||||
UPDATE `quest_template_addon` SET `SpecialFlags` = 0 WHERE `ID` = 1599;
|
||||
|
||||
-- Thamner Pol <Physician>
|
||||
DELETE FROM `npc_trainer` WHERE `ID` = 2326;
|
||||
INSERT INTO `npc_trainer` (`ID`, `SpellID`) VALUES (2326, -350000);
|
||||
|
||||
|
||||
UPDATE `creature_template` SET `faction` = 107 WHERE `entry` = 706; -- Frostmane Troll Whelp
|
||||
UPDATE `creature_template` SET `faction` = 37 WHERE `entry` = 808; -- Grik'nir the Cold
|
||||
UPDATE `creature_template` SET `faction` = 107 WHERE `entry` = 946; -- Frostmane Novice
|
||||
69
data/sql/world/base/zone_durotar.sql
Normal file
69
data/sql/world/base/zone_durotar.sql
Normal file
@@ -0,0 +1,69 @@
|
||||
UPDATE `creature_template` SET `faction` = 14 WHERE `entry` = 3101; -- Vile Familiar
|
||||
UPDATE `creature_template` SET `faction` = 14 WHERE `entry` = 3102; -- Felstalker
|
||||
UPDATE `creature_template` SET `faction` = 16 WHERE `entry` = 3183; -- Yarrog Baneshadow
|
||||
|
||||
|
||||
DELETE FROM `npc_trainer` WHERE `ID` IN (3174, 3175, 3184, 3185, 5943, 7953, 11025);
|
||||
INSERT INTO `npc_trainer` (`ID`, `SpellID`) VALUES
|
||||
(3174, -310000), -- Dwukk <Journeyman Blacksmith>
|
||||
(3175, -390000), -- Krunn <Miner>
|
||||
(3184, -300000), -- Miao'zan <Journeyman Alchemist>
|
||||
(3185, -370000), -- Mishiki <Herbalist>
|
||||
(5943, -350000), -- Rawrk <First Aid Trainer>
|
||||
(7953, -450000), -- Xar'Ti <Riding Trainer>
|
||||
(11025, -340000); -- Mukdrak <Journeyman Engineer>
|
||||
|
||||
DELETE FROM `npc_vendor` WHERE `entry` = 3167 AND `item` IN (20815, 20824); -- Wuark <Armorer & Shieldcrafter>
|
||||
DELETE FROM `npc_vendor` WHERE `entry` = 3168 AND `item` IN (30817); -- Flakk <Trade Supplies>
|
||||
DELETE FROM `npc_vendor` WHERE `entry` = 3187 AND `item` IN (30817); -- Tai'tasi <Trade Supplies>
|
||||
DELETE FROM `npc_vendor` WHERE `entry` = 5942 AND `item` IN (6365, 6533); -- Zansoa <Fishing Supplies>
|
||||
|
||||
|
||||
/* Quests */
|
||||
|
||||
-- Cutting Teeth
|
||||
UPDATE `quest_template` SET `Flags` = 8,
|
||||
`LogDescription` = 'Kill 10 Mottled Boars then return to Gornek at the Den.', `RequiredNpcOrGoCount1` = 10 WHERE `ID` = 788;
|
||||
|
||||
-- Sting of the Scorpid
|
||||
UPDATE `quest_template` SET `Flags` = 8,
|
||||
`LogDescription` = 'Get 10 Scorpid Worker Tails for Gornek in the Den.', `RequiredItemCount1` = 10 WHERE `ID` = 789;
|
||||
|
||||
-- Vile Familiars
|
||||
UPDATE `quest_template` SET `Flags` = 8,
|
||||
`LogDescription` = 'Kill 12 Vile Familiars.$b$bReturn to Zureetha Fargaze outside the Den.', `RequiredNpcOrGoCount1` = 12 WHERE `ID` = 792;
|
||||
|
||||
-- Galgar's Cactus Apple Surprise
|
||||
UPDATE `quest_template` SET `Flags` = 8,
|
||||
`LogDescription` = 'Bring Galgar 10 Cactus Apples. You remember him saying that they could be found near cactuses.', `RequiredItemCount1` = 10 WHERE `ID` = 4402;
|
||||
|
||||
UPDATE `quest_template` SET `Flags` = 8 WHERE `ID` = 790; -- Sarkoth
|
||||
UPDATE `quest_template` SET `Flags` = 8 WHERE `ID` = 794; -- Burning Blade Medallion
|
||||
UPDATE `quest_template` SET `Flags` = 0 WHERE `ID` = 804; -- Sarkoth
|
||||
UPDATE `quest_template` SET `Flags` = 8 WHERE `ID` = 805; -- Report to Sen'jin Village
|
||||
UPDATE `quest_template` SET `Flags` = 8 WHERE `ID` = 1516; -- Call of Earth (Shaman)
|
||||
UPDATE `quest_template` SET `Flags` = 0 WHERE `ID` = 1517; -- Call of Earth (Shaman)
|
||||
UPDATE `quest_template` SET `Flags` = 0 WHERE `ID` = 2161; -- A Peon's Burden
|
||||
UPDATE `quest_template` SET `Flags` = 8 WHERE `ID` = 4641; -- Your Place In The World
|
||||
UPDATE `quest_template` SET `Flags` = 0 WHERE `ID` = 5441; -- Lazy Peons
|
||||
UPDATE `quest_template` SET `Flags` = 8 WHERE `ID` = 6394; -- Thazz'ril's Pick
|
||||
|
||||
UPDATE `quest_template_addon` SET `AllowableClasses` = 1279 WHERE `ID` = 792;
|
||||
|
||||
UPDATE `quest_template_addon` SET `SpecialFlags` = 0 WHERE `ID` IN (
|
||||
788, -- Cutting Teeth
|
||||
789, -- Sting of the Scorpid
|
||||
790, -- Sarkoth
|
||||
792, -- Vile Familiars
|
||||
794, -- Burning Blade Medallion
|
||||
804, -- Sarkoth
|
||||
805, -- Report to Sen'jin Village
|
||||
1516, -- Call of Earth (Shaman)
|
||||
1517, -- Call of Earth (Shaman)
|
||||
2161, -- A Peon's Burden
|
||||
2383, -- Simple Parchment
|
||||
4402, -- Galgar's Cactus Apple Surprise
|
||||
4641, -- Your Place In The World
|
||||
5441, -- Lazy Peons
|
||||
6394 -- Thazz'ril's Pick
|
||||
);
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user