diff --git a/data/sql/auth/updates/.gitkeep b/data/sql/auth/updates/.gitkeep new file mode 100644 index 0000000..d3f5a12 --- /dev/null +++ b/data/sql/auth/updates/.gitkeep @@ -0,0 +1 @@ + diff --git a/data/sql/characters/updates/.gitkeep b/data/sql/characters/updates/.gitkeep new file mode 100644 index 0000000..d3f5a12 --- /dev/null +++ b/data/sql/characters/updates/.gitkeep @@ -0,0 +1 @@ + diff --git a/sql/world/base/00_cleanup.sql b/data/sql/world/base/00_cleanup.sql similarity index 100% rename from sql/world/base/00_cleanup.sql rename to data/sql/world/base/00_cleanup.sql diff --git a/sql/world/base/adjustment_auras.sql b/data/sql/world/base/adjustment_auras.sql similarity index 100% rename from sql/world/base/adjustment_auras.sql rename to data/sql/world/base/adjustment_auras.sql diff --git a/sql/world/base/aq_gate_quest.sql b/data/sql/world/base/aq_gate_quest.sql similarity index 100% rename from sql/world/base/aq_gate_quest.sql rename to data/sql/world/base/aq_gate_quest.sql diff --git a/sql/world/base/aq_war.sql b/data/sql/world/base/aq_war.sql similarity index 100% rename from sql/world/base/aq_war.sql rename to data/sql/world/base/aq_war.sql diff --git a/sql/world/base/aq_war_effort.sql b/data/sql/world/base/aq_war_effort.sql similarity index 100% rename from sql/world/base/aq_war_effort.sql rename to data/sql/world/base/aq_war_effort.sql diff --git a/sql/world/base/boss_lord_kazzak.sql b/data/sql/world/base/boss_lord_kazzak.sql similarity index 100% rename from sql/world/base/boss_lord_kazzak.sql rename to data/sql/world/base/boss_lord_kazzak.sql diff --git a/sql/world/base/class_trainers.sql b/data/sql/world/base/class_trainers.sql similarity index 100% rename from sql/world/base/class_trainers.sql rename to data/sql/world/base/class_trainers.sql diff --git a/sql/world/base/cs_individualProgression.sql b/data/sql/world/base/cs_individualProgression.sql similarity index 100% rename from sql/world/base/cs_individualProgression.sql rename to data/sql/world/base/cs_individualProgression.sql diff --git a/sql/world/base/dungeon_aq20.sql b/data/sql/world/base/dungeon_aq20.sql similarity index 100% rename from sql/world/base/dungeon_aq20.sql rename to data/sql/world/base/dungeon_aq20.sql diff --git a/sql/world/base/dungeon_aq40.sql b/data/sql/world/base/dungeon_aq40.sql similarity index 100% rename from sql/world/base/dungeon_aq40.sql rename to data/sql/world/base/dungeon_aq40.sql diff --git a/sql/world/base/dungeon_attunements.sql b/data/sql/world/base/dungeon_attunements.sql similarity index 100% rename from sql/world/base/dungeon_attunements.sql rename to data/sql/world/base/dungeon_attunements.sql diff --git a/sql/world/base/dungeon_blackfathom_deeps.sql b/data/sql/world/base/dungeon_blackfathom_deeps.sql similarity index 100% rename from sql/world/base/dungeon_blackfathom_deeps.sql rename to data/sql/world/base/dungeon_blackfathom_deeps.sql diff --git a/sql/world/base/dungeon_blackrock_depths.sql b/data/sql/world/base/dungeon_blackrock_depths.sql similarity index 100% rename from sql/world/base/dungeon_blackrock_depths.sql rename to data/sql/world/base/dungeon_blackrock_depths.sql diff --git a/sql/world/base/dungeon_blackrock_spire.sql b/data/sql/world/base/dungeon_blackrock_spire.sql similarity index 100% rename from sql/world/base/dungeon_blackrock_spire.sql rename to data/sql/world/base/dungeon_blackrock_spire.sql diff --git a/sql/world/base/dungeon_blackwing_lair.sql b/data/sql/world/base/dungeon_blackwing_lair.sql similarity index 100% rename from sql/world/base/dungeon_blackwing_lair.sql rename to data/sql/world/base/dungeon_blackwing_lair.sql diff --git a/sql/world/base/dungeon_dire_maul.sql b/data/sql/world/base/dungeon_dire_maul.sql similarity index 100% rename from sql/world/base/dungeon_dire_maul.sql rename to data/sql/world/base/dungeon_dire_maul.sql diff --git a/sql/world/base/dungeon_gnomeregan.sql b/data/sql/world/base/dungeon_gnomeregan.sql similarity index 100% rename from sql/world/base/dungeon_gnomeregan.sql rename to data/sql/world/base/dungeon_gnomeregan.sql diff --git a/sql/world/base/dungeon_karazhan.sql b/data/sql/world/base/dungeon_karazhan.sql similarity index 100% rename from sql/world/base/dungeon_karazhan.sql rename to data/sql/world/base/dungeon_karazhan.sql diff --git a/sql/world/base/dungeon_maraudon.sql b/data/sql/world/base/dungeon_maraudon.sql similarity index 100% rename from sql/world/base/dungeon_maraudon.sql rename to data/sql/world/base/dungeon_maraudon.sql diff --git a/sql/world/base/dungeon_molten_core.sql b/data/sql/world/base/dungeon_molten_core.sql similarity index 100% rename from sql/world/base/dungeon_molten_core.sql rename to data/sql/world/base/dungeon_molten_core.sql diff --git a/sql/world/base/dungeon_onyxia.sql b/data/sql/world/base/dungeon_onyxia.sql similarity index 100% rename from sql/world/base/dungeon_onyxia.sql rename to data/sql/world/base/dungeon_onyxia.sql diff --git a/sql/world/base/dungeon_ragefire_chasm.sql b/data/sql/world/base/dungeon_ragefire_chasm.sql similarity index 100% rename from sql/world/base/dungeon_ragefire_chasm.sql rename to data/sql/world/base/dungeon_ragefire_chasm.sql diff --git a/sql/world/base/dungeon_razorfen_downs.sql b/data/sql/world/base/dungeon_razorfen_downs.sql similarity index 100% rename from sql/world/base/dungeon_razorfen_downs.sql rename to data/sql/world/base/dungeon_razorfen_downs.sql diff --git a/sql/world/base/dungeon_razorfen_kraul.sql b/data/sql/world/base/dungeon_razorfen_kraul.sql similarity index 100% rename from sql/world/base/dungeon_razorfen_kraul.sql rename to data/sql/world/base/dungeon_razorfen_kraul.sql diff --git a/sql/world/base/dungeon_scarlet_monastery.sql b/data/sql/world/base/dungeon_scarlet_monastery.sql similarity index 100% rename from sql/world/base/dungeon_scarlet_monastery.sql rename to data/sql/world/base/dungeon_scarlet_monastery.sql diff --git a/sql/world/base/dungeon_scholomance.sql b/data/sql/world/base/dungeon_scholomance.sql similarity index 100% rename from sql/world/base/dungeon_scholomance.sql rename to data/sql/world/base/dungeon_scholomance.sql diff --git a/sql/world/base/dungeon_shadowfang_keep.sql b/data/sql/world/base/dungeon_shadowfang_keep.sql similarity index 100% rename from sql/world/base/dungeon_shadowfang_keep.sql rename to data/sql/world/base/dungeon_shadowfang_keep.sql diff --git a/sql/world/base/dungeon_ssc.sql b/data/sql/world/base/dungeon_ssc.sql similarity index 100% rename from sql/world/base/dungeon_ssc.sql rename to data/sql/world/base/dungeon_ssc.sql diff --git a/sql/world/base/dungeon_stratholme.sql b/data/sql/world/base/dungeon_stratholme.sql similarity index 100% rename from sql/world/base/dungeon_stratholme.sql rename to data/sql/world/base/dungeon_stratholme.sql diff --git a/sql/world/base/dungeon_sunken_temple.sql b/data/sql/world/base/dungeon_sunken_temple.sql similarity index 100% rename from sql/world/base/dungeon_sunken_temple.sql rename to data/sql/world/base/dungeon_sunken_temple.sql diff --git a/sql/world/base/dungeon_the_deadmines.sql b/data/sql/world/base/dungeon_the_deadmines.sql similarity index 86% rename from sql/world/base/dungeon_the_deadmines.sql rename to data/sql/world/base/dungeon_the_deadmines.sql index c1306ff..b473085 100644 --- a/sql/world/base/dungeon_the_deadmines.sql +++ b/data/sql/world/base/dungeon_the_deadmines.sql @@ -11,4 +11,4 @@ UPDATE `creature_template` SET `minlevel`=16, `rank`=1 WHERE `entry`=1725; UPDATE `creature_template` SET `maxlevel`=20 WHERE `entry`=1732; -- Miner Johnson -UPDATE `creature_template` SET `faction`=14 WHERE `entry`=3586; \ No newline at end of file +UPDATE `creature_template` SET `faction`=14 WHERE `entry`=3586; diff --git a/sql/world/base/dungeon_uldaman.sql b/data/sql/world/base/dungeon_uldaman.sql similarity index 100% rename from sql/world/base/dungeon_uldaman.sql rename to data/sql/world/base/dungeon_uldaman.sql diff --git a/sql/world/base/dungeon_wailing_caverns.sql b/data/sql/world/base/dungeon_wailing_caverns.sql similarity index 97% rename from sql/world/base/dungeon_wailing_caverns.sql rename to data/sql/world/base/dungeon_wailing_caverns.sql index 5428f1a..6160403 100644 --- a/sql/world/base/dungeon_wailing_caverns.sql +++ b/data/sql/world/base/dungeon_wailing_caverns.sql @@ -32,4 +32,4 @@ UPDATE `creature_template` SET `maxlevel`=20 WHERE `entry`=5761; UPDATE `creature_template` SET `minlevel`=21, `maxlevel`=21 WHERE `entry`=5775; -- Deviate Faerie Dragon -UPDATE `creature_template` SET `minlevel`=20, `maxlevel`=20, `faction`=32 WHERE `entry`=5912; \ No newline at end of file +UPDATE `creature_template` SET `minlevel`=20, `maxlevel`=20, `faction`=32 WHERE `entry`=5912; diff --git a/sql/world/base/dungeon_zulaman.sql b/data/sql/world/base/dungeon_zulaman.sql similarity index 100% rename from sql/world/base/dungeon_zulaman.sql rename to data/sql/world/base/dungeon_zulaman.sql diff --git a/sql/world/base/dungeon_zulfarrak.sql b/data/sql/world/base/dungeon_zulfarrak.sql similarity index 100% rename from sql/world/base/dungeon_zulfarrak.sql rename to data/sql/world/base/dungeon_zulfarrak.sql diff --git a/sql/world/base/ipp_aware_npcs.sql b/data/sql/world/base/ipp_aware_npcs.sql similarity index 100% rename from sql/world/base/ipp_aware_npcs.sql rename to data/sql/world/base/ipp_aware_npcs.sql diff --git a/sql/world/base/item_enchantment_rates.sql b/data/sql/world/base/item_enchantment_rates.sql similarity index 100% rename from sql/world/base/item_enchantment_rates.sql rename to data/sql/world/base/item_enchantment_rates.sql diff --git a/sql/world/base/mana_costs.sql b/data/sql/world/base/mana_costs.sql similarity index 99% rename from sql/world/base/mana_costs.sql rename to data/sql/world/base/mana_costs.sql index 491f9bd..022de86 100644 --- a/sql/world/base/mana_costs.sql +++ b/data/sql/world/base/mana_costs.sql @@ -906,4 +906,4 @@ VALUES (53301, 1173, 0, 0, 67586, 0, 131072, 0, 0, 512, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 18, 0, 6000, 0, 0, 0, 0, 101, 0, 0, 60, 60, 39, 0, 0, 0, 0, 0, 114, 40, 75, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 262156, 0, 6, 0, 0, 29, 0, 0, 0, 0, 0, 143, 0, 0, 0, 0, 0, 6, 0, 0, 0, 0, 0, 0, 0, 0, 226, 0, 0, 1000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 11828, 0, 3407, 0, 0, 'Explosive Shot', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 16712190, 'Rank 1', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 16712190, 'You fire an explosive charge into the enemy target, dealing ${$RAP*0.14+$m1}-${$RAP*0.14+$M1} Fire damage. The charge will blast the target every second for an additional $d.', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 16712190, 'Taking Fire damage every second.', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 16712190, 10, 133, 1500, 0, 9, 0, 2147483648, 0, 0, 3, 2, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0, 0), (61295, 1228, 1, 0, 65536, 0, 0, 128, 0, 0, 67108864, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 6000, 15, 0, 0, 0, 101, 0, 69, 60, 60, 8, 0, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 10, 6, 0, 53, 1, 1, 0, 0, 0, 638, 132, 24, 0, 0, 0, 21, 21, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 3000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 12994, 0, 3786, 0, 0, 'Riptide', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 16712190, 'Rank 1', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 16712190, 'Heals a friendly target for $s1 and another $o2 over $d. Your next Chain Heal cast on that primary target within $d will consume the healing over time effect and increase the amount of the Chain Heal by $s3\\%.', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 16712190, 'Heals $s2 every $t2 seconds. Increases caster\'s Chain Heal by $s3\\%.', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 16712190, 21, 133, 1500, 0, 11, 0, 0, 16, 0, 1, 1, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0.402, 0.188, 0, 0, 0); -UPDATE spell_dbc SET ManaCostPct = 37 WHERE ID IN (8416,8417,25345,10211,10212,27075,5143,5144,5145); \ No newline at end of file +UPDATE spell_dbc SET ManaCostPct = 37 WHERE ID IN (8416,8417,25345,10211,10212,27075,5143,5144,5145); diff --git a/sql/world/base/mounts_and_riding.sql b/data/sql/world/base/mounts_and_riding.sql similarity index 100% rename from sql/world/base/mounts_and_riding.sql rename to data/sql/world/base/mounts_and_riding.sql diff --git a/sql/world/base/naxx40.sql b/data/sql/world/base/naxx40.sql similarity index 87% rename from sql/world/base/naxx40.sql rename to data/sql/world/base/naxx40.sql index c4fe183..266a8f4 100644 --- a/sql/world/base/naxx40.sql +++ b/data/sql/world/base/naxx40.sql @@ -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; diff --git a/sql/world/base/naxx40_archmage_tarsis.sql b/data/sql/world/base/naxx40_archmage_tarsis.sql similarity index 100% rename from sql/world/base/naxx40_archmage_tarsis.sql rename to data/sql/world/base/naxx40_archmage_tarsis.sql diff --git a/sql/world/base/naxx40_creatures.sql b/data/sql/world/base/naxx40_creatures.sql similarity index 100% rename from sql/world/base/naxx40_creatures.sql rename to data/sql/world/base/naxx40_creatures.sql diff --git a/sql/world/base/naxx40_frozen_runes.sql b/data/sql/world/base/naxx40_frozen_runes.sql similarity index 100% rename from sql/world/base/naxx40_frozen_runes.sql rename to data/sql/world/base/naxx40_frozen_runes.sql diff --git a/sql/world/base/naxx40_gameobjects.sql b/data/sql/world/base/naxx40_gameobjects.sql similarity index 100% rename from sql/world/base/naxx40_gameobjects.sql rename to data/sql/world/base/naxx40_gameobjects.sql diff --git a/sql/world/base/naxx40_omarion.sql b/data/sql/world/base/naxx40_omarion.sql similarity index 100% rename from sql/world/base/naxx40_omarion.sql rename to data/sql/world/base/naxx40_omarion.sql diff --git a/sql/world/base/naxx40_quests.sql b/data/sql/world/base/naxx40_quests.sql similarity index 100% rename from sql/world/base/naxx40_quests.sql rename to data/sql/world/base/naxx40_quests.sql diff --git a/sql/world/base/naxx40_spells.sql b/data/sql/world/base/naxx40_spells.sql similarity index 100% rename from sql/world/base/naxx40_spells.sql rename to data/sql/world/base/naxx40_spells.sql diff --git a/sql/world/base/player_levelstats.sql b/data/sql/world/base/player_levelstats.sql similarity index 100% rename from sql/world/base/player_levelstats.sql rename to data/sql/world/base/player_levelstats.sql diff --git a/sql/world/base/player_progression.sql b/data/sql/world/base/player_progression.sql similarity index 100% rename from sql/world/base/player_progression.sql rename to data/sql/world/base/player_progression.sql diff --git a/sql/world/base/starting_gear.sql b/data/sql/world/base/player_starting_gear.sql similarity index 100% rename from sql/world/base/starting_gear.sql rename to data/sql/world/base/player_starting_gear.sql diff --git a/sql/world/base/starting_skillbars.sql b/data/sql/world/base/player_starting_skillbars.sql similarity index 100% rename from sql/world/base/starting_skillbars.sql rename to data/sql/world/base/player_starting_skillbars.sql diff --git a/sql/world/base/weapon_skills.sql b/data/sql/world/base/player_starting_weapon_skills.sql similarity index 100% rename from sql/world/base/weapon_skills.sql rename to data/sql/world/base/player_starting_weapon_skills.sql diff --git a/sql/world/base/professions.sql b/data/sql/world/base/professions.sql similarity index 100% rename from sql/world/base/professions.sql rename to data/sql/world/base/professions.sql diff --git a/sql/world/base/pvp_brackets.sql b/data/sql/world/base/pvp_brackets.sql similarity index 100% rename from sql/world/base/pvp_brackets.sql rename to data/sql/world/base/pvp_brackets.sql diff --git a/sql/world/base/quest_missing_diplomat.sql b/data/sql/world/base/quest_missing_diplomat.sql similarity index 100% rename from sql/world/base/quest_missing_diplomat.sql rename to data/sql/world/base/quest_missing_diplomat.sql diff --git a/sql/world/base/quest_the_masquerade.sql b/data/sql/world/base/quest_the_masquerade.sql similarity index 100% rename from sql/world/base/quest_the_masquerade.sql rename to data/sql/world/base/quest_the_masquerade.sql diff --git a/sql/world/base/quest_xp_table.sql b/data/sql/world/base/quest_xp_table.sql similarity index 100% rename from sql/world/base/quest_xp_table.sql rename to data/sql/world/base/quest_xp_table.sql diff --git a/sql/world/base/restore_achievements.sql b/data/sql/world/base/restore_achievements.sql similarity index 95% rename from sql/world/base/restore_achievements.sql rename to data/sql/world/base/restore_achievements.sql index b9cb095..90b065b 100644 --- a/sql/world/base/restore_achievements.sql +++ b/data/sql/world/base/restore_achievements.sql @@ -2,4 +2,4 @@ DELETE FROM `achievement_reward` WHERE `ID` in (2138, 2137); INSERT INTO `achievement_reward` (`ID`, `TitleA`, `TitleH`, `ItemID`, `Sender`, `Subject`, `Body`, `MailTemplateID`) VALUES (2138, 0, 0, 44164, 26917, 'Glory of the Raider', 'Champion,$B$BWord has traveled to Wyrmrest Temple of the great deeds you have accomplished since arriving in Northrend.$B$BYour bravery should not go unrecognized. Please accept this gift on behalf of the Aspects. Together we shall rid Azeroth of evil, once and for eternity.$B$BAlexstrasza the Life-Binder', 0), -(2137, 0, 0, 44175, 26917, 'Glory of the Raider', 'Champion,$B$BWord has traveled to Wyrmrest Temple of the great deeds you have accomplished since arriving in Northrend.$B$BYour bravery should not go unrecognized. Please accept this gift on behalf of the Aspects. Together we shall rid Azeroth of evil, once and for eternity.$B$BAlexstrasza the Life-Binder', 0); \ No newline at end of file +(2137, 0, 0, 44175, 26917, 'Glory of the Raider', 'Champion,$B$BWord has traveled to Wyrmrest Temple of the great deeds you have accomplished since arriving in Northrend.$B$BYour bravery should not go unrecognized. Please accept this gift on behalf of the Aspects. Together we shall rid Azeroth of evil, once and for eternity.$B$BAlexstrasza the Life-Binder', 0); diff --git a/sql/world/base/si.sql b/data/sql/world/base/si.sql similarity index 100% rename from sql/world/base/si.sql rename to data/sql/world/base/si.sql diff --git a/sql/world/base/si_creatures.sql b/data/sql/world/base/si_creatures.sql similarity index 100% rename from sql/world/base/si_creatures.sql rename to data/sql/world/base/si_creatures.sql diff --git a/sql/world/base/si_gameobjects.sql b/data/sql/world/base/si_gameobjects.sql similarity index 100% rename from sql/world/base/si_gameobjects.sql rename to data/sql/world/base/si_gameobjects.sql diff --git a/sql/world/base/spell_restorations.sql b/data/sql/world/base/spell_restorations.sql similarity index 100% rename from sql/world/base/spell_restorations.sql rename to data/sql/world/base/spell_restorations.sql diff --git a/sql/world/base/tbc_badges.sql b/data/sql/world/base/tbc_badges.sql similarity index 100% rename from sql/world/base/tbc_badges.sql rename to data/sql/world/base/tbc_badges.sql diff --git a/sql/world/base/tbc_creatures.sql b/data/sql/world/base/tbc_creatures.sql similarity index 100% rename from sql/world/base/tbc_creatures.sql rename to data/sql/world/base/tbc_creatures.sql diff --git a/sql/world/base/tbc_item_changes.sql b/data/sql/world/base/tbc_item_changes.sql similarity index 100% rename from sql/world/base/tbc_item_changes.sql rename to data/sql/world/base/tbc_item_changes.sql diff --git a/sql/world/base/vanilla_creature_reputations.sql b/data/sql/world/base/vanilla_creature_reputations.sql similarity index 100% rename from sql/world/base/vanilla_creature_reputations.sql rename to data/sql/world/base/vanilla_creature_reputations.sql diff --git a/sql/world/base/vanilla_creatures.sql b/data/sql/world/base/vanilla_creatures.sql similarity index 100% rename from sql/world/base/vanilla_creatures.sql rename to data/sql/world/base/vanilla_creatures.sql diff --git a/sql/world/base/vanilla_item_changes.sql b/data/sql/world/base/vanilla_item_changes.sql similarity index 100% rename from sql/world/base/vanilla_item_changes.sql rename to data/sql/world/base/vanilla_item_changes.sql diff --git a/sql/world/base/vanilla_mechanic_immunity.sql b/data/sql/world/base/vanilla_mechanic_immunity.sql similarity index 100% rename from sql/world/base/vanilla_mechanic_immunity.sql rename to data/sql/world/base/vanilla_mechanic_immunity.sql diff --git a/data/sql/world/base/vanilla_pooled_treasure_chests.sql b/data/sql/world/base/vanilla_pooled_treasure_chests.sql new file mode 100644 index 0000000..0d00ece --- /dev/null +++ b/data/sql/world/base/vanilla_pooled_treasure_chests.sql @@ -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'); diff --git a/sql/world/base/vanilla_quest_levels.sql b/data/sql/world/base/vanilla_quest_levels.sql similarity index 100% rename from sql/world/base/vanilla_quest_levels.sql rename to data/sql/world/base/vanilla_quest_levels.sql diff --git a/sql/world/base/vanilla_quest_reputations.sql b/data/sql/world/base/vanilla_quest_reputations.sql similarity index 100% rename from sql/world/base/vanilla_quest_reputations.sql rename to data/sql/world/base/vanilla_quest_reputations.sql diff --git a/sql/world/base/vanilla_skinning_adjustments.sql b/data/sql/world/base/vanilla_skinning_adjustments.sql similarity index 100% rename from sql/world/base/vanilla_skinning_adjustments.sql rename to data/sql/world/base/vanilla_skinning_adjustments.sql diff --git a/sql/world/base/vanilla_spell_school_immunity.sql b/data/sql/world/base/vanilla_spell_school_immunity.sql similarity index 100% rename from sql/world/base/vanilla_spell_school_immunity.sql rename to data/sql/world/base/vanilla_spell_school_immunity.sql diff --git a/sql/world/base/vanilla_spell_school_resistances.sql b/data/sql/world/base/vanilla_spell_school_resistances.sql similarity index 100% rename from sql/world/base/vanilla_spell_school_resistances.sql rename to data/sql/world/base/vanilla_spell_school_resistances.sql diff --git a/sql/world/base/vanilla_vendors.sql b/data/sql/world/base/vanilla_vendors.sql similarity index 100% rename from sql/world/base/vanilla_vendors.sql rename to data/sql/world/base/vanilla_vendors.sql diff --git a/sql/world/base/vanilla_world_level_adjustments.sql b/data/sql/world/base/vanilla_world_level_adjustments.sql similarity index 100% rename from sql/world/base/vanilla_world_level_adjustments.sql rename to data/sql/world/base/vanilla_world_level_adjustments.sql diff --git a/sql/world/base/vanilla_xp_tables.sql b/data/sql/world/base/vanilla_xp_tables.sql similarity index 100% rename from sql/world/base/vanilla_xp_tables.sql rename to data/sql/world/base/vanilla_xp_tables.sql diff --git a/sql/world/base/warlock_pet_stats.sql b/data/sql/world/base/warlock_pet_stats.sql similarity index 100% rename from sql/world/base/warlock_pet_stats.sql rename to data/sql/world/base/warlock_pet_stats.sql diff --git a/sql/world/base/wotlk_archmage_timear.sql b/data/sql/world/base/wotlk_archmage_timear.sql similarity index 100% rename from sql/world/base/wotlk_archmage_timear.sql rename to data/sql/world/base/wotlk_archmage_timear.sql diff --git a/sql/world/base/wotlk_emblems.sql b/data/sql/world/base/wotlk_emblems.sql similarity index 100% rename from sql/world/base/wotlk_emblems.sql rename to data/sql/world/base/wotlk_emblems.sql diff --git a/sql/world/base/wotlk_vendors.sql b/data/sql/world/base/wotlk_vendors.sql similarity index 100% rename from sql/world/base/wotlk_vendors.sql rename to data/sql/world/base/wotlk_vendors.sql diff --git a/sql/world/base/zone_alterac_mountains.sql b/data/sql/world/base/zone_alterac_mountains.sql similarity index 94% rename from sql/world/base/zone_alterac_mountains.sql rename to data/sql/world/base/zone_alterac_mountains.sql index 41951d1..e75deda 100644 --- a/sql/world/base/zone_alterac_mountains.sql +++ b/data/sql/world/base/zone_alterac_mountains.sql @@ -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'); diff --git a/sql/world/base/zone_alterac_valley.sql b/data/sql/world/base/zone_alterac_valley.sql similarity index 100% rename from sql/world/base/zone_alterac_valley.sql rename to data/sql/world/base/zone_alterac_valley.sql diff --git a/sql/world/base/zone_arathi_highlands.sql b/data/sql/world/base/zone_arathi_highlands.sql similarity index 100% rename from sql/world/base/zone_arathi_highlands.sql rename to data/sql/world/base/zone_arathi_highlands.sql diff --git a/sql/world/base/zone_ashenvale.sql b/data/sql/world/base/zone_ashenvale.sql similarity index 100% rename from sql/world/base/zone_ashenvale.sql rename to data/sql/world/base/zone_ashenvale.sql diff --git a/sql/world/base/zone_azshara.sql b/data/sql/world/base/zone_azshara.sql similarity index 100% rename from sql/world/base/zone_azshara.sql rename to data/sql/world/base/zone_azshara.sql diff --git a/data/sql/world/base/zone_azuremyst_isle.sql b/data/sql/world/base/zone_azuremyst_isle.sql new file mode 100644 index 0000000..a11f192 --- /dev/null +++ b/data/sql/world/base/zone_azuremyst_isle.sql @@ -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 diff --git a/sql/world/base/zone_badlands.sql b/data/sql/world/base/zone_badlands.sql similarity index 100% rename from sql/world/base/zone_badlands.sql rename to data/sql/world/base/zone_badlands.sql diff --git a/sql/world/base/zone_barrens.sql b/data/sql/world/base/zone_barrens.sql similarity index 100% rename from sql/world/base/zone_barrens.sql rename to data/sql/world/base/zone_barrens.sql diff --git a/sql/world/base/zone_blasted_lands.sql b/data/sql/world/base/zone_blasted_lands.sql similarity index 100% rename from sql/world/base/zone_blasted_lands.sql rename to data/sql/world/base/zone_blasted_lands.sql diff --git a/sql/world/base/zone_darkshore.sql b/data/sql/world/base/zone_darkshore.sql similarity index 100% rename from sql/world/base/zone_darkshore.sql rename to data/sql/world/base/zone_darkshore.sql diff --git a/sql/world/base/zone_darnassus.sql b/data/sql/world/base/zone_darnassus.sql similarity index 100% rename from sql/world/base/zone_darnassus.sql rename to data/sql/world/base/zone_darnassus.sql diff --git a/sql/world/base/zone_deadwind_pass.sql b/data/sql/world/base/zone_deadwind_pass.sql similarity index 100% rename from sql/world/base/zone_deadwind_pass.sql rename to data/sql/world/base/zone_deadwind_pass.sql diff --git a/sql/world/base/zone_desolace.sql b/data/sql/world/base/zone_desolace.sql similarity index 100% rename from sql/world/base/zone_desolace.sql rename to data/sql/world/base/zone_desolace.sql diff --git a/data/sql/world/base/zone_dun_morogh.sql b/data/sql/world/base/zone_dun_morogh.sql new file mode 100644 index 0000000..49af4a9 --- /dev/null +++ b/data/sql/world/base/zone_dun_morogh.sql @@ -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 +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 diff --git a/data/sql/world/base/zone_durotar.sql b/data/sql/world/base/zone_durotar.sql new file mode 100644 index 0000000..c5c9563 --- /dev/null +++ b/data/sql/world/base/zone_durotar.sql @@ -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 +(3175, -390000), -- Krunn +(3184, -300000), -- Miao'zan +(3185, -370000), -- Mishiki +(5943, -350000), -- Rawrk +(7953, -450000), -- Xar'Ti +(11025, -340000); -- Mukdrak + +DELETE FROM `npc_vendor` WHERE `entry` = 3167 AND `item` IN (20815, 20824); -- Wuark +DELETE FROM `npc_vendor` WHERE `entry` = 3168 AND `item` IN (30817); -- Flakk +DELETE FROM `npc_vendor` WHERE `entry` = 3187 AND `item` IN (30817); -- Tai'tasi +DELETE FROM `npc_vendor` WHERE `entry` = 5942 AND `item` IN (6365, 6533); -- Zansoa + + +/* 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 +); diff --git a/sql/world/base/zone_duskwood.sql b/data/sql/world/base/zone_duskwood.sql similarity index 100% rename from sql/world/base/zone_duskwood.sql rename to data/sql/world/base/zone_duskwood.sql diff --git a/sql/world/base/zone_dustwallow_marsh.sql b/data/sql/world/base/zone_dustwallow_marsh.sql similarity index 100% rename from sql/world/base/zone_dustwallow_marsh.sql rename to data/sql/world/base/zone_dustwallow_marsh.sql diff --git a/sql/world/base/zone_eastern_plaguelands.sql b/data/sql/world/base/zone_eastern_plaguelands.sql similarity index 100% rename from sql/world/base/zone_eastern_plaguelands.sql rename to data/sql/world/base/zone_eastern_plaguelands.sql diff --git a/data/sql/world/base/zone_elwynn_forest.sql b/data/sql/world/base/zone_elwynn_forest.sql new file mode 100644 index 0000000..e749fb5 --- /dev/null +++ b/data/sql/world/base/zone_elwynn_forest.sql @@ -0,0 +1,177 @@ +/* smart scripts */ +UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` IN +(94); +DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryorguid` IN +(94); + +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, +`event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param6`, +`action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, +`target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(94, 0, 0, 0, 67, 0, 100, 0, 1000, 1000, 2000, 7000, 0, 5, 11, 53, 2, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Defias Cutpurse - Behind Target - Cast Backstab'); + + +-- Kitta Firewind +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 15 AND `SourceGroup` = 4169 AND `SourceEntry` = 0 AND `ConditionTypeOrReference` = 7; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `ConditionTypeOrReference`, `ConditionValue1`, `ConditionValue2`, `Comment`) VALUES +(15, 4169, 0, 7, 333, 125, 'Show menu if enchanting is 125 or higher'); + +-- The Stolen Tome (Warlock) +DELETE FROM `creature_questender` WHERE `id` = 459 AND `quest` = 1598; +INSERT INTO `creature_questender` (`id`, `quest`) VALUES (459, 1598); + +-- The Stolen Tome (Warlock) +DELETE FROM `creature_queststarter` WHERE `id` = 459 AND `quest` = 1598; +INSERT INTO `creature_queststarter` (`id`, `quest`) VALUES (459, 1598); + +-- update creature factions +UPDATE `creature_template` SET `faction` = 17 WHERE `entry` = 38; -- Defias Thug +UPDATE `creature_template` SET `faction` = 17 WHERE `entry` = 103; -- Garrick Padfoot + +-- update creature models +UPDATE `creature_template_model` SET `CreatureDisplayID` = 604 WHERE `CreatureID` = 69; -- Diseased Timber Wolf +UPDATE `creature_template_model` SET `CreatureDisplayID` = 10912 WHERE `CreatureID` = 257; -- Kobold Worker +UPDATE `creature_template_model` SET `CreatureDisplayID` = 447 WHERE `CreatureID` = 299; -- Diseased Young Wolf + +-- update creature names +UPDATE `creature_template` SET `name` = 'Timber Wolf' WHERE `entry` = 69; -- Diseased Timber Wolf +UPDATE `creature_template` SET `name` = 'Young Wolf' WHERE `entry` = 299; -- Diseased Young Wolf +UPDATE `creature_template` SET `subname` = 'Journeyman Blacksmith' WHERE `entry` = 514; -- Smith Argus +UPDATE `creature_template` SET `subname` = 'Journeyman Tailor' WHERE `entry` = 1103; -- Eldrin +UPDATE `creature_template` SET `subname` = 'Journeyman Alchemist' WHERE `entry` = 1215; -- Alchemist Mallory +UPDATE `creature_template` SET `subname` = 'Journeyman Leatherworker' WHERE `entry` = 1632; -- Adele Fielder +UPDATE `creature_template` SET `subname` = 'Fisherman' WHERE `entry` = 1651; -- Lee Brown +UPDATE `creature_template` SET `subname` = 'Tabard Vendor' WHERE `entry` = 5193; -- Rebecca Laughlin +UPDATE `creature_template` SET `subname` = 'Expert Alchemist' WHERE `entry` = 5499; -- Lilyssia Nightbreeze +UPDATE `creature_template` SET `subname` = 'Herbalism Supplier' WHERE `entry` = 5503; -- Eldraeith +UPDATE `creature_template` SET `subname` = 'Expert Blacksmith' WHERE `entry` = 5511; -- Therum Deepforge +UPDATE `creature_template` SET `subname` = 'Expert Engineer' WHERE `entry` = 5518; -- Lilliam Sparkspindle +UPDATE `creature_template` SET `subname` = 'Expert Leatherworker' WHERE `entry` = 5564; -- Simon Tanner +UPDATE `creature_template` SET `subname` = 'Skinner' WHERE `entry` = 6306; -- Helene Peltskinner +UPDATE `creature_template` SET `subname` = 'Journeyman Alchemist', `npcflag` = 81, `trainer_type` = 2 WHERE `entry` = 5500; -- Tel'Athir +UPDATE `creature_template` SET `subname` = 'Expert Tailor', `npcflag` = 81, `trainer_type` = 2 WHERE `entry` = 5567; -- Sellandus +-- update creature levels +UPDATE `creature_template` SET `maxlevel` = 4 WHERE `entry` = 80; -- Kobold Laborer +UPDATE `creature_template` SET `minlevel` = 55, `maxlevel` = 55 WHERE `entry` = 1642; -- Northshire Guard + +DELETE FROM `creature_template_addon` WHERE `entry` = 69; -- Diseased Timber Wolf +DELETE FROM `creature_template_addon` WHERE `entry` = 299; -- Diseased Young Wolf + +-- Kitta Firewind +DELETE FROM `gossip_menu_option` WHERE `MenuID` = 4169; +INSERT INTO `gossip_menu_option` (`MenuID`, `OptionID`, `OptionIcon`, `OptionText`, `OptionBroadcastTextID`, `OptionType`, `OptionNpcFlag`) VALUES (4169, 0, 3, 'Train me.', 3266, 5, 16); + +DELETE FROM `npc_trainer` WHERE `ID` IN (514, 1103, 1215, 1632, 1651, 2329, 4732, 11072); +INSERT INTO `npc_trainer` (`ID`, `SpellID`) VALUES +(514, -310000), -- Smith Argus +(1103, -410000), -- Eldrin +(1215, -300000), -- Alchemist Mallory +(1632, -380000), -- Adele Fielder +(1651, -360000), -- Lee Brown +(2329, -350000), -- Michelle Belle +(4732, -450000), -- Randal Hunter +(11072, -330000), -- Kitta Firewind +(11072, -330001), +(11072, -330002); + +-- Antonio Perelli +DELETE FROM `npc_vendor` WHERE `entry` = 844 AND `item` = 40411; + +-- Dawn Brightstar +DELETE FROM `npc_vendor` WHERE `entry` = 958 AND `item` IN (22147, 22148, 37201, 40411); + +-- Wolves Across the Border +DELETE FROM `quest_offer_reward` WHERE `ID` = 33; +INSERT INTO `quest_offer_reward` (`ID`, `Emote1`, `RewardText`) VALUES (33, 1, 'You\'ve been busy! I can\'t wait to cook up that wolf meat...$b$bI have some things here you might want - take your pick!'); + +-- Wolves Across the Border +DELETE FROM `quest_request_items` WHERE `ID` = 33; +INSERT INTO `quest_request_items` (`ID`, `EmoteOnComplete`, `EmoteOnIncomplete`, `CompletionText`) VALUES (33, 6, 6, 'Hey $N. I\'m getting hungry...did you get that tough wolf meat?'); + +-- Bounty on Garrick Padfoot +UPDATE `quest_template` SET `Flags` = 8 WHERE `ID` = 6; + +-- Kobold Camp Cleanup +UPDATE `quest_template` SET `Flags`=8, `LogDescription`='Kill 10 Kobold Vermin, then return to Marshal McBride.', `RequiredNpcOrGoCount1` = 10 WHERE `ID` = 7; + +-- Investigate Echo Ridge +UPDATE `quest_template` SET `Flags` = 8, +`LogDescription` = 'Kill 10 Kobold Workers, then report back to Marshal McBride.', +`QuestDescription`='$N, my scouts tell me that the kobold infestation is larger than we had thought. A group of kobold workers has camped near the Echo Ridge Mine to the north.$B$B +Go to the mine and remove them. We know there are at least 10. Kill them, see if there are more, then report back to me.', `RequiredNpcOrGoCount1` = 10 WHERE `ID` = 15; + +-- Brotherhood of Thieves +UPDATE `quest_template` SET `Flags` = 8, `LogDescription` = 'Bring 12 Red Burlap Bandanas to Deputy Willem outside the Northshire Abbey.', `RequiredItemCount1` = 12 WHERE `ID` = 18; + +-- Skirmish at Echo Ridge +UPDATE `quest_template` SET `Flags` = 8, `LogDescription` = 'Kill 12 Kobold Laborers, then return to Marshal McBride at Northshire Abbey.', `RequiredNpcOrGoCount1` = 12 WHERE `ID` = 21; + +-- Wolves Across the Border +UPDATE `quest_template` SET `Flags` = 8, +`LogDescription` = 'Bring 8 pieces of Tough Wolf Meat to Eagan Peltskinner outside Northshire Abbey.', +`QuestDescription` = 'I hate those nasty timber wolves! But I sure like eating wolf steaks... Bring me tough wolf meat and I will exchange it for something you\'ll find useful.$B$B +Tough wolf meat is gathered from hunting the timber wolves and young wolves wandering the Northshire countryside.', `RequiredItemId1` = 750 WHERE `ID` = 33; + +UPDATE `quest_template` SET `Flags`=0 WHERE `ID`=54; -- Report to Goldshire +UPDATE `quest_template` SET `Flags`=8 WHERE `ID`=783; -- A Threat Within +UPDATE `quest_template` SET `Flags`=8 WHERE `ID`=2158; -- Rest and Relaxation +UPDATE `quest_template` SET `Flags`=0 WHERE `ID`=3102; -- Encrypted Letter +UPDATE `quest_template` SET `Flags`=8 WHERE `ID`=3903; -- Milly Osworth +UPDATE `quest_template` SET `Flags`=8 WHERE `ID`=3904; -- Milly's Harvest +UPDATE `quest_template` SET `Flags`=0 WHERE `ID`=3905; -- Grape Manifest + +-- Eagan Peltskinner +UPDATE `quest_template` SET `QuestDescription` = +'Eagan Peltskinner is looking for someone to hunt wolves for him. That\'s good news, because we\'re seeing a lot more wolves in Northshire Valley lately.$B$B +If you\'re interested then speak with Eagan. He\'s around the side of the abbey, to the left.' WHERE `ID`=5261; + + +UPDATE `quest_template_addon` SET `SpecialFlags` = 0 WHERE `ID` IN ( +6, -- Bounty on Garrick Padfoot +7, -- Kobold Camp Cleanup +15, -- Investigate Echo Ridge +18, -- Brotherhood of Thieves +21, -- Skirmish at Echo Ridge +33, -- Wolves Across the Border +54, -- Report to Goldshire +783, -- A Threat Within +2158, -- Rest and Relaxation +3100, -- Simple Letter +3101, -- Consecrated Letter +3102, -- Encrypted Letter +3103, -- Hallowed Letter +3104, -- Glyphic Letter +3105, -- Tainted Letter +3903, -- Milly Osworth +3904, -- Milly's Harvest +3905, -- Grape Manifest +5261 -- Eagan Peltskinner +); + +DELETE FROM `creature_loot_template` WHERE `Item` = 750 AND `Entry` IN (69, 299); +INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Chance`, `QuestRequired`, `MinCount`, `MaxCount`, `Comment`) VALUES +(69, 750, 80, 1, 1, 1, 'Timber Wolf - Tough Wolf Meat'), +(299, 750, 80, 1, 1, 1, 'Young Wolf - Tough Wolf Meat'); + +DELETE FROM `creature_questitem` WHERE `CreatureEntry` IN (69, 299); +INSERT INTO `creature_questitem` (`CreatureEntry`, `Idx`, `ItemId`, `VerifiedBuild`) VALUES +(69, 0, 750, 0), +(299, 0, 750, 0); + +-- Restore Mirror Lake Orchard creatures removed in WotLK +DELETE FROM `creature` WHERE `guid` IN (80391, 80392, 80393, 80394, 80396, 80397, 80399, 80400, 80401, 80402, 80403, 80404, 80405) AND `id1` IN (116, 94); +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 +(80391, 116, 0, 0, 0, 0, 0, 1, 1, 1, -9441.48, 469.81, 53.2758, 4.26422, 180, 5, 0, 156, 0, 1, 0, 0, 0, '', 0), +(80392, 116, 0, 0, 0, 0, 0, 1, 1, 1, -9444.94, 473.775, 52.3257, 4.03171, 180, 5, 0, 156, 0, 1, 0, 0, 0, '', 0), +(80393, 116, 0, 0, 0, 0, 0, 1, 1, 1, -9437.72, 486.039, 53.3307, 5.58505, 180, 5, 0, 156, 0, 1, 0, 0, 0, '', 0), +(80394, 116, 0, 0, 0, 0, 0, 1, 1, 1, -9433.15, 482.528, 53.2474, 2.53073, 180, 5, 0, 156, 0, 1, 0, 0, 0, '', 0), +(80396, 94, 0, 0, 0, 0, 0, 1, 1, 1, -9464.65, 480.308, 53.0385, 3.48143, 180, 5, 0, 102, 0, 1, 0, 0, 0, '', 0), +(80397, 94, 0, 0, 0, 0, 0, 1, 1, 1, -9453.23, 512.811, 56.3243, 6.18203, 180, 5, 0, 102, 0, 1, 0, 0, 0, '', 0), +(80399, 116, 0, 0, 0, 0, 0, 1, 1, 1, -9447.86, 462.158, 52.2864, 4.2586, 180, 5, 0, 156, 0, 1, 0, 0, 0, '', 0), +(80400, 94, 0, 0, 0, 0, 0, 1, 1, 1, -9495.64, 457.065, 52.3032, 2.96413, 180, 5, 0, 102, 0, 1, 0, 0, 0, '', 0), +(80401, 94, 0, 0, 0, 0, 0, 1, 1, 1, -9479.78, 470.421, 51.6672, 5.18983, 180, 5, 0, 102, 0, 1, 0, 0, 0, '', 0), +(80402, 94, 0, 0, 0, 0, 0, 1, 1, 1, -9459.9, 426.179, 52.6221, 3.6223, 180, 5, 0, 102, 0, 1, 0, 0, 0, '', 0), +(80403, 116, 0, 0, 0, 0, 0, 1, 1, 1, -9441.33, 447.532, 52.5032, 3.9619, 180, 5, 0, 156, 0, 1, 0, 0, 0, '', 0), +(80404, 116, 0, 0, 0, 0, 0, 1, 1, 1, -9445.96, 451.56, 52.6251, 1.93731, 180, 5, 0, 156, 0, 1, 0, 0, 0, '', 0), +(80405, 94, 0, 0, 0, 0, 0, 1, 1, 1, -9517.96, 494.378, 52.2181, 5.29769, 180, 5, 0, 102, 0, 1, 0, 0, 0, '', 0); diff --git a/sql/world/base/zone_eversong_woods.sql b/data/sql/world/base/zone_eversong_woods.sql similarity index 60% rename from sql/world/base/zone_eversong_woods.sql rename to data/sql/world/base/zone_eversong_woods.sql index 4f48210..346858e 100644 --- a/sql/world/base/zone_eversong_woods.sql +++ b/data/sql/world/base/zone_eversong_woods.sql @@ -1,3 +1,9 @@ +UPDATE `creature_template` SET `faction` = 16 WHERE `entry` = 15271; -- Tender +UPDATE `creature_template` SET `faction` = 16 WHERE `entry` = 15273; -- Arcane Wraith +UPDATE `creature_template` SET `faction` = 16 WHERE `entry` = 15294; -- Feral Tender +UPDATE `creature_template` SET `faction` = 16 WHERE `entry` = 15298; -- Tainted Arcane Wraith +UPDATE `creature_template` SET `faction` = 14 WHERE `entry` = 15367; -- Felendren the Banished + -- Windows to the Source (Warlock) DELETE FROM `creature_questender` WHERE `id`=15283 AND `quest`=8344; INSERT INTO `creature_questender` (`id`, `quest`) VALUES (15283, 8344); diff --git a/sql/world/base/zone_felwood.sql b/data/sql/world/base/zone_felwood.sql similarity index 100% rename from sql/world/base/zone_felwood.sql rename to data/sql/world/base/zone_felwood.sql diff --git a/sql/world/base/zone_feralas.sql b/data/sql/world/base/zone_feralas.sql similarity index 100% rename from sql/world/base/zone_feralas.sql rename to data/sql/world/base/zone_feralas.sql diff --git a/sql/world/base/zone_hellfire_peninsula.sql b/data/sql/world/base/zone_hellfire_peninsula.sql similarity index 100% rename from sql/world/base/zone_hellfire_peninsula.sql rename to data/sql/world/base/zone_hellfire_peninsula.sql diff --git a/sql/world/base/zone_hillsbrad_foothills.sql b/data/sql/world/base/zone_hillsbrad_foothills.sql similarity index 96% rename from sql/world/base/zone_hillsbrad_foothills.sql rename to data/sql/world/base/zone_hillsbrad_foothills.sql index 827dc74..c8b2928 100644 --- a/sql/world/base/zone_hillsbrad_foothills.sql +++ b/data/sql/world/base/zone_hillsbrad_foothills.sql @@ -1,3 +1,20 @@ +-- smart scripts +UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` IN (7073, 607069, 607071, 607072, 607075); +DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryorguid` IN (7073, 607069, 607071, 607072, 607075); +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, +`event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param6`, +`action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, +`target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES + +(7073, 0, 0, 0, 14, 0, 100, 0, 3000, 30, 10000, 12000, 0, 0, 11, 15493, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Arados the Damned - Friendly Missing Health - Cast Holy Light'), +(7073, 0, 1, 0, 2, 0, 100, 1, 0, 30, 0, 0, 0, 0, 11, 13874, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Arados the Damned - Between 0-30% Health - Cast Divine Shield'), +(607069, 0, 1, 0, 105, 0, 100, 0, 13000, 15000, 13000, 15000, 0, 5, 11, 11978, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Condemned Monk - Target Casting - Cast Kick'), +(607069, 0, 0, 0, 9, 0, 100, 0, 5000, 8000, 7000, 10000, 0, 5, 11, 12555, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Condemned Monk - Within 0-5 Range - Cast Pummel'), +(607071, 0, 0, 0, 9, 0, 100, 0, 0, 0, 14000, 18000, 0, 8, 11, 13005, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Cursed Paladin - Within 0-8 Range - Cast Hammer of Justice'), +(607072, 0, 0, 0, 9, 0, 100, 0, 5000, 8000, 7000, 10000, 0, 5, 11, 11976, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Cursed Justicar - Within 0-5 Range - Cast Strike'), +(607075, 0, 0, 0, 2, 0, 100, 1, 0, 15, 0, 0, 0, 0, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Writhing Mage - Between 0-15% Health - Flee For Assist (No Repeat)'); + + -- Drop chance for Humbert's Sword was incorrectly set to 100 - updated to 25 - value copied from VMangos UPDATE `creature_loot_template` SET `Chance` = 25 WHERE `Item` = 3693; @@ -12,18 +29,6 @@ INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `Q -- Souvenirs of Death - this quests was missing a pre quest UPDATE `quest_template_addon` SET `PrevQuestID` = 527 WHERE `ID` = 546; --- Pooled Treasure Chests -DELETE FROM `pool_template` WHERE `entry` IN (66004); -INSERT INTO `pool_template` (`entry`,`max_limit`,`description`) VALUES -(66004, 1, 'Treasures - Hillsbrad Foothills'); - -UPDATE `gameobject` SET `spawntimesecs` = 900 WHERE`guid` IN (20885, 30036, 85804); - -DELETE FROM `pool_gameobject` WHERE`guid` IN (20885, 30036, 85804); -INSERT INTO `pool_gameobject` (`guid`, `pool_entry`, `chance`, `description`) VALUES -(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'); -- Purgation Isle (896) DELETE FROM `creature_template` WHERE `entry` IN (607068, 607069, 607070, 607071, 607072, 607075); @@ -199,20 +204,3 @@ SET @IPPPHASE_II := 131072; UPDATE `creature` SET `phaseMask` = @IPPPHASE_II WHERE `id1` IN (7068, 7069, 7070, 7071, 7072, 7075); UPDATE `creature` SET `phaseMask` = @IPPPHASE WHERE `id1` IN (607068, 607069, 607070, 607071, 607072, 7073, 7074, 607075); - - --- smart scripts -UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` IN (7073, 607069, 607071, 607072, 607075); -DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryorguid` IN (7073, 607069, 607071, 607072, 607075); -INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, -`event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param6`, -`action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, -`target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES - -(7073, 0, 0, 0, 14, 0, 100, 0, 3000, 30, 10000, 12000, 0, 0, 11, 15493, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Arados the Damned - Friendly Missing Health - Cast Holy Light'), -(7073, 0, 1, 0, 2, 0, 100, 1, 0, 30, 0, 0, 0, 0, 11, 13874, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Arados the Damned - Between 0-30% Health - Cast Divine Shield'), -(607069, 0, 1, 0, 105, 0, 100, 0, 13000, 15000, 13000, 15000, 0, 5, 11, 11978, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Condemned Monk - Target Casting - Cast Kick'), -(607069, 0, 0, 0, 9, 0, 100, 0, 5000, 8000, 7000, 10000, 0, 5, 11, 12555, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Condemned Monk - Within 0-5 Range - Cast Pummel'), -(607071, 0, 0, 0, 9, 0, 100, 0, 0, 0, 14000, 18000, 0, 8, 11, 13005, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Cursed Paladin - Within 0-8 Range - Cast Hammer of Justice'), -(607072, 0, 0, 0, 9, 0, 100, 0, 5000, 8000, 7000, 10000, 0, 5, 11, 11976, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Cursed Justicar - Within 0-5 Range - Cast Strike'), -(607075, 0, 0, 0, 2, 0, 100, 1, 0, 15, 0, 0, 0, 0, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Writhing Mage - Between 0-15% Health - Flee For Assist (No Repeat)'); diff --git a/sql/world/base/zone_hinterlands.sql b/data/sql/world/base/zone_hinterlands.sql similarity index 96% rename from sql/world/base/zone_hinterlands.sql rename to data/sql/world/base/zone_hinterlands.sql index a87a2b2..0357b3c 100644 --- a/sql/world/base/zone_hinterlands.sql +++ b/data/sql/world/base/zone_hinterlands.sql @@ -175,20 +175,6 @@ INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `positio (774800, 44, 40.6797, -4257.42, 118.51, 5.80106, 0, 0, 0, 100, 0), (774800, 45, 42.9907, -4278.39, 122.562, 4.67323, 0, 0, 0, 100, 0); --- Pooled Treasure Chests -DELETE FROM `pool_template` WHERE `entry` IN (66005); -INSERT INTO `pool_template` (`entry`,`max_limit`,`description`) VALUES -(66005, 1, 'Treasures - The Hinterlands'); - -UPDATE `gameobject` SET `spawntimesecs` = 900 WHERE`guid` IN (46292, 46346, 46370, 85894, 87392); - -DELETE FROM `pool_gameobject` WHERE `guid` IN (46292, 46346, 46370, 85894, 87392); -INSERT INTO `pool_gameobject` (`guid`, `pool_entry`, `chance`, `description`) VALUES -(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'); -- Troll Necklace Bounty quest should be for Alliance only UPDATE `quest_template` SET `AllowableRaces` = 1101 WHERE `ID` = 2880; diff --git a/sql/world/base/zone_ironforge.sql b/data/sql/world/base/zone_ironforge.sql similarity index 100% rename from sql/world/base/zone_ironforge.sql rename to data/sql/world/base/zone_ironforge.sql diff --git a/sql/world/base/zone_mulgore.sql b/data/sql/world/base/zone_mulgore.sql similarity index 98% rename from sql/world/base/zone_mulgore.sql rename to data/sql/world/base/zone_mulgore.sql index ac62324..f376f3a 100644 --- a/sql/world/base/zone_mulgore.sql +++ b/data/sql/world/base/zone_mulgore.sql @@ -1,7 +1,23 @@ -UPDATE `creature_template` SET `faction` = 14 WHERE `entry` IN (2966, 8554); -- Battleboar, Chief Sharptusk Thornmantle +/* smart scripts */ +UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` IN (3058, 3068, 5807); +DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryorguid` IN (3058, 3068, 5807); +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, +`event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param6`, +`action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, +`target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +-- +(3058, 0, 0, 0, 9, 0, 100, 0, 11000, 15000, 11000, 15000, 0, 5, 11, 6730, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Arra chea - Within 0-5 Range - Cast Head Butt'), +(3068, 0, 0, 0, 11, 0, 100, 0, 0, 0, 0, 0, 0, 0, 232, 269080, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Mazzranache - On Resspawn - Start Waypoint'), +(3068, 0, 1, 0, 25, 0, 100, 0, 0, 0, 0, 0, 0, 0, 11, 10022, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Mazzranache - On Reset - Cast Deadly Poison'), +(3068, 0, 2, 0, 4, 0, 100, 0, 0, 0, 0, 0, 0, 0, 11, 6268, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Mazzranache - On Aggro - Cast Rushing Charge'), +(5807, 0, 0, 0, 9, 0, 100, 0, 8000, 12000, 8000, 12000, 0, 5, 11, 12166, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'The Rake - Within 0-5 Range - Cast Muscle Tear'); + +-- update npc factions +UPDATE `creature_template` SET `faction` = 14 WHERE `entry` IN (2966, 3229, 8554); -- Battleboar, Squealer Thornmantle, Chief Sharptusk Thornmantle UPDATE `creature_template` SET `faction` = 57 WHERE `entry` IN (2989, 2990); -- Bael'dun Digger, Appraiser UPDATE `creature_template` SET `faction` = 111 WHERE `entry` IN (2952, 2953, 2954); -- Bristleback Quilboar, Shaman, Battleboar +-- update npc names UPDATE `creature_template` SET `subname` = 'Journeyman Leatherworker' WHERE `entry` = 3069; -- Chaw Stronghide UPDATE `creature_template` SET `subname` = 'Armorer and Shieldcrafter' WHERE `entry` = 3075; -- Bronk Steelrage UPDATE `creature_template` SET `subname` = 'Fisherman' WHERE `entry` = 5938; -- Uthan Stillwater @@ -21,6 +37,8 @@ INSERT INTO `npc_trainer` (`ID`, `SpellID`) VALUES (10993, -340000); -- Twizwick Sprocketgrind +/* Quests */ + -- The Hunt Begins DELETE FROM `quest_offer_reward` WHERE `ID` = 747; INSERT INTO `quest_offer_reward` (`ID`, `RewardText`) VALUES @@ -62,19 +80,6 @@ UPDATE `quest_template_addon` SET `SpecialFlags` = 0 WHERE `ID` IN ( 3376 -- Break Sharptusk! ); -UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` IN (3058, 3068, 5807); -DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryorguid` IN (3058, 3068, 5807); -INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, -`event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param6`, -`action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, -`target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES --- -(3058, 0, 0, 0, 9, 0, 100, 0, 11000, 15000, 11000, 15000, 0, 5, 11, 6730, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Arra chea - Within 0-5 Range - Cast Head Butt'), -(3068, 0, 0, 0, 11, 0, 100, 0, 0, 0, 0, 0, 0, 0, 232, 269080, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Mazzranache - On Resspawn - Start Waypoint'), -(3068, 0, 1, 0, 25, 0, 100, 0, 0, 0, 0, 0, 0, 0, 11, 10022, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Mazzranache - On Reset - Cast Deadly Poison'), -(3068, 0, 2, 0, 4, 0, 100, 0, 0, 0, 0, 0, 0, 0, 11, 6268, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Mazzranache - On Aggro - Cast Rushing Charge'), -(5807, 0, 0, 0, 9, 0, 100, 0, 8000, 12000, 8000, 12000, 0, 5, 11, 12166, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'The Rake - Within 0-5 Range - Cast Muscle Tear'); - DELETE FROM `creature_addon` WHERE `guid` = 26908; INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `visibilityDistanceType`, `auras`) VALUES diff --git a/sql/world/base/zone_orgrimmar.sql b/data/sql/world/base/zone_orgrimmar.sql similarity index 100% rename from sql/world/base/zone_orgrimmar.sql rename to data/sql/world/base/zone_orgrimmar.sql diff --git a/sql/world/base/zone_searing_gorge.sql b/data/sql/world/base/zone_searing_gorge.sql similarity index 100% rename from sql/world/base/zone_searing_gorge.sql rename to data/sql/world/base/zone_searing_gorge.sql diff --git a/sql/world/base/zone_shattrath.sql b/data/sql/world/base/zone_shattrath.sql similarity index 100% rename from sql/world/base/zone_shattrath.sql rename to data/sql/world/base/zone_shattrath.sql diff --git a/sql/world/base/zone_silithus.sql b/data/sql/world/base/zone_silithus.sql similarity index 92% rename from sql/world/base/zone_silithus.sql rename to data/sql/world/base/zone_silithus.sql index bf73a48..138c4ab 100644 --- a/sql/world/base/zone_silithus.sql +++ b/data/sql/world/base/zone_silithus.sql @@ -6,4 +6,4 @@ INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_ `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES -- -(15634, 0, 0, 0, 14, 0, 100, 0, 1000, 200, 50000, 60000, 0, 0, 11, 25839, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Priestess of the Moon - On Friendly Health - Cast Mass Healing'); +(15634, 0, 0, 0, 14, 0, 100, 0, 1000, 200, 50000, 60000, 0, 0, 11, 25839, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Priestess of the Moon - On Friendly Health - Cast Mass Healing'); diff --git a/sql/world/base/zone_silvermoon.sql b/data/sql/world/base/zone_silvermoon.sql similarity index 100% rename from sql/world/base/zone_silvermoon.sql rename to data/sql/world/base/zone_silvermoon.sql diff --git a/sql/world/base/zone_silverpine.sql b/data/sql/world/base/zone_silverpine.sql similarity index 100% rename from sql/world/base/zone_silverpine.sql rename to data/sql/world/base/zone_silverpine.sql diff --git a/sql/world/base/zone_stonetalon_mountains.sql b/data/sql/world/base/zone_stonetalon_mountains.sql similarity index 100% rename from sql/world/base/zone_stonetalon_mountains.sql rename to data/sql/world/base/zone_stonetalon_mountains.sql diff --git a/sql/world/base/zone_stormwind.sql b/data/sql/world/base/zone_stormwind.sql similarity index 100% rename from sql/world/base/zone_stormwind.sql rename to data/sql/world/base/zone_stormwind.sql diff --git a/sql/world/base/zone_stranglethorn.sql b/data/sql/world/base/zone_stranglethorn.sql similarity index 100% rename from sql/world/base/zone_stranglethorn.sql rename to data/sql/world/base/zone_stranglethorn.sql diff --git a/sql/world/base/zone_swamp_of_sorrows.sql b/data/sql/world/base/zone_swamp_of_sorrows.sql similarity index 100% rename from sql/world/base/zone_swamp_of_sorrows.sql rename to data/sql/world/base/zone_swamp_of_sorrows.sql diff --git a/sql/world/base/zone_tanaris.sql b/data/sql/world/base/zone_tanaris.sql similarity index 100% rename from sql/world/base/zone_tanaris.sql rename to data/sql/world/base/zone_tanaris.sql diff --git a/data/sql/world/base/zone_teldrassil.sql b/data/sql/world/base/zone_teldrassil.sql new file mode 100644 index 0000000..7e9e5ec --- /dev/null +++ b/data/sql/world/base/zone_teldrassil.sql @@ -0,0 +1,6 @@ +-- Byancie +DELETE FROM `npc_trainer` WHERE `ID`=6094; +INSERT INTO `npc_trainer` (`ID`, `SpellID`) VALUES (6094, -350000); + +UPDATE `creature_template` SET `faction` = 22 WHERE `entry` = 1986; -- Webwood Spider +UPDATE `creature_template` SET `faction` = 22 WHERE `entry` = 1994; -- Githyiss the Vile diff --git a/sql/world/base/zone_thousand_needles.sql b/data/sql/world/base/zone_thousand_needles.sql similarity index 96% rename from sql/world/base/zone_thousand_needles.sql rename to data/sql/world/base/zone_thousand_needles.sql index 9b67660..c2c24b2 100644 --- a/sql/world/base/zone_thousand_needles.sql +++ b/data/sql/world/base/zone_thousand_needles.sql @@ -34,21 +34,7 @@ INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_ -- give Vile Sting some movement UPDATE `creature` SET `MovementType` = 1, `wander_distance` = 10 WHERE `id1` = 5937; - --- Pooled Treasure Chests -DELETE FROM `pool_template` WHERE `entry` IN (66001); -INSERT INTO `pool_template` (`entry`,`max_limit`,`description`) VALUES -(66001, 1, 'Treasures - Thousand Needles'); - -UPDATE `gameobject` SET `spawntimesecs` = 900 WHERE `guid` IN (16718, 85670, 87381); - -DELETE FROM `pool_gameobject` WHERE `guid` IN (16718, 85670, 87381); -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'); - - + -- Rok'Alim the Pounder, Waypoints DELETE FROM `creature_addon` WHERE `guid` = 21591; INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `visibilityDistanceType`, `auras`) VALUES diff --git a/sql/world/base/zone_thunder_bluff.sql b/data/sql/world/base/zone_thunder_bluff.sql similarity index 100% rename from sql/world/base/zone_thunder_bluff.sql rename to data/sql/world/base/zone_thunder_bluff.sql diff --git a/data/sql/world/base/zone_tirisfal_glades.sql b/data/sql/world/base/zone_tirisfal_glades.sql new file mode 100644 index 0000000..84019ed --- /dev/null +++ b/data/sql/world/base/zone_tirisfal_glades.sql @@ -0,0 +1,117 @@ +/* Drop chance for Rattlecage Skull was incorrectly set to 15 - updated to 80 */ +UPDATE `creature_loot_template` SET `Chance` = 80 WHERE `Entry` = 1890 AND `Item` = 6281; + +-- Undertaker Mordo +DELETE FROM `creature` WHERE `id1` = 1568; +INSERT INTO `creature` (`id1`, `map`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`) VALUES (1568, 0, 1678.99, 1667.86, 135.855, 3.76991, 300); + +-- update npc names +UPDATE `creature_template` SET `name` = 'Wretched Zombie' WHERE `entry` = 1502; -- Wretched Zombie + +UPDATE `creature_template` SET `subname` = 'Apprentice Herbalist' WHERE `entry` = 2114; -- Faruza +UPDATE `creature_template` SET `subname` = 'Journeyman Alchemist' WHERE `entry` = 2132; -- Carolai Anise +UPDATE `creature_template` SET `subname` = 'Zeppelin Master' WHERE `entry` = 3150; -- Hin Denburg +UPDATE `creature_template` SET `subname` = 'Journeyman Leatherworker' WHERE `entry` = 3549; -- Shelene Rhobart +UPDATE `creature_template` SET `subname` = 'Fisherman' WHERE `entry` = 5690; -- Clyde Kellen +UPDATE `creature_template` SET `subname` = 'Journeyman Enchanter' WHERE `entry` = 5695; -- Vance Undergloom +UPDATE `creature_template` SET `subname` = 'Demon Trainer' WHERE `entry` = 5749; -- Kayla Smithe +UPDATE `creature_template` SET `subname` = 'Demon Trainer' WHERE `entry` = 5750; -- Gina Lang +UPDATE `creature_template` SET `subname` = 'Skinner' WHERE `entry` = 6289; -- Rand Rhobart +UPDATE `creature_template` SET `subname` = 'Zeppelin Master' WHERE `entry` = 9566; -- Zapetta + +-- update npc factions +UPDATE `creature_template` SET `faction` = 22 WHERE `entry` = 1505; -- Night Web Spider +UPDATE `creature_template` SET `faction` = 67 WHERE `entry` = 1506; -- Scarlet Convert +UPDATE `creature_template` SET `faction` = 67 WHERE `entry` = 1507; -- Scarlet Initiate +UPDATE `creature_template` SET `faction` = 67 WHERE `entry` = 1667; -- Meven Korgal +UPDATE `creature_template` SET `faction` = 22 WHERE `entry` = 1688; -- Night Web Matriarch +UPDATE `creature_template` SET `faction` = 67 WHERE `entry` = 13158; -- Lieutenant Sanders + +-- update npc levels +UPDATE `creature_template` SET `minlevel` = 55, `maxlevel` = 55 WHERE `entry` = 1736; -- Deathguard Randolph +UPDATE `creature_template` SET `minlevel` = 55, `maxlevel` = 55 WHERE `entry` = 1737; -- Deathguard Oliver +UPDATE `creature_template` SET `minlevel` = 55, `maxlevel` = 55 WHERE `entry` = 1739; -- Deathguard Phillip +UPDATE `creature_template` SET `minlevel` = 55, `maxlevel` = 55 WHERE `entry` = 1741; -- Deathguard Bartrand +UPDATE `creature_template` SET `minlevel` = 55, `maxlevel` = 55 WHERE `entry` = 7980; -- Deathguard Elite + +-- update npc ranks +UPDATE `creature_template` SET `rank` = 1 WHERE `entry` = 4280; -- Scarlet Preserver +UPDATE `creature_template` SET `rank` = 1 WHERE `entry` = 4281; -- Scarlet Scout +UPDATE `creature_template` SET `rank` = 1 WHERE `entry` = 4282; -- Scarlet Magician +UPDATE `creature_template` SET `rank` = 1 WHERE `entry` = 4283; -- Scarlet Sentry +UPDATE `creature_template` SET `rank` = 1 WHERE `entry` = 4284; -- Scarlet Augur +UPDATE `creature_template` SET `rank` = 1 WHERE `entry` = 4285; -- Scarlet Disciple + +DELETE FROM `npc_trainer` WHERE `ID` IN (2114, 2132, 3549, 4773, 5690, 5695, 5759, 6289); +INSERT INTO `npc_trainer` (`ID`, `SpellID`) VALUES +(2114, -370000), -- Faruza +(2132, -300000), -- Carolai Anise +(3549, -380000), -- Shelene Rhobart +(4773, -450000), -- Velma Warnam +(5690, -360000), -- Clyde Kellen +(5695, -330000), -- Vance Undergloom +(5759, -350000), -- Nurse Neela +(6289, -400000); -- Rand Rhobart + +DELETE FROM `npc_vendor` WHERE `entry` = 2118 AND `item` IN (10648, 30817, 39354); -- Abigail Shiel +DELETE FROM `npc_vendor` WHERE `entry` = 3548 AND `item` = 40411; -- Selina Weston +DELETE FROM `npc_vendor` WHERE `entry` = 4731 AND `item` IN (46308, 47101); -- Zachariah Post + + +/* Quests */ + +-- Rude Awakening +UPDATE `quest_template` SET `Flags` = 8, +`QuestDescription` = 'About time you woke up. We were ready to toss you into the fire with the others, but it looks like you made it.$b$b +I am Mordo, the caretaker of the crypt of Deathknell. And you are the Lich King\'s slave no more.$b$b +Speak with Shadow Priest Sarvis in the chapel at the base of the hill, he will tell you more of what you must know.' WHERE `ID` = 363; + +-- The Mindless Ones +UPDATE `quest_template` SET `Flags` = 8, +`LogDescription` = 'Shadow Priest Sarvis wants you to kill 8 Mindless Zombies and 8 Wretched Zombies.', `RequiredNpcOrGoCount1` = 8, `RequiredNpcOrGoCount2` = 8 WHERE `ID` = 364; + +-- Night Web's Hollow +UPDATE `quest_template` SET `Flags` = 8, +`LogDescription` = 'Executor Arren wants you to kill 10 Young Night Web Spiders and 8 Night Web Spiders.', `RequiredNpcOrGoCount1` = 10, `RequiredNpcOrGoCount2` = 8 WHERE `ID` = 380; + +-- Rattling the Rattlecages +UPDATE `quest_template` SET `Flags` = 8, +`LogDescription` = 'Kill 12 Rattlecage Skeletons, and then return to Shadow Priest Sarvis in Deathknell when you are done.', `RequiredNpcOrGoCount1` = 12 WHERE `ID` = 3901; + + +UPDATE `quest_template` SET `Flags` = 0 WHERE `ID` = 8; -- A Rogue's Deal +UPDATE `quest_template` SET `Flags` = 8 WHERE `ID` = 376; -- The Damned +UPDATE `quest_template` SET `Flags` = 8 WHERE `ID` = 381; -- The Scarlet Crusade +UPDATE `quest_template` SET `Flags` = 8 WHERE `ID` = 382; -- The Red Messenger +UPDATE `quest_template` SET `Flags` = 0 WHERE `ID` = 383; -- Vital Intelligence +UPDATE `quest_template` SET `Flags` = 8 WHERE `ID` = 3902; -- Scavenging Deathknell +UPDATE `quest_template` SET `Flags` = 8 WHERE `ID` = 6395; -- Marla's Last Wish + +UPDATE `quest_template_addon` SET `PrevQuestID` = 427 WHERE `ID` = 374; -- Proof of Demise + +UPDATE `quest_template_addon` SET `SpecialFlags` = 0 WHERE `ID` IN ( +8, -- A Rogue's Deal +363, -- Rude Awakening +364, -- The Mindless Ones +376, -- The Damned +380, -- Night Web's Hollow +381, -- The Scarlet Crusade +382, -- The Red Messenger +383, -- Vital Intelligence +3095, -- Simple Scroll +3096, -- Encrypted Scroll +3097, -- Hallowed Scroll +3098, -- Glyphic Scroll +3099, -- Tainted Scroll +3901, -- Rattling the Rattlecages +3902, -- Scavenging Deathknell +6395 -- Marla's Last Wish +); + +-- Piercing the Veil (Warlock) +DELETE FROM `creature_questender` WHERE `id` = 5667 AND `quest` = 1470; +INSERT INTO `creature_questender` (`id`, `quest`) VALUES (5667, 1470); + +-- Piercing the Veil (Warlock) +DELETE FROM `creature_queststarter` WHERE `id` = 5667 AND `quest` = 1470; +INSERT INTO `creature_queststarter` (`id`, `quest`) VALUES (5667, 1470); diff --git a/sql/world/base/zone_undercity.sql b/data/sql/world/base/zone_undercity.sql similarity index 100% rename from sql/world/base/zone_undercity.sql rename to data/sql/world/base/zone_undercity.sql diff --git a/sql/world/base/zone_western_plaguelands.sql b/data/sql/world/base/zone_western_plaguelands.sql similarity index 100% rename from sql/world/base/zone_western_plaguelands.sql rename to data/sql/world/base/zone_western_plaguelands.sql diff --git a/sql/world/base/zone_westfall.sql b/data/sql/world/base/zone_westfall.sql similarity index 91% rename from sql/world/base/zone_westfall.sql rename to data/sql/world/base/zone_westfall.sql index 3eff2b7..7959366 100644 --- a/sql/world/base/zone_westfall.sql +++ b/data/sql/world/base/zone_westfall.sql @@ -7,4 +7,4 @@ DELETE FROM `npc_vendor` WHERE `entry`=8934 AND `item` IN (10648, 14341, 18256, -- Restore Defias Pillager to original Fireball spell (was nerfed in 2.3) DELETE FROM `creature_template_spell` WHERE `CreatureID`=589 AND `Index`=0; INSERT INTO `creature_template_spell` (`CreatureID`, `Index`, `Spell`, `VerifiedBuild`) VALUES (589, 0, 19816, 12340); -UPDATE `smart_scripts` SET `action_param1` = 19816 WHERE `entryorguid`=589 AND `source_type`=0 AND `id`=2 AND `link`=0; \ No newline at end of file +UPDATE `smart_scripts` SET `action_param1` = 19816 WHERE `entryorguid`=589 AND `source_type`=0 AND `id`=2 AND `link`=0; diff --git a/sql/world/base/zone_wetlands.sql b/data/sql/world/base/zone_wetlands.sql similarity index 100% rename from sql/world/base/zone_wetlands.sql rename to data/sql/world/base/zone_wetlands.sql diff --git a/sql/world/base/zone_winterspring.sql b/data/sql/world/base/zone_winterspring.sql similarity index 80% rename from sql/world/base/zone_winterspring.sql rename to data/sql/world/base/zone_winterspring.sql index 0277d96..0d4ee4a 100644 --- a/sql/world/base/zone_winterspring.sql +++ b/data/sql/world/base/zone_winterspring.sql @@ -1,28 +1,3 @@ -DELETE FROM `creature_text` WHERE `CreatureID` IN (7451, 10200); -INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES -(7451, 0, 0, '$s becomes enraged!', 16, 0, 100, 0, 0, 0, 10677, 0, 'Raging Owlbeast enrage at 30%'), -(10200, 0, 0, '$s becomes enraged!', 16, 0, 100, 0, 0, 0, 10677, 0, 'Rak shiri enrage at 30%'); - --- Pooled Treasure Chests -DELETE FROM `pool_template` WHERE `entry` IN (66002, 66003); -INSERT INTO `pool_template` (`entry`,`max_limit`,`description`) VALUES -(66002, 1, 'Treasures - Winterspring'), -(66003, 1, 'Treasures - Winterspring'); - -UPDATE `gameobject` SET `spawntimesecs` = 900 WHERE `guid` IN (49089, 49090, 49091, 85796, 85798, 85799, 85801, 85803); - -DELETE FROM `pool_gameobject` WHERE `guid` IN (49089, 49090, 49091, 85796, 85798, 85799, 85801, 85803); -INSERT INTO `pool_gameobject` (`guid`, `pool_entry`, `chance`, `description`) VALUES -(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'); - -- smart scripts UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` IN (7451, 7523, 7524, 10200, 10684, 10737, 14372); DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryorguid` IN (7451, 7523, 7524, 10200, 10684, 10737, 14372); @@ -53,3 +28,9 @@ INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_ (10737, 0, 3, 0, 2, 0, 100, 1, 0, 50, 0, 0, 0, 0, 12, 10741, 1, 180000, 0, 0, 0, 8, 0, 0, 0, 0, 8074.84, -3840, 690.061, 4.6, 'Shy-Rotam - Between 0-50% health - Summon Creature Sian-Rotam (No Repeat)'), -- (14372, 0, 0, 0, 1, 0, 100, 0, 4000, 4000, 4000, 4000, 0, 0, 11, 17205, 32, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Winterfall Ambusher - OOC - Cast Winterfall Firewater'); + + +DELETE FROM `creature_text` WHERE `CreatureID` IN (7451, 10200); +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(7451, 0, 0, '$s becomes enraged!', 16, 0, 100, 0, 0, 0, 10677, 0, 'Raging Owlbeast enrage at 30%'), +(10200, 0, 0, '$s becomes enraged!', 16, 0, 100, 0, 0, 0, 10677, 0, 'Rak shiri enrage at 30%'); diff --git a/sql/world/base/zz_optional_ammo_stack_size.sql b/data/sql/world/base/zz_optional_ammo_stack_size.sql similarity index 100% rename from sql/world/base/zz_optional_ammo_stack_size.sql rename to data/sql/world/base/zz_optional_ammo_stack_size.sql diff --git a/sql/world/base/zz_optional_aq_quest_nerf.sql b/data/sql/world/base/zz_optional_aq_quest_nerf.sql similarity index 100% rename from sql/world/base/zz_optional_aq_quest_nerf.sql rename to data/sql/world/base/zz_optional_aq_quest_nerf.sql diff --git a/sql/world/base/zz_optional_attunements.sql b/data/sql/world/base/zz_optional_attunements.sql similarity index 100% rename from sql/world/base/zz_optional_attunements.sql rename to data/sql/world/base/zz_optional_attunements.sql diff --git a/sql/world/base/zz_optional_creature_stats.sql b/data/sql/world/base/zz_optional_creature_stats.sql similarity index 100% rename from sql/world/base/zz_optional_creature_stats.sql rename to data/sql/world/base/zz_optional_creature_stats.sql diff --git a/sql/world/base/zz_optional_item_stack_sizes.sql b/data/sql/world/base/zz_optional_item_stack_sizes.sql similarity index 100% rename from sql/world/base/zz_optional_item_stack_sizes.sql rename to data/sql/world/base/zz_optional_item_stack_sizes.sql diff --git a/sql/world/base/zz_optional_pvp_items.sql b/data/sql/world/base/zz_optional_pvp_items.sql similarity index 100% rename from sql/world/base/zz_optional_pvp_items.sql rename to data/sql/world/base/zz_optional_pvp_items.sql diff --git a/sql/world/base/zz_optional_remove_heirlooms.sql b/data/sql/world/base/zz_optional_remove_heirlooms.sql similarity index 100% rename from sql/world/base/zz_optional_remove_heirlooms.sql rename to data/sql/world/base/zz_optional_remove_heirlooms.sql diff --git a/sql/world/base/zz_optional_restore_crafting_cd_timers.sql b/data/sql/world/base/zz_optional_restore_crafting_cd_timers.sql similarity index 100% rename from sql/world/base/zz_optional_restore_crafting_cd_timers.sql rename to data/sql/world/base/zz_optional_restore_crafting_cd_timers.sql diff --git a/sql/world/base/zz_optional_restore_potion_cd.sql b/data/sql/world/base/zz_optional_restore_potion_cd.sql similarity index 100% rename from sql/world/base/zz_optional_restore_potion_cd.sql rename to data/sql/world/base/zz_optional_restore_potion_cd.sql diff --git a/sql/world/base/zz_optional_restore_rogue_poisons.sql b/data/sql/world/base/zz_optional_restore_rogue_poisons.sql similarity index 100% rename from sql/world/base/zz_optional_restore_rogue_poisons.sql rename to data/sql/world/base/zz_optional_restore_rogue_poisons.sql diff --git a/sql/world/base/zz_optional_small_group_adjustments.sql b/data/sql/world/base/zz_optional_small_group_adjustments.sql similarity index 100% rename from sql/world/base/zz_optional_small_group_adjustments.sql rename to data/sql/world/base/zz_optional_small_group_adjustments.sql diff --git a/sql/world/base/zz_optional_stackable_buff_scrolls.sql b/data/sql/world/base/zz_optional_stackable_buff_scrolls.sql similarity index 100% rename from sql/world/base/zz_optional_stackable_buff_scrolls.sql rename to data/sql/world/base/zz_optional_stackable_buff_scrolls.sql diff --git a/sql/world/base/zz_optional_tbc_heroic_dungeon_keys_nerf.sql b/data/sql/world/base/zz_optional_tbc_heroic_dungeon_keys_nerf.sql similarity index 100% rename from sql/world/base/zz_optional_tbc_heroic_dungeon_keys_nerf.sql rename to data/sql/world/base/zz_optional_tbc_heroic_dungeon_keys_nerf.sql diff --git a/sql/world/base/zz_optional_unobtainable_items.sql b/data/sql/world/base/zz_optional_unobtainable_items.sql similarity index 100% rename from sql/world/base/zz_optional_unobtainable_items.sql rename to data/sql/world/base/zz_optional_unobtainable_items.sql diff --git a/sql/world/base/zz_optional_vanilla_crafting_requirements.sql b/data/sql/world/base/zz_optional_vanilla_crafting_requirements.sql similarity index 100% rename from sql/world/base/zz_optional_vanilla_crafting_requirements.sql rename to data/sql/world/base/zz_optional_vanilla_crafting_requirements.sql diff --git a/sql/world/base/zz_optional_vanilla_models.sql b/data/sql/world/base/zz_optional_vanilla_models.sql similarity index 100% rename from sql/world/base/zz_optional_vanilla_models.sql rename to data/sql/world/base/zz_optional_vanilla_models.sql diff --git a/sql/world/base/zz_optional_vanilla_phasing.sql b/data/sql/world/base/zz_optional_vanilla_phasing.sql similarity index 100% rename from sql/world/base/zz_optional_vanilla_phasing.sql rename to data/sql/world/base/zz_optional_vanilla_phasing.sql diff --git a/sql/world/base/vanilla_regen_values.sql b/data/sql/world/base/zz_optional_vanilla_regen_values.sql similarity index 100% rename from sql/world/base/vanilla_regen_values.sql rename to data/sql/world/base/zz_optional_vanilla_regen_values.sql diff --git a/sql/world/base/zz_optional_vanilla_transports.sql b/data/sql/world/base/zz_optional_vanilla_transports.sql similarity index 100% rename from sql/world/base/zz_optional_vanilla_transports.sql rename to data/sql/world/base/zz_optional_vanilla_transports.sql diff --git a/data/sql/world/updates/.gitkeep b/data/sql/world/updates/.gitkeep new file mode 100644 index 0000000..d3f5a12 --- /dev/null +++ b/data/sql/world/updates/.gitkeep @@ -0,0 +1 @@ + diff --git a/sql/auth/updates/.gitkeep b/sql/auth/updates/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/sql/characters/updates/.gitkeep b/sql/characters/updates/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/sql/world/base/naxx40_remove_disables.sql b/sql/world/base/naxx40_remove_disables.sql deleted file mode 100644 index d93ad49..0000000 --- a/sql/world/base/naxx40_remove_disables.sql +++ /dev/null @@ -1,3 +0,0 @@ --- Enable Naxxramas Map (mapID: 533) -SET @MAP_ID := 533; -DELETE FROM `disables` WHERE `entry` = @MAP_ID; diff --git a/sql/world/base/vanilla_mob_factions.sql b/sql/world/base/vanilla_mob_factions.sql deleted file mode 100644 index e1b7c69..0000000 --- a/sql/world/base/vanilla_mob_factions.sql +++ /dev/null @@ -1,89 +0,0 @@ -/* Defias Thug */ -UPDATE `creature_template` SET `faction` = 17 WHERE `entry` = 38; - -/* Garrick Padfoot */ -UPDATE `creature_template` SET `faction` = 17 WHERE `entry` = 103; - -/* Frostmane Troll Whelp */ -UPDATE `creature_template` SET `faction` = 107 WHERE `entry` = 706; - -/* Grik'nir the Cold */ -UPDATE `creature_template` SET `faction` = 37 WHERE `entry` = 808; - -/* Frostmane Novice */ -UPDATE `creature_template` SET `faction` = 107 WHERE `entry` = 946; - -/* Night Web Spider */ -UPDATE `creature_template` SET `faction` = 22 WHERE `entry` = 1505; - -/* Scarlet Convert */ -UPDATE `creature_template` SET `faction` = 67 WHERE `entry` = 1506; - -/* Scarlet Initiate */ -UPDATE `creature_template` SET `faction` = 67 WHERE `entry` = 1507; - -/* Meven Korgal */ -UPDATE `creature_template` SET `faction` = 67 WHERE `entry` = 1667; - -/* Night Web Matriarch */ -UPDATE `creature_template` SET `faction` = 22 WHERE `entry` = 1688; - -/* Webwood Spider */ -UPDATE `creature_template` SET `faction` = 22 WHERE `entry` = 1986; - -/* Githyiss the Vile */ -UPDATE `creature_template` SET `faction` = 22 WHERE `entry` = 1994; - -/* Bristleback Quilboar */ -UPDATE `creature_template` SET `faction` = 111 WHERE `entry` = 2952; - -/* Bristleback Shaman */ -UPDATE `creature_template` SET `faction` = 111 WHERE `entry` = 2953; - -/* Bristleback Battleboar */ -UPDATE `creature_template` SET `faction` = 111 WHERE `entry` = 2954; - -/* Battleboar */ -UPDATE `creature_template` SET `faction` = 14 WHERE `entry` = 2966; - -/* Vile Familiar */ -UPDATE `creature_template` SET `faction` = 14 WHERE `entry` = 3101; - -/* Felstalker */ -UPDATE `creature_template` SET `faction` = 14 WHERE `entry` = 3102; - -/* Yarrog Baneshadow */ -UPDATE `creature_template` SET `faction` = 16 WHERE `entry` = 3183; - -/* "Squealer" Thornmantle */ -UPDATE `creature_template` SET `faction` = 14 WHERE `entry` = 3229; - -/* Chief Sharptusk Thornmantle */ -UPDATE `creature_template` SET `faction` = 14 WHERE `entry` = 8554; - -/* Tender */ -UPDATE `creature_template` SET `faction` = 16 WHERE `entry` = 15271; - -/* Arcane Wraith */ -UPDATE `creature_template` SET `faction` = 16 WHERE `entry` = 15273; - -/* Feral Tender */ -UPDATE `creature_template` SET `faction` = 16 WHERE `entry` = 15294; - -/* Tainted Arcane Wraith */ -UPDATE `creature_template` SET `faction` = 16 WHERE `entry` = 15298; - -/* Felendren the Banished */ -UPDATE `creature_template` SET `faction` = 14 WHERE `entry` = 15367; - -/* Mutated Root Lasher */ -UPDATE `creature_template` SET `faction` = 14 WHERE `entry` = 16517; - -/* Blood Elf Scout */ -UPDATE `creature_template` SET `faction` = 16 WHERE `entry` = 16521; - -/* Surveyor Candress */ -UPDATE `creature_template` SET `faction` = 16 WHERE `entry` = 16522; - -/* Mutated Owlkin */ -UPDATE `creature_template` SET `faction` = 14 WHERE `entry` = 16537; diff --git a/sql/world/base/zone_dun_morogh.sql b/sql/world/base/zone_dun_morogh.sql deleted file mode 100644 index a3f80ae..0000000 --- a/sql/world/base/zone_dun_morogh.sql +++ /dev/null @@ -1,17 +0,0 @@ --- 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 - DELETE FROM `npc_trainer` WHERE `ID`=2326; - INSERT INTO `npc_trainer` (`ID`, `SpellID`) VALUES (2326, -350000); diff --git a/sql/world/base/zone_durotar.sql b/sql/world/base/zone_durotar.sql deleted file mode 100644 index 417c96b..0000000 --- a/sql/world/base/zone_durotar.sql +++ /dev/null @@ -1,129 +0,0 @@ --- Dwukk -DELETE FROM `npc_trainer` WHERE `ID`=3174; -INSERT INTO `npc_trainer` (`ID`, `SpellID`) VALUES (3174, -310000); - --- Krunn -DELETE FROM `npc_trainer` WHERE `ID`=3175; -INSERT INTO `npc_trainer` (`ID`, `SpellID`) VALUES (3175, -390000); - --- Miao'zan -DELETE FROM `npc_trainer` WHERE `ID`=3184; -INSERT INTO `npc_trainer` (`ID`, `SpellID`) VALUES (3184, -300000); - --- Mishiki -DELETE FROM `npc_trainer` WHERE `ID`=3185; -INSERT INTO `npc_trainer` (`ID`, `SpellID`) VALUES (3185, -370000); - --- Rawrk -DELETE FROM `npc_trainer` WHERE `ID`=5943; -INSERT INTO `npc_trainer` (`ID`, `SpellID`) VALUES (5943, -350000); - --- Xar'Ti -DELETE FROM `npc_trainer` WHERE `ID`=7953; -INSERT INTO `npc_trainer` (`ID`, `SpellID`) VALUES (7953, -450000); - --- Mukdrak -DELETE FROM `npc_trainer` WHERE `ID`=11025; -INSERT INTO `npc_trainer` (`ID`, `SpellID`) VALUES (11025, -340000); - --- Wuark -DELETE FROM `npc_vendor` WHERE `entry`=3167 AND `item` IN (20815, 20824); - --- Flakk -DELETE FROM `npc_vendor` WHERE `entry`=3168 AND `item` IN (30817); - --- Tai'tasi -DELETE FROM `npc_vendor` WHERE `entry`=3187 AND `item` IN (30817); - --- Zansoa -DELETE FROM `npc_vendor` WHERE `entry`=5942 AND `item` IN (6365, 6533); - --- 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; - --- Sarkoth -UPDATE `quest_template` SET `Flags`=8 WHERE `ID`=790; - --- 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; -UPDATE `quest_template_addon` SET `AllowableClasses` = 1279 WHERE `ID`=792; - --- Burning Blade Medallion -UPDATE `quest_template` SET `Flags`=8 WHERE `ID`=794; - --- Sarkoth -UPDATE `quest_template` SET `Flags`=0 WHERE `ID`=804; - --- Report to Sen'jin Village -UPDATE `quest_template` SET `Flags`=8 WHERE `ID`=805; - --- Call of Earth (Shaman) -UPDATE `quest_template` SET `Flags`=8 WHERE `ID`=1516; - --- Call of Earth (Shaman) -UPDATE `quest_template` SET `Flags`=0 WHERE `ID`=1517; - --- A Peon's Burden -UPDATE `quest_template` SET `Flags`=0 WHERE `ID`=2161; - --- 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; - --- Your Place In The World -UPDATE `quest_template` SET `Flags`=8 WHERE `ID`=4641; - --- Lazy Peons -UPDATE `quest_template` SET `Flags`=0 WHERE `ID`=5441; - --- Thazz'ril's Pick -UPDATE `quest_template` SET `Flags`=8 WHERE `ID`=6394; - --- Cutting Teeth -UPDATE `quest_template_addon` SET `SpecialFlags`=0 WHERE `ID`=788; - --- Sting of the Scorpid -UPDATE `quest_template_addon` SET `SpecialFlags`=0 WHERE `ID`=789; - --- Sarkoth -UPDATE `quest_template_addon` SET `SpecialFlags`=0 WHERE `ID`=790; - --- Vile Familiars -UPDATE `quest_template_addon` SET `SpecialFlags`=0 WHERE `ID`=792; - --- Burning Blade Medallion -UPDATE `quest_template_addon` SET `SpecialFlags`=0 WHERE `ID`=794; - --- Sarkoth -UPDATE `quest_template_addon` SET `SpecialFlags`=0 WHERE `ID`=804; - --- Report to Sen'jin Village -UPDATE `quest_template_addon` SET `SpecialFlags`=0 WHERE `ID`=805; - --- Call of Earth (Shaman) -UPDATE `quest_template_addon` SET `SpecialFlags`=0 WHERE `ID`=1516; - --- Call of Earth (Shaman) -UPDATE `quest_template_addon` SET `SpecialFlags`=0 WHERE `ID`=1517; - --- A Peon's Burden -UPDATE `quest_template_addon` SET `SpecialFlags`=0 WHERE `ID`=2161; - --- Simple Parchment -UPDATE `quest_template_addon` SET `SpecialFlags`=0 WHERE `ID`=2383; - --- Galgar's Cactus Apple Surprise -UPDATE `quest_template_addon` SET `SpecialFlags`=0 WHERE `ID`=4402; - --- Your Place In The World -UPDATE `quest_template_addon` SET `SpecialFlags`=0 WHERE `ID`=4641; - --- Lazy Peons -UPDATE `quest_template_addon` SET `SpecialFlags`=0 WHERE `ID`=5441; - --- Thazz'ril's Pick -UPDATE `quest_template_addon` SET `SpecialFlags`=0 WHERE `ID`=6394; - - diff --git a/sql/world/base/zone_elwynn_forest.sql b/sql/world/base/zone_elwynn_forest.sql deleted file mode 100644 index 6deeac3..0000000 --- a/sql/world/base/zone_elwynn_forest.sql +++ /dev/null @@ -1,270 +0,0 @@ --- Kitta Firewind -DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup`=4169 AND `SourceEntry`=0 AND `ConditionTypeOrReference`=7; -INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `ConditionTypeOrReference`, `ConditionValue1`, `ConditionValue2`, `Comment`) VALUES (15, 4169, 0, 7, 333, 125, 'Show menu if enchanting is 125 or higher'); - --- The Stolen Tome (Warlock) -DELETE FROM `creature_questender` WHERE `id`=459 AND `quest`=1598; -INSERT INTO `creature_questender` (`id`, `quest`) VALUES (459, 1598); - --- The Stolen Tome (Warlock) -DELETE FROM `creature_queststarter` WHERE `id`=459 AND `quest`=1598; -INSERT INTO `creature_queststarter` (`id`, `quest`) VALUES (459, 1598); - --- Defias Thug -UPDATE `creature_template` SET `faction`=17 WHERE `entry`=38; - --- Diseased Timber Wolf -UPDATE `creature_template` SET `name`='Timber Wolf' WHERE `entry`=69; -UPDATE `creature_template_model` SET `CreatureDisplayID`=604 WHERE `CreatureID`=69; - --- Kobold Laborer -UPDATE `creature_template` SET `maxlevel`=4 WHERE `entry`=80; - --- Garrick Padfoot -UPDATE `creature_template` SET `faction`=17 WHERE `entry`=103; - --- Kobold Worker -UPDATE `creature_template_model` SET `CreatureDisplayID`=10912 WHERE `CreatureID`=257; - --- Diseased Young Wolf -UPDATE `creature_template` SET `name`='Young Wolf' WHERE `entry`=299; -UPDATE `creature_template_model` SET `CreatureDisplayID`=447 WHERE `CreatureID`=299; - --- Smith Argus -UPDATE `creature_template` SET `subname`='Journeyman Blacksmith' WHERE `entry`=514; - --- Eldrin -UPDATE `creature_template` SET `subname`='Journeyman Tailor' WHERE `entry`=1103; - --- Alchemist Mallory -UPDATE `creature_template` SET `subname`='Journeyman Alchemist' WHERE `entry`=1215; - --- Adele Fielder -UPDATE `creature_template` SET `subname`='Journeyman Leatherworker' WHERE `entry`=1632; - --- Northshire Guard -UPDATE `creature_template` SET `minlevel`=55, `maxlevel`=55 WHERE `entry`=1642; - --- Lee Brown -UPDATE `creature_template` SET `subname`='Fisherman' WHERE `entry`=1651; - --- Rebecca Laughlin -UPDATE `creature_template` SET `subname`='Tabard Vendor' WHERE `entry`=5193; - --- Lilyssia Nightbreeze -UPDATE `creature_template` SET `subname`='Expert Alchemist' WHERE `entry`=5499; - --- Tel'Athir -UPDATE `creature_template` SET `subname`='Journeyman Alchemist', `npcflag`=81, `trainer_type`=2 WHERE `entry`=5500; - --- Eldraeith -UPDATE `creature_template` SET `subname`='Herbalism Supplier' WHERE `entry`=5503; - --- Therum Deepforge -UPDATE `creature_template` SET `subname`='Expert Blacksmith' WHERE `entry`=5511; - --- Lilliam Sparkspindle -UPDATE `creature_template` SET `subname`='Expert Engineer' WHERE `entry`=5518; - --- Simon Tanner -UPDATE `creature_template` SET `subname`='Expert Leatherworker' WHERE `entry`=5564; - --- Sellandus -UPDATE `creature_template` SET `subname`='Expert Tailor', `npcflag`=81, `trainer_type`=2 WHERE `entry`=5567; - --- Helene Peltskinner -UPDATE `creature_template` SET `subname`='Skinner' WHERE `entry`=6306; - --- Diseased Timber Wolf -DELETE FROM `creature_template_addon` WHERE `entry`=69; - --- Diseased Young Wolf -DELETE FROM `creature_template_addon` WHERE `entry`=299; - --- Kitta Firewind -DELETE FROM `gossip_menu_option` WHERE `MenuID`=4169; -INSERT INTO `gossip_menu_option` (`MenuID`, `OptionID`, `OptionIcon`, `OptionText`, `OptionBroadcastTextID`, `OptionType`, `OptionNpcFlag`) VALUES (4169, 0, 3, 'Train me.', 3266, 5, 16); - --- Smith Argus -DELETE FROM `npc_trainer` WHERE `ID`=514; -INSERT INTO `npc_trainer` (`ID`, `SpellID`) VALUES (514, -310000); - --- Eldrin -DELETE FROM `npc_trainer` WHERE `ID`=1103; -INSERT INTO `npc_trainer` (`ID`, `SpellID`) VALUES (1103, -410000); - --- Alchemist Mallory -DELETE FROM `npc_trainer` WHERE `ID`=1215; -INSERT INTO `npc_trainer` (`ID`, `SpellID`) VALUES (1215, -300000); - --- Adele Fielder -DELETE FROM `npc_trainer` WHERE `ID`=1632; -INSERT INTO `npc_trainer` (`ID`, `SpellID`) VALUES (1632, -380000); - --- Lee Brown -DELETE FROM `npc_trainer` WHERE `ID`=1651; -INSERT INTO `npc_trainer` (`ID`, `SpellID`) VALUES (1651, -360000); - --- Michelle Belle -DELETE FROM `npc_trainer` WHERE `ID`=2329; -INSERT INTO `npc_trainer` (`ID`, `SpellID`) VALUES (2329, -350000); - --- Randal Hunter -DELETE FROM `npc_trainer` WHERE `ID`=4732; -INSERT INTO `npc_trainer` (`ID`, `SpellID`) VALUES (4732, -450000); - --- Kitta Firewind -DELETE FROM `npc_trainer` WHERE `ID`=11072; -INSERT INTO `npc_trainer` (`ID`, `SpellID`) VALUES (11072, -330000); -INSERT INTO `npc_trainer` (`ID`, `SpellID`) VALUES (11072, -330001); -INSERT INTO `npc_trainer` (`ID`, `SpellID`) VALUES (11072, -330002); - --- Antonio Perelli -DELETE FROM `npc_vendor` WHERE `entry`=844 AND `item`=40411; - --- Dawn Brightstar -DELETE FROM `npc_vendor` WHERE `entry`=958 AND `item` IN (22147, 22148, 37201, 40411); - --- Wolves Across the Border -DELETE FROM `quest_offer_reward` WHERE `ID`=33; -INSERT INTO `quest_offer_reward` (`ID`, `Emote1`, `RewardText`) VALUES (33, 1, 'You\'ve been busy! I can\'t wait to cook up that wolf meat...$b$bI have some things here you might want - take your pick!'); - --- Wolves Across the Border -DELETE FROM `quest_request_items` WHERE `ID`=33; -INSERT INTO `quest_request_items` (`ID`, `EmoteOnComplete`, `EmoteOnIncomplete`, `CompletionText`) VALUES (33, 6, 6, 'Hey $N. I\'m getting hungry...did you get that tough wolf meat?'); - --- Bounty on Garrick Padfoot -UPDATE `quest_template` SET `Flags`=8 WHERE `ID`=6; - --- Kobold Camp Cleanup -UPDATE `quest_template` SET `Flags`=8, `LogDescription`='Kill 10 Kobold Vermin, then return to Marshal McBride.', `RequiredNpcOrGoCount1`=10 WHERE `ID`=7; - --- Investigate Echo Ridge -UPDATE `quest_template` SET `Flags`=8, `LogDescription`='Kill 10 Kobold Workers, then report back to Marshal McBride.', `QuestDescription`='$N, my scouts tell me that the kobold infestation is larger than we had thought. A group of kobold workers has camped near the Echo Ridge Mine to the north.$B$BGo to the mine and remove them. We know there are at least 10. Kill them, see if there are more, then report back to me.', `RequiredNpcOrGoCount1`=10 WHERE `ID`=15; - --- Brotherhood of Thieves -UPDATE `quest_template` SET `Flags`=8, `LogDescription`='Bring 12 Red Burlap Bandanas to Deputy Willem outside the Northshire Abbey.', `RequiredItemCount1`=12 WHERE `ID`=18; - --- Skirmish at Echo Ridge -UPDATE `quest_template` SET `Flags`=8, `LogDescription`='Kill 12 Kobold Laborers, then return to Marshal McBride at Northshire Abbey.', `RequiredNpcOrGoCount1`=12 WHERE `ID`=21; - --- Wolves Across the Border -UPDATE `quest_template` SET `Flags`=8, `LogDescription`='Bring 8 pieces of Tough Wolf Meat to Eagan Peltskinner outside Northshire Abbey.', `QuestDescription`='I hate those nasty timber wolves! But I sure like eating wolf steaks... Bring me tough wolf meat and I will exchange it for something you\'ll find useful.$B$BTough wolf meat is gathered from hunting the timber wolves and young wolves wandering the Northshire countryside.', `RequiredItemId1`=750 WHERE `ID`=33; - --- Report to Goldshire -UPDATE `quest_template` SET `Flags`=0 WHERE `ID`=54; - --- A Threat Within -UPDATE `quest_template` SET `Flags`=8 WHERE `ID`=783; - --- Rest and Relaxation -UPDATE `quest_template` SET `Flags`=8 WHERE `ID`=2158; - --- Encrypted Letter -UPDATE `quest_template` SET `Flags`=0 WHERE `ID`=3102; - --- Milly Osworth -UPDATE `quest_template` SET `Flags`=8 WHERE `ID`=3903; - --- Milly's Harvest -UPDATE `quest_template` SET `Flags`=8 WHERE `ID`=3904; - --- Grape Manifest -UPDATE `quest_template` SET `Flags`=0 WHERE `ID`=3905; - --- Eagan Peltskinner -UPDATE `quest_template` SET `QuestDescription`='Eagan Peltskinner is looking for someone to hunt wolves for him. That\'s good news, because we\'re seeing a lot more wolves in Northshire Valley lately.$B$BIf you\'re interested then speak with Eagan. He\'s around the side of the abbey, to the left.' WHERE `ID`=5261; - --- Bounty on Garrick Padfoot -UPDATE `quest_template_addon` SET `SpecialFlags`=0 WHERE `ID`=6; - --- Kobold Camp Cleanup -UPDATE `quest_template_addon` SET `SpecialFlags`=0 WHERE `ID`=7; - --- Investigate Echo Ridge -UPDATE `quest_template_addon` SET `SpecialFlags`=0 WHERE `ID`=15; - --- Brotherhood of Thieves -UPDATE `quest_template_addon` SET `SpecialFlags`=0 WHERE `ID`=18; - --- Skirmish at Echo Ridge -UPDATE `quest_template_addon` SET `SpecialFlags`=0 WHERE `ID`=21; - --- Wolves Across the Border -UPDATE `quest_template_addon` SET `SpecialFlags`=0 WHERE `ID`=33; - --- Report to Goldshire -UPDATE `quest_template_addon` SET `SpecialFlags`=0 WHERE `ID`=54; - --- A Threat Within -UPDATE `quest_template_addon` SET `SpecialFlags`=0 WHERE `ID`=783; - --- Rest and Relaxation -UPDATE `quest_template_addon` SET `SpecialFlags`=0 WHERE `ID`=2158; - --- Simple Letter -UPDATE `quest_template_addon` SET `SpecialFlags`=0 WHERE `ID`=3100; - --- Consecrated Letter -UPDATE `quest_template_addon` SET `SpecialFlags`=0 WHERE `ID`=3101; - --- Encrypted Letter -UPDATE `quest_template_addon` SET `SpecialFlags`=0 WHERE `ID`=3102; - --- Hallowed Letter -UPDATE `quest_template_addon` SET `SpecialFlags`=0 WHERE `ID`=3103; - --- Glyphic Letter -UPDATE `quest_template_addon` SET `SpecialFlags`=0 WHERE `ID`=3104; - --- Tainted Letter -UPDATE `quest_template_addon` SET `SpecialFlags`=0 WHERE `ID`=3105; - --- Milly Osworth -UPDATE `quest_template_addon` SET `SpecialFlags`=0 WHERE `ID`=3903; - --- Milly's Harvest -UPDATE `quest_template_addon` SET `SpecialFlags`=0 WHERE `ID`=3904; - --- Grape Manifest -UPDATE `quest_template_addon` SET `SpecialFlags`=0 WHERE `ID`=3905; - --- Eagan Peltskinner -UPDATE `quest_template_addon` SET `SpecialFlags`=0 WHERE `ID`=5261; - --- Timber Wolf -DELETE FROM `creature_loot_template` WHERE `Entry`=69 AND `Item`=750; -INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Chance`, `QuestRequired`, `MinCount`, `MaxCount`, `Comment`) VALUES (69, 750, 80, 1, 1, 1, 'Timber Wolf - Tough Wolf Meat'); - --- Young Wolf -DELETE FROM `creature_loot_template` WHERE `Entry`=299 AND `Item`=750; -INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Chance`, `QuestRequired`, `MinCount`, `MaxCount`, `Comment`) VALUES (299, 750, 80, 1, 1, 1, 'Young Wolf - Tough Wolf Meat'); - -DELETE FROM `creature_questitem` WHERE `CreatureEntry` IN (69, 299); -INSERT INTO `creature_questitem` (`CreatureEntry`, `Idx`, `ItemId`, `VerifiedBuild`) VALUES -(69, 0, 750, 0), -(299, 0, 750, 0); - - --- Restore Mirror Lake Orchard creatures removed in WotLK -DELETE FROM `creature` WHERE `guid` IN (80391, 80392, 80393, 80394, 80396, 80397, 80399, 80400, 80401, 80402, 80403, 80404, 80405) AND `id1` IN (116, 94); -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 -(80391, 116, 0, 0, 0, 0, 0, 1, 1, 1, -9441.48, 469.81, 53.2758, 4.26422, 180, 5, 0, 156, 0, 1, 0, 0, 0, '', 0), -(80392, 116, 0, 0, 0, 0, 0, 1, 1, 1, -9444.94, 473.775, 52.3257, 4.03171, 180, 5, 0, 156, 0, 1, 0, 0, 0, '', 0), -(80393, 116, 0, 0, 0, 0, 0, 1, 1, 1, -9437.72, 486.039, 53.3307, 5.58505, 180, 5, 0, 156, 0, 1, 0, 0, 0, '', 0), -(80394, 116, 0, 0, 0, 0, 0, 1, 1, 1, -9433.15, 482.528, 53.2474, 2.53073, 180, 5, 0, 156, 0, 1, 0, 0, 0, '', 0), -(80396, 94, 0, 0, 0, 0, 0, 1, 1, 1, -9464.65, 480.308, 53.0385, 3.48143, 180, 5, 0, 102, 0, 1, 0, 0, 0, '', 0), -(80397, 94, 0, 0, 0, 0, 0, 1, 1, 1, -9453.23, 512.811, 56.3243, 6.18203, 180, 5, 0, 102, 0, 1, 0, 0, 0, '', 0), -(80399, 116, 0, 0, 0, 0, 0, 1, 1, 1, -9447.86, 462.158, 52.2864, 4.2586, 180, 5, 0, 156, 0, 1, 0, 0, 0, '', 0), -(80400, 94, 0, 0, 0, 0, 0, 1, 1, 1, -9495.64, 457.065, 52.3032, 2.96413, 180, 5, 0, 102, 0, 1, 0, 0, 0, '', 0), -(80401, 94, 0, 0, 0, 0, 0, 1, 1, 1, -9479.78, 470.421, 51.6672, 5.18983, 180, 5, 0, 102, 0, 1, 0, 0, 0, '', 0), -(80402, 94, 0, 0, 0, 0, 0, 1, 1, 1, -9459.9, 426.179, 52.6221, 3.6223, 180, 5, 0, 102, 0, 1, 0, 0, 0, '', 0), -(80403, 116, 0, 0, 0, 0, 0, 1, 1, 1, -9441.33, 447.532, 52.5032, 3.9619, 180, 5, 0, 156, 0, 1, 0, 0, 0, '', 0), -(80404, 116, 0, 0, 0, 0, 0, 1, 1, 1, -9445.96, 451.56, 52.6251, 1.93731, 180, 5, 0, 156, 0, 1, 0, 0, 0, '', 0), -(80405, 94, 0, 0, 0, 0, 0, 1, 1, 1, -9517.96, 494.378, 52.2181, 5.29769, 180, 5, 0, 102, 0, 1, 0, 0, 0, '', 0); - --- Restore Backstab ability to Defias Cutpurse (credit elthehablo) -UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 94; -DELETE FROM `smart_scripts` WHERE `entryorguid` = 94 AND `source_type` = 0; -INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES -(94, 0, 0, 0, 0, 0, 100, 0, 1100, 1100, 2400, 7900, 0, 11, 53, 2, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Defias Cutpurse - In Combat - Cast \'Backstab\' (Phase 1)'); diff --git a/sql/world/base/zone_teldrassil.sql b/sql/world/base/zone_teldrassil.sql deleted file mode 100644 index f33fe56..0000000 --- a/sql/world/base/zone_teldrassil.sql +++ /dev/null @@ -1,3 +0,0 @@ --- Byancie -DELETE FROM `npc_trainer` WHERE `ID`=6094; -INSERT INTO `npc_trainer` (`ID`, `SpellID`) VALUES (6094, -350000); diff --git a/sql/world/base/zone_tirisfal_glades.sql b/sql/world/base/zone_tirisfal_glades.sql deleted file mode 100644 index 233642e..0000000 --- a/sql/world/base/zone_tirisfal_glades.sql +++ /dev/null @@ -1,223 +0,0 @@ - --- Undertaker Mordo -DELETE FROM `creature` WHERE `id1`=1568; -INSERT INTO `creature` (`id1`, `map`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`) VALUES (1568, 0, 1678.99, 1667.86, 135.855, 3.76991, 300); - --- Piercing the Veil (Warlock) -DELETE FROM `creature_questender` WHERE `id`=5667 AND `quest`=1470; -INSERT INTO `creature_questender` (`id`, `quest`) VALUES (5667, 1470); - --- Piercing the Veil (Warlock) -DELETE FROM `creature_queststarter` WHERE `id`=5667 AND `quest`=1470; -INSERT INTO `creature_queststarter` (`id`, `quest`) VALUES (5667, 1470); -/* Drop chance for Rattlecage Skull was incorrectly set to 15 - updated to 80 */ -UPDATE `creature_loot_template` SET `Chance` = 80 WHERE `Entry` = 1890 AND `Item` = 6281; - --- Wretched Zombie -UPDATE `creature_template` SET `name`='Wretched Zombie' WHERE `entry`=1502; - --- Night Web Spider -UPDATE `creature_template` SET `faction`=22 WHERE `entry`=1505; - --- Scarlet Convert -UPDATE `creature_template` SET `faction`=67 WHERE `entry`=1506; - --- Scarlet Initiate -UPDATE `creature_template` SET `faction`=67 WHERE `entry`=1507; - --- Meven Korgal -UPDATE `creature_template` SET `faction`=67 WHERE `entry`=1667; - --- Night Web Matriarch -UPDATE `creature_template` SET `faction`=22 WHERE `entry`=1688; - --- Deathguard Randolph -UPDATE `creature_template` SET `minlevel`=55, `maxlevel`=55 WHERE `entry`=1736; - --- Deathguard Oliver -UPDATE `creature_template` SET `minlevel`=55, `maxlevel`=55 WHERE `entry`=1737; - --- Deathguard Phillip -UPDATE `creature_template` SET `minlevel`=55, `maxlevel`=55 WHERE `entry`=1739; - --- Deathguard Bartrand -UPDATE `creature_template` SET `minlevel`=55, `maxlevel`=55 WHERE `entry`=1741; - --- Faruza -UPDATE `creature_template` SET `subname`='Apprentice Herbalist' WHERE `entry`=2114; - --- Carolai Anise -UPDATE `creature_template` SET `subname`='Journeyman Alchemist' WHERE `entry`=2132; - --- Hin Denburg -UPDATE `creature_template` SET `subname`='Zeppelin Master' WHERE `entry`=3150; - --- Shelene Rhobart -UPDATE `creature_template` SET `subname`='Journeyman Leatherworker' WHERE `entry`=3549; - --- Scarlet Preserver -UPDATE `creature_template` SET `rank`=1 WHERE `entry`=4280; - --- Scarlet Scout -UPDATE `creature_template` SET `rank`=1 WHERE `entry`=4281; - --- Scarlet Magician -UPDATE `creature_template` SET `rank`=1 WHERE `entry`=4282; - --- Scarlet Sentry -UPDATE `creature_template` SET `rank`=1 WHERE `entry`=4283; - --- Scarlet Augur -UPDATE `creature_template` SET `rank`=1 WHERE `entry`=4284; - --- Scarlet Disciple -UPDATE `creature_template` SET `rank`=1 WHERE `entry`=4285; - --- Clyde Kellen -UPDATE `creature_template` SET `subname`='Fisherman' WHERE `entry`=5690; - --- Vance Undergloom -UPDATE `creature_template` SET `subname`='Journeyman Enchanter' WHERE `entry`=5695; - --- Kayla Smithe -UPDATE `creature_template` SET `subname`='Demon Trainer' WHERE `entry`=5749; - --- Gina Lang -UPDATE `creature_template` SET `subname`='Demon Trainer' WHERE `entry`=5750; - --- Rand Rhobart -UPDATE `creature_template` SET `subname`='Skinner' WHERE `entry`=6289; - --- Deathguard Elite -UPDATE `creature_template` SET `minlevel`=55, `maxlevel`=55 WHERE `entry`=7980; - --- Zapetta -UPDATE `creature_template` SET `subname`='Zeppelin Master' WHERE `entry`=9566; - --- Lieutenant Sanders -UPDATE `creature_template` SET `faction`=67 WHERE `entry`=13158; - --- Faruza -DELETE FROM `npc_trainer` WHERE `ID`=2114; -INSERT INTO `npc_trainer` (`ID`, `SpellID`) VALUES (2114, -370000); - --- Carolai Anise -DELETE FROM `npc_trainer` WHERE `ID`=2132; -INSERT INTO `npc_trainer` (`ID`, `SpellID`) VALUES (2132, -300000); - --- Shelene Rhobart -DELETE FROM `npc_trainer` WHERE `ID`=3549; -INSERT INTO `npc_trainer` (`ID`, `SpellID`) VALUES (3549, -380000); - --- Velma Warnam -DELETE FROM `npc_trainer` WHERE `ID`=4773; -INSERT INTO `npc_trainer` (`ID`, `SpellID`) VALUES (4773, -450000); - --- Nurse Neela -DELETE FROM `npc_trainer` WHERE `ID`=5759; -INSERT INTO `npc_trainer` (`ID`, `SpellID`) VALUES (5759, -350000); - --- Clyde Kellen -DELETE FROM `npc_trainer` WHERE `ID`=5690; -INSERT INTO `npc_trainer` (`ID`, `SpellID`) VALUES (5690, -360000); - --- Vance Undergloom -DELETE FROM `npc_trainer` WHERE `ID`=5695; -INSERT INTO `npc_trainer` (`ID`, `SpellID`) VALUES (5695, -330000); - --- Rand Rhobart -DELETE FROM `npc_trainer` WHERE `ID`=6289; -INSERT INTO `npc_trainer` (`ID`, `SpellID`) VALUES (6289, -400000); - --- Abigail Shiel -DELETE FROM `npc_vendor` WHERE `entry`=2118 AND `item` IN (10648, 30817, 39354); - --- Selina Weston -DELETE FROM `npc_vendor` WHERE `entry`=3548 AND `item`=40411; - --- Zachariah Post -DELETE FROM `npc_vendor` WHERE `entry`=4731 AND `item` IN (46308, 47101); - --- A Rogue's Deal -UPDATE `quest_template` SET `Flags`=0 WHERE `ID`=8; - --- Rude Awakening -UPDATE `quest_template` SET `Flags`=8, `QuestDescription`='About time you woke up. We were ready to toss you into the fire with the others, but it looks like you made it.$b$bI am Mordo, the caretaker of the crypt of Deathknell. And you are the Lich King\'s slave no more.$b$bSpeak with Shadow Priest Sarvis in the chapel at the base of the hill, he will tell you more of what you must know.' WHERE `ID`=363; - --- The Mindless Ones -UPDATE `quest_template` SET `Flags`=8, `LogDescription`='Shadow Priest Sarvis wants you to kill 8 Mindless Zombies and 8 Wretched Zombies.', `RequiredNpcOrGoCount1`=8, `RequiredNpcOrGoCount2`=8 WHERE `ID`=364; - --- The Damned -UPDATE `quest_template` SET `Flags`=8 WHERE `ID`=376; - --- Night Web's Hollow -UPDATE `quest_template` SET `Flags`=8, `LogDescription`='Executor Arren wants you to kill 10 Young Night Web Spiders and 8 Night Web Spiders.', `RequiredNpcOrGoCount1`=10, `RequiredNpcOrGoCount2`=8 WHERE `ID`=380; - --- The Scarlet Crusade -UPDATE `quest_template` SET `Flags`=8 WHERE `ID`=381; - --- The Red Messenger -UPDATE `quest_template` SET `Flags`=8 WHERE `ID`=382; - --- Vital Intelligence -UPDATE `quest_template` SET `Flags`=0 WHERE `ID`=383; - --- Rattling the Rattlecages -UPDATE `quest_template` SET `Flags`=8, `LogDescription`='Kill 12 Rattlecage Skeletons, and then return to Shadow Priest Sarvis in Deathknell when you are done.', `RequiredNpcOrGoCount1`=12 WHERE `ID`=3901; - --- Scavenging Deathknell -UPDATE `quest_template` SET `Flags`=8 WHERE `ID`=3902; - --- Marla's Last Wish -UPDATE `quest_template` SET `Flags`=8 WHERE `ID`=6395; - --- A Rogue's Deal -UPDATE `quest_template_addon` SET `SpecialFlags`=0 WHERE `ID`=8; - --- Rude Awakening -UPDATE `quest_template_addon` SET `SpecialFlags`=0 WHERE `ID`=363; - --- The Mindless Ones -UPDATE `quest_template_addon` SET `SpecialFlags`=0 WHERE `ID`=364; - --- Proof of Demise -UPDATE `quest_template_addon` SET `PrevQuestID`=427 WHERE `ID`=374; - --- The Damned -UPDATE `quest_template_addon` SET `SpecialFlags`=0 WHERE `ID`=376; - --- Night Web's Hollow -UPDATE `quest_template_addon` SET `SpecialFlags`=0 WHERE `ID`=380; - --- The Scarlet Crusade -UPDATE `quest_template_addon` SET `SpecialFlags`=0 WHERE `ID`=381; - --- The Red Messenger -UPDATE `quest_template_addon` SET `SpecialFlags`=0 WHERE `ID`=382; - --- Vital Intelligence -UPDATE `quest_template_addon` SET `SpecialFlags`=0 WHERE `ID`=383; - --- Simple Scroll -UPDATE `quest_template_addon` SET `SpecialFlags`=0 WHERE `ID`=3095; - --- Encrypted Scroll -UPDATE `quest_template_addon` SET `SpecialFlags`=0 WHERE `ID`=3096; - --- Hallowed Scroll -UPDATE `quest_template_addon` SET `SpecialFlags`=0 WHERE `ID`=3097; - --- Glyphic Scroll -UPDATE `quest_template_addon` SET `SpecialFlags`=0 WHERE `ID`=3098; - --- Tainted Scroll -UPDATE `quest_template_addon` SET `SpecialFlags`=0 WHERE `ID`=3099; - --- Rattling the Rattlecages -UPDATE `quest_template_addon` SET `SpecialFlags`=0 WHERE `ID`=3901; - --- Scavenging Deathknell -UPDATE `quest_template_addon` SET `SpecialFlags`=0 WHERE `ID`=3902; - --- Marla's Last Wish -UPDATE `quest_template_addon` SET `SpecialFlags`=0 WHERE `ID`=6395; diff --git a/sql/world/updates/.gitkeep b/sql/world/updates/.gitkeep deleted file mode 100644 index e69de29..0000000