From 3bbda02581c6a6e1f31f2bb4eb86762638142edf Mon Sep 17 00:00:00 2001 From: hondacrx Date: Sun, 12 Feb 2023 02:10:02 -0500 Subject: [PATCH] DB Updates --- sql/base/characters_database.sql | 4 +- .../master/2023_02_08_00_characters.sql | 1 + .../master/2023_02_09_00_hotfixes.sql | 13 ++ .../world/master/2023_02_09_00_world.sql | 15 ++ .../world/master/2023_02_09_01_world.sql | 38 +++++ .../world/master/2023_02_10_00_world.sql | 7 + .../world/master/2023_02_10_01_world.sql | 84 ++++++++++ .../world/master/2023_02_11_00_world.sql | 145 ++++++++++++++++++ .../world/master/2023_02_11_01_world.sql | 38 +++++ 9 files changed, 344 insertions(+), 1 deletion(-) create mode 100644 sql/updates/characters/master/2023_02_08_00_characters.sql create mode 100644 sql/updates/hotfixes/master/2023_02_09_00_hotfixes.sql create mode 100644 sql/updates/world/master/2023_02_09_00_world.sql create mode 100644 sql/updates/world/master/2023_02_09_01_world.sql create mode 100644 sql/updates/world/master/2023_02_10_00_world.sql create mode 100644 sql/updates/world/master/2023_02_10_01_world.sql create mode 100644 sql/updates/world/master/2023_02_11_00_world.sql create mode 100644 sql/updates/world/master/2023_02_11_01_world.sql diff --git a/sql/base/characters_database.sql b/sql/base/characters_database.sql index ae7ff4dfb..16bf4837b 100644 --- a/sql/base/characters_database.sql +++ b/sql/base/characters_database.sql @@ -1511,6 +1511,7 @@ CREATE TABLE `character_skills` ( `skill` smallint unsigned NOT NULL, `value` smallint unsigned NOT NULL, `max` smallint unsigned NOT NULL, + `professionSlot` tinyint NOT NULL DEFAULT -1, PRIMARY KEY (`guid`,`skill`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Player System'; /*!40101 SET character_set_client = @saved_cs_client */; @@ -3696,7 +3697,8 @@ INSERT INTO `updates` VALUES ('2022_12_30_00_characters.sql','5F90C2BFFBB8F6CE0A3327A2CAABCD5CA3C2BA60','ARCHIVED','2022-12-30 22:50:16',0), ('2023_01_28_00_characters.sql','0280F79FD6EC93FFB3CC67B6499CEDA49D582BFC','ARCHIVED','2023-01-28 00:11:03',0), ('2023_01_29_00_characters.sql','24FA9E0F616BF77AC588A25A8A8699903A19A5FE','ARCHIVED','2023-01-29 16:31:12',0), -('2023_02_03_00_characters.sql','A04BA4386B3D5C60407D22CA4BF9A4A6258AA39D','ARCHIVED','2023-02-03 01:13:52',0); +('2023_02_03_00_characters.sql','A04BA4386B3D5C60407D22CA4BF9A4A6258AA39D','ARCHIVED','2023-02-03 01:13:52',0), +('2023_02_08_00_characters.sql','C9DF607CCE99540F613F5E25E17090176C995C7C','RELEASED','2023-02-08 21:41:17',0); /*!40000 ALTER TABLE `updates` ENABLE KEYS */; UNLOCK TABLES; diff --git a/sql/updates/characters/master/2023_02_08_00_characters.sql b/sql/updates/characters/master/2023_02_08_00_characters.sql new file mode 100644 index 000000000..f4f6b459f --- /dev/null +++ b/sql/updates/characters/master/2023_02_08_00_characters.sql @@ -0,0 +1 @@ +ALTER TABLE `character_skills` ADD `professionSlot` TINYINT NOT NULL DEFAULT -1 AFTER `max`; diff --git a/sql/updates/hotfixes/master/2023_02_09_00_hotfixes.sql b/sql/updates/hotfixes/master/2023_02_09_00_hotfixes.sql new file mode 100644 index 000000000..35bc91440 --- /dev/null +++ b/sql/updates/hotfixes/master/2023_02_09_00_hotfixes.sql @@ -0,0 +1,13 @@ +-- +-- Table structure for table `spell_keybound_override` +-- +DROP TABLE IF EXISTS `spell_keybound_override`; +CREATE TABLE `spell_keybound_override` ( + `ID` int(10) unsigned NOT NULL DEFAULT '0', + `Function` text, + `Type` tinyint(4) NOT NULL DEFAULT '0', + `Data` int(11) NOT NULL DEFAULT '0', + `Flags` int(11) NOT NULL DEFAULT '0', + `VerifiedBuild` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`ID`,`VerifiedBuild`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; diff --git a/sql/updates/world/master/2023_02_09_00_world.sql b/sql/updates/world/master/2023_02_09_00_world.sql new file mode 100644 index 000000000..135a50b69 --- /dev/null +++ b/sql/updates/world/master/2023_02_09_00_world.sql @@ -0,0 +1,15 @@ +-- (Swift Spectral Drake) +DELETE FROM `spell_area` WHERE `spell` = 372995 AND `area` IN (13644, 13645, 13646, 13647) AND `racemask` = 0xFFA1FFF7; +INSERT INTO `spell_area` (`spell`, `area`, `quest_start`, `quest_end`, `aura_spell`, `racemask`, `gender`, `flags`, `quest_start_status`, `quest_end_status`) VALUES +(372995, 13644, 0, 0, 8326, 0xFFA1FFF7, 2, 3, 64, 11), -- Waking Shores +(372995, 13645, 0, 0, 8326, 0xFFA1FFF7, 2, 3, 64, 11), -- Ohn'ahran Plains +(372995, 13646, 0, 0, 8326, 0xFFA1FFF7, 2, 3, 64, 11), -- Azure Span +(372995, 13647, 0, 0, 8326, 0xFFA1FFF7, 2, 3, 64, 11); -- Thaldraszus + +-- Nightelf (Swift Flying Wisp) +DELETE FROM `spell_area` WHERE `spell` = 55173 AND `area` IN (13644, 13645, 13646, 13647) AND `racemask` = 8; +INSERT INTO `spell_area` (`spell`, `area`, `quest_start`, `quest_end`, `aura_spell`, `racemask`, `gender`, `flags`, `quest_start_status`, `quest_end_status`) VALUES +(55173, 13644, 0, 0, 8326, 8, 2, 3, 64, 11), -- Waking Shores +(55173, 13645, 0, 0, 8326, 8, 2, 3, 64, 11), -- Ohn'ahran Plains +(55173, 13646, 0, 0, 8326, 8, 2, 3, 64, 11), -- Azure Span +(55173, 13647, 0, 0, 8326, 8, 2, 3, 64, 11); -- Thaldraszus diff --git a/sql/updates/world/master/2023_02_09_01_world.sql b/sql/updates/world/master/2023_02_09_01_world.sql new file mode 100644 index 000000000..71b69f3a1 --- /dev/null +++ b/sql/updates/world/master/2023_02_09_01_world.sql @@ -0,0 +1,38 @@ +SET @CGUID := 9002551; + +SET @GGUID := 100001; + +-- Creature +DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+7; +INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `PhaseId`, `PhaseGroup`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `VerifiedBuild`) VALUES +(@CGUID+0, 6491, 2444, 13644, 13722, '0', 0, 0, 0, 0, 3661.780517578125, -1480.4271240234375, 71.65735626220703125, 4.627596378326416015, 120, 0, 0, 152441, 0, 0, 0, 0, 0, 47967), -- Spirit Healer (Area: Wild Coast - Difficulty: 0) (Auras: 9036 - Ghost; 10848 - Shroud of Death) +(@CGUID+1, 6491, 2444, 13644, 13644, '0', 0, 0, 0, 0, 3191.882080078125, -1166.5989990234375, 42.04803085327148437, 2.803713083267211914, 120, 0, 0, 152441, 0, 0, 0, 0, 0, 47967), -- Spirit Healer (Area: The Waking Shores - Difficulty: 0) (Auras: 9036 - Ghost; 10848 - Shroud of Death) +(@CGUID+2, 6491, 2444, 13644, 13644, '0', 0, 0, 0, 0, 2395.2587890625, -448.677093505859375, 59.30726242065429687, 4.419765472412109375, 120, 0, 0, 152441, 0, 0, 0, 0, 0, 47967), -- Spirit Healer (Area: The Waking Shores - Difficulty: 0) (Auras: 9036 - Ghost; 10848 - Shroud of Death) +(@CGUID+3, 6491, 2444, 13644, 13727, '0', 0, 0, 0, 0, 1664.2291259765625, -165.289932250976562, 334.43145751953125, 3.424554347991943359, 120, 0, 0, 152441, 0, 0, 0, 0, 0, 47967), -- Spirit Healer (Area: Ruby Lifeshrine - Difficulty: 0) (Auras: 9036 - Ghost; 10848 - Shroud of Death) +(@CGUID+4, 6491, 2444, 13644, 13732, '0', 0, 0, 0, 0, 865.8194580078125, 953.39239501953125, 109.1649246215820312, 0.786303639411926269, 120, 0, 0, 152441, 0, 0, 0, 0, 0, 47967), -- Spirit Healer (Area: Dragonscale Basecamp - Difficulty: 0) (Auras: 9036 - Ghost; 10848 - Shroud of Death) +(@CGUID+5, 6491, 2444, 13644, 13738, '0', 0, 0, 0, 0, 2049.6494140625, 1101.579833984375, 336.843536376953125, 4.135297775268554687, 120, 0, 0, 152441, 0, 0, 0, 0, 0, 47967), -- Spirit Healer (Area: Obsidian Observatory - Difficulty: 0) (Auras: 9036 - Ghost; 10848 - Shroud of Death) +(@CGUID+6, 6491, 2444, 13644, 13720, '0', 0, 0, 0, 0, 1823.095458984375, 2206.944580078125, 108.0606689453125, 3.782532930374145507, 120, 0, 0, 152441, 0, 0, 0, 0, 0, 47967), -- Spirit Healer (Area: Dragonbane Keep - Difficulty: 0) (Auras: 9036 - Ghost; 10848 - Shroud of Death) +(@CGUID+7, 6491, 2444, 13644, 13710, '0', 0, 0, 0, 0, 3276.62158203125, 197.890625, 81.462188720703125, 2.375572681427001953, 120, 0, 0, 152441, 0, 0, 0, 0, 0, 47967); -- Spirit Healer (Area: Uktulut Backwater - Difficulty: 0) (Auras: 9036 - Ghost; 10848 - Shroud of Death) + +-- Graveyard +DELETE FROM `graveyard_zone` WHERE `ID` BETWEEN @GGUID+0 AND @GGUID+7; +INSERT INTO `graveyard_zone` (`ID`, `GhostZone`, `Faction`, `Comment`) VALUES +(@GGUID+0, 13644, 0, 'Waking Shores - Wild Coast'), +(@GGUID+1, 13644, 0, 'Waking Shores - Restless Wetlands'), +(@GGUID+2, 13644, 0, 'Waking Shores - Life Vault Ruins'), +(@GGUID+3, 13644, 0, 'Waking Shores - Ruby Lifeshrine'), +(@GGUID+4, 13644, 0, 'Waking Shores - Dragonscale Basecamp'), +(@GGUID+5, 13644, 0, 'Waking Shores - Obsidian Obversatory'), +(@GGUID+6, 13644, 0, 'Waking Shores - Dragonbane Keep'), +(@GGUID+7, 13644, 0, 'Waking Shores - Uktulut Backwater'); + +DELETE FROM `world_safe_locs` WHERE `ID` BETWEEN @GGUID+0 AND @GGUID+7; +INSERT INTO `world_safe_locs` (`ID`, `MapID`, `LocX`, `LocY`, `LocZ`, `Facing`, `Comment`) VALUES +(@GGUID+0, 2444, 3661.49, -1483.7, 70.4014, 1.4552468, 'Waking Shores - Wild Coast - GY'), +(@GGUID+1, 2444, 3189.202, -1165.277, 42.4406, 5.9955325, 'Waking Shores - Restless Wetlands - GY'), +(@GGUID+2, 2444, 2393.16, -454.778, 57.8724, 1.2887284, 'Waking Shores - Life Vault Ruins - GY'), +(@GGUID+3, 2444, 1659.79, -167.873, 332.225, 0.44770837, 'Waking Shores - Ruby Lifeshrine - GY'), +(@GGUID+4, 2444, 871.0035, 957.6719, 108.657, 3.795967, 'Waking Shores - Dragonscale Basecamp - GY'), +(@GGUID+5, 2444, 2048.6077, 1099.9896, 335.45532, 4.403522, 'Waking Shores - Obsidian Obversatory - GY'), +(@GGUID+6, 2444, 1818.6512, 2200.478, 105.340454, 3.8847609, 'Waking Shores - Dragonbane Keep - GY'), +(@GGUID+7, 2444, 3273.75, 201.943, 78.8308, 5.4467363, 'Waking Shores - Uktulut Backwater - GY'); diff --git a/sql/updates/world/master/2023_02_10_00_world.sql b/sql/updates/world/master/2023_02_10_00_world.sql new file mode 100644 index 000000000..2cac00722 --- /dev/null +++ b/sql/updates/world/master/2023_02_10_00_world.sql @@ -0,0 +1,7 @@ +SET @CGUID := 460987; + +DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+2; +INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `PhaseId`, `PhaseGroup`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `VerifiedBuild`) VALUES +(@CGUID+0, 79470, 1116, 7078, 7078, '0', 4318, 0, 0, 1, 1935.3177490234375, 339.6163330078125, 89.04918670654296875, 4.966650962829589843, 7200, 0, 0, 9852, 1283, 0, 0, 0, 0, 44232), -- Vindicator Maraad (Area: -Unknown- - Difficulty: 0) +(@CGUID+1, 79241, 1116, 7078, 7078, '0', 4318, 0, 0, 1, 1929.1805419921875, 334.369781494140625, 89.06130218505859375, 5.631825923919677734, 7200, 0, 0, 2955600, 19245, 0, 0, 0, 0, 44232), -- Prophet Velen (Area: -Unknown- - Difficulty: 0) +(@CGUID+2, 79567, 1116, 7078, 7078, '0', 4318, 0, 0, 1, 1928.1666259765625, 331.390625, 89.19445037841796875, 6.268841266632080078, 7200, 0, 0, 2463, 1283, 0, 0, 0, 0, 44232); -- Yrel (Area: -Unknown- - Difficulty: 0) (Auras: 73299 - Crazy Mana Regen, 150626 - Righteous Fury) diff --git a/sql/updates/world/master/2023_02_10_01_world.sql b/sql/updates/world/master/2023_02_10_01_world.sql new file mode 100644 index 000000000..fc6244cf2 --- /dev/null +++ b/sql/updates/world/master/2023_02_10_01_world.sql @@ -0,0 +1,84 @@ +SET @CGUID := 9002559; + +SET @GGUID := 100009; + +-- Creature +DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+41; +INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `PhaseId`, `PhaseGroup`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `VerifiedBuild`) VALUES +(@CGUID+0, 196371, 2444, 13645, 13645, '0', 0, 0, 0, 0, 333.217010498046875, 439.89410400390625, 358.18536376953125, 2.368857860565185546, 120, 0, 0, 53729, 0, 0, 0, 0, 0, 48001), -- Spirit Ohuna (Area: Ohn'ahran Plains - Difficulty: 0) (Auras: 9036 - Ghost, 10848 - Shroud of Death) +(@CGUID+1, 196371, 2444, 13645, 13645, '0', 0, 0, 0, 0, 340.451385498046875, 456.84027099609375, 356.701446533203125, 3.384361028671264648, 120, 0, 0, 53729, 0, 0, 0, 0, 0, 48001), -- Spirit Ohuna (Area: Ohn'ahran Plains - Difficulty: 0) (Auras: 9036 - Ghost, 10848 - Shroud of Death) +(@CGUID+2, 196371, 2444, 13645, 13645, '0', 0, 0, 0, 0, 306.944610595703125, 473.757568359375, 362.458251953125, 3.7519989013671875, 120, 0, 0, 53729, 0, 0, 0, 0, 0, 48001), -- Spirit Ohuna (Area: Ohn'ahran Plains - Difficulty: 0) (Auras: 9036 - Ghost, 10848 - Shroud of Death) +(@CGUID+3, 6491, 2444, 13645, 13645, '0', 0, 0, 0, 0, 329.314239501953125, 452.3125, 351.61395263671875, 5.596318721771240234, 120, 0, 0, 152441, 0, 0, 0, 0, 0, 48001), -- Spirit Healer (Area: Ohn'ahran Plains - Difficulty: 0) (Auras: 9036 - Ghost; 10848 - Shroud of Death) +(@CGUID+4, 6491, 2444, 13645, 13645, '0', 0, 0, 0, 0, -942.77777099609375, 1071.890625, 426.5098876953125, 0.672579169273376464, 120, 0, 0, 152441, 0, 0, 0, 0, 0, 48001), -- Spirit Healer (Area: Ohn'ahran Plains - Difficulty: 0) (Auras: 9036 - Ghost, 10848 - Shroud of Death) +(@CGUID+5, 196371, 2444, 13645, 13645, '0', 0, 0, 0, 0, -931.73785400390625, 1070.7742919921875, 432.681182861328125, 3.425750732421875, 120, 0, 0, 53729, 0, 0, 0, 0, 0, 48001), -- Spirit Ohuna (Area: Ohn'ahran Plains - Difficulty: 0) (Auras: 9036 - Ghost, 10848 - Shroud of Death) +(@CGUID+6, 196371, 2444, 13645, 13645, '0', 0, 0, 0, 0, -941.72918701171875, 1080.501708984375, 435.9376220703125, 3.831830739974975585, 120, 0, 0, 53729, 0, 0, 0, 0, 0, 48001), -- Spirit Ohuna (Area: Ohn'ahran Plains - Difficulty: 0) (Auras: 9036 - Ghost, 10848 - Shroud of Death) +(@CGUID+7, 196371, 2444, 13645, 13645, '0', 0, 0, 0, 0, -935.90374755859375, 1047.9063720703125, 443.14471435546875, 4.184734344482421875, 120, 0, 0, 53729, 0, 0, 0, 0, 0, 48001), -- Spirit Ohuna (Area: Ohn'ahran Plains - Difficulty: 0) (Auras: 9036 - Ghost; 10848 - Shroud of Death) +(@CGUID+8, 196371, 2444, 13645, 13645, '0', 0, 0, 0, 0, -2730.595458984375, 1182.9583740234375, 562.53656005859375, 4.99560546875, 120, 0, 0, 53729, 0, 0, 0, 0, 0, 48001), -- Spirit Ohuna (Area: Ohn'ahran Plains - Difficulty: 0) (Auras: 9036 - Ghost, 10848 - Shroud of Death) +(@CGUID+9, 6491, 2444, 13645, 13645, '0', 0, 0, 0, 0, -2727.625, 1167.8055419921875, 555.73187255859375, 2.518459796905517578, 120, 0, 0, 152441, 0, 0, 0, 0, 0, 48001), -- Spirit Healer (Area: Ohn'ahran Plains - Difficulty: 0) (Auras: 9036 - Ghost, 10848 - Shroud of Death) +(@CGUID+10, 196371, 2444, 13645, 13645, '0', 0, 0, 0, 0, -2738.359375, 1169.142333984375, 567.14007568359375, 5.917953968048095703, 120, 0, 0, 53729, 0, 0, 0, 0, 0, 48001), -- Spirit Ohuna (Area: Ohn'ahran Plains - Difficulty: 0) (Auras: 9036 - Ghost, 10848 - Shroud of Death) +(@CGUID+11, 196371, 2444, 13645, 13645, '0', 0, 0, 0, 0, -2701.684326171875, 1175.1541748046875, 568.5289306640625, 5.391199588775634765, 120, 0, 0, 53729, 0, 0, 0, 0, 0, 48001), -- Spirit Ohuna (Area: Ohn'ahran Plains - Difficulty: 0) (Auras: 9036 - Ghost; 10848 - Shroud of Death) +(@CGUID+12, 196371, 2444, 13645, 13645, '0', 0, 0, 0, 0, -2005.7100830078125, 1835.3072509765625, 529.4154052734375, 0.006444317288696765, 120, 0, 0, 53729, 0, 0, 0, 0, 0, 48001), -- Spirit Ohuna (Area: Ohn'ahran Plains - Difficulty: 0) (Auras: 9036 - Ghost, 10848 - Shroud of Death) +(@CGUID+13, 196371, 2444, 13645, 13645, '0', 0, 0, 0, 0, -1990.52783203125, 1816.96875, 528.8441162109375, 1.086918115615844726, 120, 0, 0, 53729, 0, 0, 0, 0, 0, 48001), -- Spirit Ohuna (Area: Ohn'ahran Plains - Difficulty: 0) (Auras: 9036 - Ghost, 10848 - Shroud of Death) +(@CGUID+14, 196371, 2444, 13645, 13645, '0', 0, 0, 0, 0, -1964.012451171875, 1849.076904296875, 536.155029296875, 2.168022871017456054, 120, 0, 0, 53729, 0, 0, 0, 0, 0, 48001), -- Spirit Ohuna (Area: Ohn'ahran Plains - Difficulty: 0) (Auras: 9036 - Ghost, 10848 - Shroud of Death) +(@CGUID+15, 6491, 2444, 13645, 13645, '0', 0, 0, 0, 0, -1990.3785400390625, 1827.763916015625, 521.57110595703125, 3.90951085090637207, 120, 0, 0, 152441, 0, 0, 0, 0, 0, 48001), -- Spirit Healer (Area: Ohn'ahran Plains - Difficulty: 0) (Auras: 9036 - Ghost; 10848 - Shroud of Death) +(@CGUID+16, 196371, 2444, 13645, 13645, '0', 0, 0, 0, 0, -1690.611083984375, 2719.861083984375, 563.3074951171875, 0.976638674736022949, 120, 0, 0, 53729, 0, 0, 0, 0, 0, 48001), -- Spirit Ohuna (Area: Ohn'ahran Plains - Difficulty: 0) (Auras: 9036 - Ghost, 10848 - Shroud of Death) +(@CGUID+17, 6491, 2444, 13645, 13645, '0', 0, 0, 0, 0, -1688.7222900390625, 2728.459228515625, 556.73577880859375, 3.792127132415771484, 120, 0, 0, 152441, 0, 0, 0, 0, 0, 48001), -- Spirit Healer (Area: Ohn'ahran Plains - Difficulty: 0) (Auras: 9036 - Ghost, 10848 - Shroud of Death) +(@CGUID+18, 196371, 2444, 13645, 13645, '0', 0, 0, 0, 0, -1725.2191162109375, 2697.70263671875, 562.2828369140625, 3.039181709289550781, 120, 0, 0, 53729, 0, 0, 0, 0, 0, 48001), -- Spirit Ohuna (Area: Ohn'ahran Plains - Difficulty: 0) (Auras: 9036 - Ghost, 10848 - Shroud of Death) +(@CGUID+19, 196371, 2444, 13645, 13645, '0', 0, 0, 0, 0, -1685.2591552734375, 2760.2890625, 572.210693359375, 3.637117862701416015, 120, 0, 0, 53729, 0, 0, 0, 0, 0, 48001), -- Spirit Ohuna (Area: Ohn'ahran Plains - Difficulty: 0) (Auras: 9036 - Ghost, 10848 - Shroud of Death) +(@CGUID+20, 196371, 2444, 13645, 13645, '0', 0, 0, 0, 0, -1703.4063720703125, 2778.1572265625, 575.49676513671875, 3.637031078338623046, 120, 0, 0, 53729, 0, 0, 0, 0, 0, 48001), -- Spirit Ohuna (Area: Ohn'ahran Plains - Difficulty: 0) (Auras: 9036 - Ghost, 10848 - Shroud of Death) +(@CGUID+21, 196371, 2444, 13645, 13645, '0', 0, 0, 0, 0, -1708.7952880859375, 2692.35498046875, 577.46038818359375, 3.039164304733276367, 120, 0, 0, 53729, 0, 0, 0, 0, 0, 48001), -- Spirit Ohuna (Area: Ohn'ahran Plains - Difficulty: 0) (Auras: 9036 - Ghost, 10848 - Shroud of Death) +(@CGUID+22, 196371, 2444, 13645, 13645, '0', 0, 0, 0, 0, -1701.03125, 2735.173583984375, 562.75537109375, 0.236438125371932983, 120, 0, 0, 53729, 0, 0, 0, 0, 0, 48001), -- Spirit Ohuna (Area: Ohn'ahran Plains - Difficulty: 0) (Auras: 9036 - Ghost; 10848 - Shroud of Death) +(@CGUID+23, 196371, 2444, 13645, 13645, '0', 0, 0, 0, 0, -1745.3131103515625, 3935.115478515625, 526.520751953125, 3.823246955871582031, 120, 0, 0, 53729, 0, 0, 0, 0, 0, 48001), -- Spirit Ohuna (Area: Ohn'ahran Plains - Difficulty: 0) (Auras: 9036 - Ghost, 10848 - Shroud of Death) +(@CGUID+24, 6491, 2444, 13645, 13645, '0', 0, 0, 0, 0, -1749.921875, 3913.90966796875, 513.8048095703125, 3.379526376724243164, 120, 0, 0, 152441, 0, 0, 0, 0, 0, 48001), -- Spirit Healer (Area: Ohn'ahran Plains - Difficulty: 0) (Auras: 9036 - Ghost, 10848 - Shroud of Death) +(@CGUID+25, 196371, 2444, 13645, 13645, '0', 0, 0, 0, 0, -1758.19970703125, 3906.612060546875, 520.5093994140625, 0.624623119831085205, 120, 0, 0, 53729, 0, 0, 0, 0, 0, 48001), -- Spirit Ohuna (Area: Ohn'ahran Plains - Difficulty: 0) (Auras: 9036 - Ghost, 10848 - Shroud of Death) +(@CGUID+26, 196371, 2444, 13645, 13645, '0', 0, 0, 0, 0, -1762.8629150390625, 3919.819580078125, 519.76043701171875, 5.919104576110839843, 120, 0, 0, 53729, 0, 0, 0, 0, 0, 48001), -- Spirit Ohuna (Area: Ohn'ahran Plains - Difficulty: 0) (Auras: 9036 - Ghost; 10848 - Shroud of Death) +(@CGUID+27, 196371, 2444, 13645, 13669, '0', 0, 0, 0, 0, -1332.9931640625, 4664.6201171875, 105.0249252319335937, 3.433891057968139648, 120, 0, 0, 53729, 0, 0, 0, 0, 0, 48001), -- Spirit Ohuna (Area: Emerald Gardens - Difficulty: 0) (Auras: 9036 - Ghost, 10848 - Shroud of Death) +(@CGUID+28, 196371, 2444, 13645, 13669, '0', 0, 0, 0, 0, -1330.2135009765625, 4697.322265625, 100.9406280517578125, 1.841632843017578125, 120, 0, 0, 53729, 0, 0, 0, 0, 0, 48001), -- Spirit Ohuna (Area: Emerald Gardens - Difficulty: 0) (Auras: 9036 - Ghost, 10848 - Shroud of Death) +(@CGUID+29, 196371, 2444, 13645, 13669, '0', 0, 0, 0, 0, -1347.4739990234375, 4699.37353515625, 98.819122314453125, 0.618799865245819091, 120, 0, 0, 53729, 0, 0, 0, 0, 0, 48001), -- Spirit Ohuna (Area: Emerald Gardens - Difficulty: 0) (Auras: 9036 - Ghost, 10848 - Shroud of Death) +(@CGUID+30, 6491, 2444, 13645, 13669, '0', 0, 0, 0, 0, -1336.845458984375, 4713.1103515625, 97.3589324951171875, 4.63675546646118164, 120, 0, 0, 152441, 0, 0, 0, 0, 0, 48001), -- Spirit Healer (Area: Emerald Gardens - Difficulty: 0) (Auras: 9036 - Ghost; 10848 - Shroud of Death) +(@CGUID+31, 196371, 2444, 13645, 13645, '0', 0, 0, 0, 0, -463.140625, 3449.537353515625, 363.993988037109375, 5.310307979583740234, 120, 0, 0, 53729, 0, 0, 0, 0, 0, 48001), -- Spirit Ohuna (Area: Ohn'ahran Plains - Difficulty: 0) (Auras: 9036 - Ghost, 10848 - Shroud of Death) +(@CGUID+32, 6491, 2444, 13645, 13645, '0', 0, 0, 0, 0, -458.369781494140625, 3439.77685546875, 359.6009521484375, 2.559528350830078125, 120, 0, 0, 152441, 0, 0, 0, 0, 0, 48001), -- Spirit Healer (Area: Ohn'ahran Plains - Difficulty: 0) (Auras: 9036 - Ghost, 10848 - Shroud of Death) +(@CGUID+33, 196371, 2444, 13645, 13645, '0', 0, 0, 0, 0, -470.34027099609375, 3438.65966796875, 364.931396484375, 0.135353028774261474, 120, 0, 0, 53729, 0, 0, 0, 0, 0, 48001), -- Spirit Ohuna (Area: Ohn'ahran Plains - Difficulty: 0) (Auras: 9036 - Ghost, 10848 - Shroud of Death) +(@CGUID+34, 196371, 2444, 13645, 13645, '0', 0, 0, 0, 0, -425.850982666015625, 3443.1220703125, 372.236724853515625, 1.802985429763793945, 120, 0, 0, 53729, 0, 0, 0, 0, 0, 48001), -- Spirit Ohuna (Area: Ohn'ahran Plains - Difficulty: 0) (Auras: 9036 - Ghost; 10848 - Shroud of Death) +(@CGUID+35, 196371, 2444, 13645, 13645, '0', 0, 0, 0, 0, -533.06427001953125, 2530.02783203125, 444.8853759765625, 4.727198123931884765, 120, 0, 0, 53729, 0, 0, 0, 0, 0, 48001), -- Spirit Ohuna (Area: Ohn'ahran Plains - Difficulty: 0) (Auras: 9036 - Ghost, 10848 - Shroud of Death) +(@CGUID+36, 196371, 2444, 13645, 13645, '0', 0, 0, 0, 0, -541.77410888671875, 2497.800048828125, 455.912322998046875, 5.508421897888183593, 120, 0, 0, 53729, 0, 0, 0, 0, 0, 48001), -- Spirit Ohuna (Area: Ohn'ahran Plains - Difficulty: 0) (Auras: 9036 - Ghost, 10848 - Shroud of Death) +(@CGUID+37, 6491, 2444, 13645, 13645, '0', 0, 0, 0, 0, -537.80206298828125, 2523.8681640625, 442.819000244140625, 1.936972975730895996, 120, 0, 0, 152441, 0, 0, 0, 0, 0, 48001), -- Spirit Healer (Area: Ohn'ahran Plains - Difficulty: 0) (Auras: 9036 - Ghost, 10848 - Shroud of Death) +(@CGUID+38, 196371, 2444, 13645, 13645, '0', 0, 0, 0, 0, -550.92706298828125, 2512.28125, 446.3868408203125, 0.408767521381378173, 120, 0, 0, 53729, 0, 0, 0, 0, 0, 48001), -- Spirit Ohuna (Area: Ohn'ahran Plains - Difficulty: 0) (Auras: 9036 - Ghost, 10848 - Shroud of Death) +(@CGUID+39, 196371, 2444, 13645, 13645, '0', 0, 0, 0, 0, -574.108154296875, 2534.517578125, 450.57427978515625, 1.421832442283630371, 120, 0, 0, 53729, 0, 0, 0, 0, 0, 48001), -- Spirit Ohuna (Area: Ohn'ahran Plains - Difficulty: 0) (Auras: 9036 - Ghost, 10848 - Shroud of Death) +(@CGUID+40, 196371, 2444, 13645, 13645, '0', 0, 0, 0, 0, -550.0086669921875, 2526.05908203125, 445.403350830078125, 5.379051685333251953, 120, 0, 0, 53729, 0, 0, 0, 0, 0, 48001), -- Spirit Ohuna (Area: Ohn'ahran Plains - Difficulty: 0) (Auras: 9036 - Ghost, 10848 - Shroud of Death) +(@CGUID+41, 196371, 2444, 13645, 13645, '0', 0, 0, 0, 0, -559.90606689453125, 2537.881591796875, 441.405517578125, 5.508413314819335937, 120, 0, 0, 53729, 0, 0, 0, 0, 0, 48001); -- Spirit Ohuna (Area: Ohn'ahran Plains - Difficulty: 0) (Auras: 9036 - Ghost; 10848 - Shroud of Death) + +DELETE FROM `creature_template_addon` WHERE `entry`=196371; +INSERT INTO `creature_template_addon` (`entry`, `path_id`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES +(196371, 0, 0, 0, 3, 1, 1, 0, 0, 0, 0, 0, 0, '9036 10848'); -- 196371 (Spirit Ohuna) - Ghost; Shroud of Death + +UPDATE `creature_template` SET `minlevel`=65, `maxlevel`=65, `faction`=35, `BaseAttackTime`=2000, `unit_flags`=32768, `unit_flags2`=2048, `unit_flags3`=16777216, `flags_extra`= 1024 WHERE `entry`=196371; -- Spirit Ohuna + +DELETE FROM `creature_template_movement` WHERE `CreatureId` = 196371; +INSERT INTO `creature_template_movement` (`CreatureId`, `Ground`, `Swim`, `Flight`, `Rooted`, `Chase`, `Random`, `InteractionPauseTimer`) VALUES +(196371, 0, 0, 1, 0, 0, 0, NULL); + +-- Graveyard +DELETE FROM `graveyard_zone` WHERE `ID` BETWEEN @GGUID+0 AND @GGUID+8; +INSERT INTO `graveyard_zone` (`ID`, `GhostZone`, `Faction`, `Comment`) VALUES +(@GGUID+0, 13645, 0, 'Ohn´ahran Plains - Timberstep Outpost'), +(@GGUID+1, 13645, 0, 'Ohn´ahran Plains - The Watering Hole'), +(@GGUID+2, 13645, 0, 'Ohn´ahran Plains - Forkriver Crossing'), +(@GGUID+3, 13645, 0, 'Ohn´ahran Plains - Windsong Rise'), +(@GGUID+4, 13645, 0, 'Ohn´ahran Plains - Mirror of the Sky'), +(@GGUID+5, 13645, 0, 'Ohn´ahran Plains - Terrakai'), +(@GGUID+6, 13645, 0, 'Ohn´ahran Plains - Emerald Gardens'), +(@GGUID+7, 13645, 0, 'Ohn´ahran Plains - The Nokhud Approach'), +(@GGUID+8, 13645, 0, 'Ohn´ahran Plains - Maruukai'); + +DELETE FROM `world_safe_locs` WHERE `ID` BETWEEN @GGUID+0 AND @GGUID+8; +INSERT INTO `world_safe_locs` (`ID`, `MapID`, `LocX`, `LocY`, `LocZ`, `Facing`, `Comment`) VALUES +(@GGUID+0, 2444, 338.174, 447.85, 351.324, 2.66051, 'Ohn´ahran Plains - Timberstep Outpost - GY'), +(@GGUID+1, 2444, -937.77954, 1071.8317, 426.13962, 3.425949, 'Ohn´ahran Plains - The Watering Hole - GY'), +(@GGUID+2, 2444, -2738.67, 1173.05, 556.763, 5.9147987, 'Ohn´ahran Plains - Forkriver Crossing - GY'), +(@GGUID+3, 2444, -2000.6771, 1831.6337, 522.2361, 6.0211473, 'Ohn´ahran Plains - Windsong Rise - GY'), +(@GGUID+4, 2444, -1694.0903, 2729.434, 556.29785, 6.197409, 'Ohn´ahran Plains - Mirror of the Sky - GY'), +(@GGUID+5, 2444, -1754.1649, 3913.5034, 513.5921, 0.037202228, 'Ohn´ahran Plains - Terrakai - GY'), +(@GGUID+6, 2444, -1336.8802, 4707.508, 95.21991, 1.5740986, 'Ohn´ahran Plains - Emerald Gardens - GY'), +(@GGUID+7, 2444, -460.56772, 3442.1284, 359.38348, 5.8171844, 'Ohn´ahran Plains - The Nokhud Approach - GY'), +(@GGUID+8, 2444, -539.2518, 2527.6165, 440.60355, 5.0837946, 'Ohn´ahran Plains - Maruukai - GY'); diff --git a/sql/updates/world/master/2023_02_11_00_world.sql b/sql/updates/world/master/2023_02_11_00_world.sql new file mode 100644 index 000000000..2d7ecd94b --- /dev/null +++ b/sql/updates/world/master/2023_02_11_00_world.sql @@ -0,0 +1,145 @@ +-- Update Vendor 53641 1294 1295 1291 +DELETE FROM `npc_vendor` WHERE `entry` IN (53641, 1294, 1295, 1291); +INSERT INTO `npc_vendor` (`entry`, `slot`, `item`, `maxcount`, `ExtendedCost`, `type`, `PlayerConditionID`, `IgnoreFiltering`, `VerifiedBuild`) VALUES +(53641, 48, 52533, 0, 0, 1, 0, 0, 48001), -- Squire's Boots +(53641, 47, 43, 0, 0, 1, 0, 0, 48001), -- Squire's Boots +(53641, 46, 23477, 0, 0, 1, 0, 0, 48001), -- Squire's Pants +(53641, 45, 44, 0, 0, 1, 0, 0, 48001), -- Squire's Pants +(53641, 44, 58242, 0, 0, 1, 0, 0, 48001), -- Squire's Vest +(53641, 43, 58233, 0, 0, 1, 0, 0, 48001), -- Squire's Vest +(53641, 42, 40, 0, 0, 1, 0, 0, 48001), -- Recruit's Boots +(53641, 41, 23475, 0, 0, 1, 0, 0, 48001), -- Recruit's Boots +(53641, 40, 6122, 0, 0, 1, 0, 0, 48001), -- Recruit's Boots +(53641, 39, 6121, 0, 0, 1, 0, 0, 48001), -- Recruit's Pants +(53641, 38, 23474, 0, 0, 1, 0, 0, 48001), -- Recruit's Pants +(53641, 37, 39, 0, 0, 1, 0, 0, 48001), -- Recruit's Pants +(53641, 36, 58244, 0, 0, 1, 0, 0, 48001), -- Recruit's Vest +(53641, 35, 58231, 0, 0, 1, 0, 0, 48001), -- Recruit's Vest +(53641, 34, 58243, 0, 0, 1, 0, 0, 48001), -- Recruit's Vest +(53641, 33, 2448, 0, 0, 1, 0, 0, 48001), -- Heavy Pavise +(53641, 32, 17189, 0, 0, 1, 0, 0, 48001), -- Metal Buckler +(53641, 31, 3891, 0, 0, 1, 0, 0, 48001), -- Augmented Chain Helm +(53641, 30, 2422, 0, 0, 1, 0, 0, 48001), -- Augmented Chain Gloves +(53641, 29, 2421, 0, 0, 1, 0, 0, 48001), -- Augmented Chain Bracers +(53641, 28, 2420, 0, 0, 1, 0, 0, 48001), -- Augmented Chain Boots +(53641, 27, 2418, 0, 0, 1, 0, 0, 48001), -- Augmented Chain Leggings +(53641, 26, 2419, 0, 0, 1, 0, 0, 48001), -- Augmented Chain Belt +(53641, 25, 2417, 0, 0, 1, 0, 0, 48001), -- Augmented Chain Vest +(53641, 24, 2451, 0, 0, 1, 0, 0, 48001), -- Crested Heater Shield +(53641, 23, 17190, 0, 0, 1, 0, 0, 48001), -- Ornate Buckler +(53641, 22, 8092, 0, 0, 1, 0, 0, 48001), -- Platemail Helm +(53641, 21, 8091, 0, 0, 1, 0, 0, 48001), -- Platemail Gloves +(53641, 20, 8090, 0, 0, 1, 0, 0, 48001), -- Platemail Bracers +(53641, 19, 8089, 0, 0, 1, 0, 0, 48001), -- Platemail Boots +(53641, 18, 8093, 0, 0, 1, 0, 0, 48001), -- Platemail Leggings +(53641, 17, 8088, 0, 0, 1, 0, 0, 48001), -- Platemail Belt +(53641, 16, 8094, 0, 0, 1, 0, 0, 48001), -- Platemail Armor +(53641, 15, 3894, 0, 0, 1, 0, 0, 48001), -- Brigandine Helm +(53641, 14, 2428, 0, 0, 1, 0, 0, 48001), -- Brigandine Gloves +(53641, 13, 2427, 0, 0, 1, 0, 0, 48001), -- Brigandine Bracers +(53641, 12, 2426, 0, 0, 1, 0, 0, 48001), -- Brigandine Boots +(53641, 11, 2425, 0, 0, 1, 0, 0, 48001), -- Brigandine Leggings +(53641, 10, 2424, 0, 0, 1, 0, 0, 48001), -- Brigandine Belt +(53641, 9, 2423, 0, 0, 1, 0, 0, 48001), -- Brigandine Vest +(53641, 8, 2446, 0, 0, 1, 0, 1, 48001), -- Kite Shield +(53641, 7, 17192, 0, 0, 1, 0, 1, 48001), -- Reinforced Targe +(53641, 6, 2151, 0, 0, 1, 0, 1, 48001), -- Polished Scale Gloves +(53641, 5, 2150, 0, 0, 1, 0, 1, 48001), -- Polished Scale Bracers +(53641, 4, 2149, 0, 0, 1, 0, 1, 48001), -- Polished Scale Boots +(53641, 3, 2152, 0, 0, 1, 0, 1, 48001), -- Polished Scale Leggings +(53641, 2, 2148, 0, 0, 1, 0, 1, 48001), -- Polished Scale Belt +(53641, 1, 2153, 0, 0, 1, 0, 1, 48001), -- Polished Scale Vest +(1294, 29, 52539, 0, 0, 1, 0, 0, 48001), -- Primal Pants +(1294, 28, 52540, 0, 0, 1, 0, 0, 48001), -- Primal Boots +(1294, 27, 52535, 0, 0, 1, 0, 0, 48001), -- Primal Pants +(1294, 26, 52538, 0, 0, 1, 0, 0, 48001), -- Primal Robe +(1294, 25, 52534, 0, 0, 1, 0, 0, 48001), -- Primal Robe +(1294, 24, 23348, 0, 0, 1, 0, 0, 48001), -- Scout's Boots +(1294, 23, 23344, 0, 0, 1, 0, 0, 48001), -- Scout's Pants +(1294, 22, 58240, 0, 0, 1, 0, 0, 48001), -- Scout's Vest +(1294, 21, 129, 0, 0, 1, 0, 0, 48001), -- Rugged Trapper's Boots +(1294, 20, 147, 0, 0, 1, 0, 0, 48001), -- Rugged Trapper's Pants +(1294, 19, 58232, 0, 0, 1, 0, 0, 48001), -- Rugged Trapper's Vest +(1294, 18, 718, 0, 0, 1, 0, 1, 48001), -- Scalemail Gloves +(1294, 17, 1852, 0, 0, 1, 0, 1, 48001), -- Scalemail Bracers +(1294, 16, 287, 0, 0, 1, 0, 1, 48001), -- Scalemail Boots +(1294, 15, 286, 0, 0, 1, 0, 1, 48001), -- Scalemail Pants +(1294, 14, 1853, 0, 0, 1, 0, 1, 48001), -- Scalemail Belt +(1294, 13, 285, 0, 0, 1, 0, 1, 48001), -- Scalemail Vest +(1294, 12, 850, 0, 0, 1, 0, 0, 48001), -- Chainmail Gloves +(1294, 11, 1846, 0, 0, 1, 0, 0, 48001), -- Chainmail Bracers +(1294, 10, 849, 0, 0, 1, 0, 0, 48001), -- Chainmail Boots +(1294, 9, 848, 0, 0, 1, 0, 0, 48001), -- Chainmail Pants +(1294, 8, 1845, 0, 0, 1, 0, 0, 48001), -- Chainmail Belt +(1294, 7, 847, 0, 0, 1, 0, 0, 48001), -- Chainmail Armor +(1294, 6, 2397, 0, 0, 1, 0, 0, 48001), -- Light Mail Gloves +(1294, 5, 2396, 0, 0, 1, 0, 0, 48001), -- Light Mail Bracers +(1294, 4, 2395, 0, 0, 1, 0, 0, 48001), -- Light Mail Boots +(1294, 3, 2394, 0, 0, 1, 0, 0, 48001), -- Light Mail Leggings +(1294, 2, 2393, 0, 0, 1, 0, 0, 48001), -- Light Mail Belt +(1294, 1, 2392, 0, 0, 1, 0, 0, 48001), -- Light Mail Armor +(1295, 23, 6124, 0, 0, 1, 0, 0, 48001), -- Novice's Pants +(1295, 22, 6123, 0, 0, 1, 0, 0, 48001), -- Novice's Robe +(1295, 21, 47, 0, 0, 1, 0, 0, 48001), -- Footpad's Shoes +(1295, 20, 48, 0, 0, 1, 0, 0, 48001), -- Footpad's Pants +(1295, 19, 58234, 0, 0, 1, 0, 0, 48001), -- Footpad's Vest +(1295, 18, 239, 0, 0, 1, 0, 0, 48001), -- Cured Leather Gloves +(1295, 17, 1850, 0, 0, 1, 0, 0, 48001), -- Cured Leather Bracers +(1295, 16, 238, 0, 0, 1, 0, 0, 48001), -- Cured Leather Boots +(1295, 15, 237, 0, 0, 1, 0, 0, 48001), -- Cured Leather Pants +(1295, 14, 1849, 0, 0, 1, 0, 0, 48001), -- Cured Leather Belt +(1295, 13, 236, 0, 0, 1, 0, 0, 48001), -- Cured Leather Armor +(1295, 12, 844, 0, 0, 1, 0, 1, 48001), -- Tanned Leather Gloves +(1295, 11, 1844, 0, 0, 1, 0, 1, 48001), -- Tanned Leather Bracers +(1295, 10, 843, 0, 0, 1, 0, 1, 48001), -- Tanned Leather Boots +(1295, 9, 845, 0, 0, 1, 0, 1, 48001), -- Tanned Leather Pants +(1295, 8, 1843, 0, 0, 1, 0, 1, 48001), -- Tanned Leather Belt +(1295, 7, 846, 0, 0, 1, 0, 1, 48001), -- Tanned Leather Jerkin +(1295, 6, 797, 0, 0, 1, 0, 1, 48001), -- Rough Leather Gloves +(1295, 5, 1840, 0, 0, 1, 0, 1, 48001), -- Rough Leather Bracers +(1295, 4, 796, 0, 0, 1, 0, 1, 48001), -- Rough Leather Boots +(1295, 3, 798, 0, 0, 1, 0, 1, 48001), -- Rough Leather Pants +(1295, 2, 1839, 0, 0, 1, 0, 1, 48001), -- Rough Leather Belt +(1295, 1, 799, 0, 0, 1, 0, 1, 48001), -- Rough Leather Vest +(1291, 42, 6118, 0, 0, 1, 0, 0, 48001), -- Squire's Pants +(1291, 41, 23349, 0, 0, 1, 0, 0, 48001), -- -Unknown- +(1291, 40, 23350, 0, 0, 1, 0, 0, 48001), -- Battleworn Pants +(1291, 39, 23478, 0, 0, 1, 0, 0, 48001), -- Recruit's Pants +(1291, 38, 23479, 0, 0, 1, 0, 0, 48001), -- Recruit's Robe +(1291, 37, 23472, 0, 0, 1, 0, 0, 48001), -- -Unknown- +(1291, 36, 23471, 0, 0, 1, 0, 0, 48001), -- Rugged Trapper's Pants +(1291, 35, 59, 0, 0, 1, 0, 0, 48001), -- Acolyte's Shoes +(1291, 34, 1396, 0, 0, 1, 0, 0, 48001), -- Acolyte's Pants +(1291, 33, 23322, 0, 0, 1, 0, 0, 48001), -- Acolyte's Robe +(1291, 32, 57, 0, 0, 1, 0, 0, 48001), -- Acolyte's Robe +(1291, 31, 52554, 0, 0, 1, 0, 0, 48001), -- Apprentice's Boots +(1291, 30, 52553, 0, 0, 1, 0, 0, 48001), -- Apprentice's Robe +(1291, 29, 55, 0, 0, 1, 0, 0, 48001), -- Apprentice's Boots +(1291, 28, 1395, 0, 0, 1, 0, 0, 48001), -- Apprentice's Pants +(1291, 27, 56, 0, 0, 1, 0, 0, 48001), -- Apprentice's Robe +(1291, 26, 6116, 0, 0, 1, 0, 0, 48001), -- Apprentice's Robe +(1291, 25, 52, 0, 0, 1, 0, 0, 48001), -- Neophyte's Pants +(1291, 24, 51, 0, 0, 1, 0, 0, 48001), -- Neophyte's Boots +(1291, 23, 6098, 0, 0, 1, 0, 0, 48001), -- Neophyte's Robe +(1291, 22, 6119, 0, 0, 1, 0, 0, 48001), -- Neophyte's Robe +(1291, 21, 203, 0, 0, 1, 0, 0, 48001), -- Thick Cloth Gloves +(1291, 20, 3598, 0, 0, 1, 0, 0, 48001), -- Thick Cloth Bracers +(1291, 19, 202, 0, 0, 1, 0, 0, 48001), -- Thick Cloth Shoes +(1291, 18, 201, 0, 0, 1, 0, 0, 48001), -- Thick Cloth Pants +(1291, 17, 3597, 0, 0, 1, 0, 0, 48001), -- Thick Cloth Belt +(1291, 16, 200, 0, 0, 1, 0, 0, 48001), -- Thick Cloth Vest +(1291, 15, 16060, 0, 0, 1, 0, 0, 48001), -- Common White Shirt +(1291, 14, 3428, 0, 0, 1, 0, 0, 48001), -- Common Gray Shirt +(1291, 13, 16059, 0, 0, 1, 0, 0, 48001), -- Common Brown Shirt +(1291, 12, 839, 0, 0, 1, 0, 0, 48001), -- Heavy Weave Gloves +(1291, 11, 3590, 0, 0, 1, 0, 0, 48001), -- Heavy Weave Bracers +(1291, 10, 840, 0, 0, 1, 0, 0, 48001), -- Heavy Weave Shoes +(1291, 9, 838, 0, 0, 1, 0, 0, 48001), -- Heavy Weave Pants +(1291, 8, 3589, 0, 0, 1, 0, 0, 48001), -- Heavy Weave Belt +(1291, 7, 837, 0, 0, 1, 0, 0, 48001), -- Heavy Weave Armor +(1291, 6, 793, 0, 0, 1, 0, 0, 48001), -- Knitted Gloves +(1291, 5, 3603, 0, 0, 1, 0, 0, 48001), -- Knitted Bracers +(1291, 4, 792, 0, 0, 1, 0, 0, 48001), -- Knitted Sandals +(1291, 3, 794, 0, 0, 1, 0, 0, 48001), -- Knitted Pants +(1291, 2, 3602, 0, 0, 1, 0, 0, 48001), -- Knitted Belt +(1291, 1, 795, 0, 0, 1, 0, 0, 48001); -- Knitted Tunic diff --git a/sql/updates/world/master/2023_02_11_01_world.sql b/sql/updates/world/master/2023_02_11_01_world.sql new file mode 100644 index 000000000..4f8a540da --- /dev/null +++ b/sql/updates/world/master/2023_02_11_01_world.sql @@ -0,0 +1,38 @@ +SET @CGUID := 9002601; + +-- Creature +DELETE FROM `creature` WHERE `guid` = @CGUID+0; +INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `PhaseId`, `PhaseGroup`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `VerifiedBuild`) VALUES +(@CGUID+0, 197762, 0, 1519, 5151, '0', 0, 0, 0, 0, -8660.6025390625, 816.89044189453125, 96.932769775390625, 5.40512704849243164, 120, 0, 0, 112919, 3155, 0, 0, 0, 0, 48001); -- Lord Krazore (Area: Cathedral Square - Difficulty: 0) + +UPDATE `creature_template` SET `minlevel`=70, `maxlevel`=70, `faction`=35, `BaseAttackTime`=2000, `unit_flags`=33536, `unit_flags2`=2048 WHERE `entry`=197762; -- Lord Krazore + +-- Waypoints +SET @PATH := (@CGUID+0) * 10; +DELETE FROM `waypoint_data` WHERE `id`= @PATH; +INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`) VALUES +(@PATH, 0, -8633.567, 844.2188, 96.86373, NULL, 0), +(@PATH, 1, -8649.598, 830.3646, 96.87789, NULL, 0), +(@PATH, 2, -8663.248, 820.0781, 96.86373, NULL, 0), +(@PATH, 3, -8638.279, 789.9496, 97.05326, NULL, 0), +(@PATH, 4, -8637.797, 783.9739, 97.17826, NULL, 0), +(@PATH, 5, -8664.598, 760.4757, 96.97123, NULL, 0), +(@PATH, 6, -8641.504, 731.1597, 96.89518, NULL, 0), +(@PATH, 7, -8632.5, 740.0208, 97.01419, NULL, 0), +(@PATH, 8, -8625.625, 748.8906, 97.01419, NULL, 0), +(@PATH, 9, -8615.087, 756.4739, 97.10355, NULL, 0), +(@PATH, 10, -8610.292, 761.7031, 97.01419, NULL, 0), +(@PATH, 11, -8614.332, 769.3108, 96.88443, NULL, 0), +(@PATH, 12, -8621.545, 775.5903, 96.88089, NULL, 0), +(@PATH, 13, -8628.507, 785.6302, 96.88919, NULL, 0), +(@PATH, 14, -8632.879, 798.2031, 96.78421, NULL, 0), +(@PATH, 15, -8633.535, 810.8559, 96.8254, NULL, 0), +(@PATH, 16, -8630.283, 822.7396, 96.81436, NULL, 0), +(@PATH, 17, -8601.689, 848.493, 96.99668, NULL, 0), +(@PATH, 18, -8610.458, 860.243, 96.99668, NULL, 0), +(@PATH, 19, -8617.884, 857.4271, 96.99668, NULL, 0); + +UPDATE `creature` SET `position_x`= -8633.567, `position_y`= 844.2188, `position_z`= 96.86373, `orientation`= 0, `wander_distance`= 0, `MovementType`= 2 WHERE `guid`= @CGUID+0; +DELETE FROM `creature_addon` WHERE `guid`= @CGUID+0; +INSERT INTO `creature_addon` (`guid`, `path_id`, `SheathState`) VALUES +(@CGUID+0, @PATH, 1);