diff --git a/sql/updates/world/3.3.5/2024_10_07_00_world.sql b/sql/updates/world/3.3.5/2024_10_07_00_world.sql new file mode 100644 index 0000000000..5045176144 --- /dev/null +++ b/sql/updates/world/3.3.5/2024_10_07_00_world.sql @@ -0,0 +1,74 @@ +-- +SET @GREYREF := 1056; +SET @FOODREF := 1058; +DELETE FROM `reference_loot_template` WHERE `Entry` BETWEEN @GREYREF AND @GREYREF + 1; +DELETE FROM `reference_loot_template` WHERE `Entry` = @FOODREF; +SET @REFGREY0 := @GREYREF; +-- Correct ref loot for various grey level 1 to 5 Vanilla +INSERT INTO `reference_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES +(@REFGREY0, 1364, 0, 0, 0, 1, 1, 1, 1, 'Grey 1-5 EXP 0 : Ragged Leather Vest'), +(@REFGREY0, 1366, 0, 0, 0, 1, 1, 1, 1, 'Grey 1-5 EXP 0 : Ragged Leather Pants'), +(@REFGREY0, 1367, 0, 0, 0, 1, 1, 1, 1, 'Grey 1-5 EXP 0 : Ragged Leather Boots'), +(@REFGREY0, 1368, 0, 0, 0, 1, 1, 1, 1, 'Grey 1-5 EXP 0 : Ragged Leather Gloves'), +(@REFGREY0, 1369, 0, 0, 0, 1, 1, 1, 1, 'Grey 1-5 EXP 0 : Ragged Leather Belt'), +(@REFGREY0, 1370, 0, 0, 0, 1, 1, 1, 1, 'Grey 1-5 EXP 0 : Ragged Leather Bracers'), +(@REFGREY0, 1372, 0, 0, 0, 1, 1, 1, 1, 'Grey 1-5 EXP 0 : Ragged Cloak'), +(@REFGREY0, 1374, 0, 0, 0, 1, 1, 1, 1, 'Grey 1-5 EXP 0 : Frayed Shoes'), +(@REFGREY0, 1376, 0, 0, 0, 1, 1, 1, 1, 'Grey 1-5 EXP 0 : Frayed Cloak'), +(@REFGREY0, 1377, 0, 0, 0, 1, 1, 1, 1, 'Grey 1-5 EXP 0 : Frayed Gloves'), +(@REFGREY0, 1378, 0, 0, 0, 1, 1, 1, 1, 'Grey 1-5 EXP 0 : Frayed Pants'), +(@REFGREY0, 1380, 0, 0, 0, 1, 1, 1, 1, 'Grey 1-5 EXP 0 : Frayed Robe'), +(@REFGREY0, 3363, 0, 0, 0, 1, 1, 1, 1, 'Grey 1-5 EXP 0 : Frayed Belt'), +(@REFGREY0, 3365, 0, 0, 0, 1, 1, 1, 1, 'Grey 1-5 EXP 0 : Frayed Bracers'), +(@REFGREY0, 2649, 0, 0, 0, 1, 1, 1, 1, 'Grey 1-5 EXP 0 : Flimsy Chain Belt'), +(@REFGREY0, 2650, 0, 0, 0, 1, 1, 1, 1, 'Grey 1-5 EXP 0 : Flimsy Chain Boots'), +(@REFGREY0, 2651, 0, 0, 0, 1, 1, 1, 1, 'Grey 1-5 EXP 0 : Flimsy Chain Bracers'), +(@REFGREY0, 2652, 0, 0, 0, 1, 1, 1, 1, 'Grey 1-5 EXP 0 : Flimsy Chain Cloak'), +(@REFGREY0, 2653, 0, 0, 0, 1, 1, 1, 1, 'Grey 1-5 EXP 0 : Flimsy Chain Gloves'), +(@REFGREY0, 2654, 0, 0, 0, 1, 1, 1, 1, 'Grey 1-5 EXP 0 : Flimsy Chain Pants'), +(@REFGREY0, 2656, 0, 0, 0, 1, 1, 1, 1, 'Grey 1-5 EXP 0 : Flimsy Chain Vest'), +(@REFGREY0, 2210, 0, 0, 0, 1, 1, 1, 1, 'Grey 1-5 EXP 0 : Battered Buckler'), +(@REFGREY0, 2211, 0, 0, 0, 1, 1, 1, 1, 'Grey 1-5 EXP 0 : Bent Large Shield'); + +SET @REFGREY1 := @GREYREF + 1; +-- Correct ref loot for various grey level 1 to 5 TBC +INSERT INTO `reference_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES +(@REFGREY1, 21002, 0, 0, 0, 1, 1, 1, 1, 'Grey 1-5 EXP 1 : Unkempt Belt'), +(@REFGREY1, 21003, 0, 0, 0, 1, 1, 1, 1, 'Grey 1-5 EXP 1 : Unkempt Bracers'), +(@REFGREY1, 21004, 0, 0, 0, 1, 1, 1, 1, 'Grey 1-5 EXP 1 : Unkempt Cloak'), +(@REFGREY1, 21005, 0, 0, 0, 1, 1, 1, 1, 'Grey 1-5 EXP 1 : Unkempt Gloves'), +(@REFGREY1, 21006, 0, 0, 0, 1, 1, 1, 1, 'Grey 1-5 EXP 1 : Unkempt Pants'), +(@REFGREY1, 21007, 0, 0, 0, 1, 1, 1, 1, 'Grey 1-5 EXP 1 : Unkempt Robe'), +(@REFGREY1, 21008, 0, 0, 0, 1, 1, 1, 1, 'Grey 1-5 EXP 1 : Unkempt Shoes'), +(@REFGREY1, 21009, 0, 0, 0, 1, 1, 1, 1, 'Grey 1-5 EXP 1 : Scraggy Leather Belt'), +(@REFGREY1, 21010, 0, 0, 0, 1, 1, 1, 1, 'Grey 1-5 EXP 1 : Scraggy Leather Boots'), +(@REFGREY1, 21011, 0, 0, 0, 1, 1, 1, 1, 'Grey 1-5 EXP 1 : Scraggy Leather Bracers'), +(@REFGREY1, 21012, 0, 0, 0, 1, 1, 1, 1, 'Grey 1-5 EXP 1 : Scraggy Leather Gloves'), +(@REFGREY1, 21013, 0, 0, 0, 1, 1, 1, 1, 'Grey 1-5 EXP 1 : Scraggy Leather Pants'), +(@REFGREY1, 21014, 0, 0, 0, 1, 1, 1, 1, 'Grey 1-5 EXP 1 : Scraggy Leather Vest'), +(@REFGREY1, 21015, 0, 0, 0, 1, 1, 1, 1, 'Grey 1-5 EXP 1 : Shoddy Chain Belt'), +(@REFGREY1, 21016, 0, 0, 0, 1, 1, 1, 1, 'Grey 1-5 EXP 1 : Shoddy Chain Vest'), +(@REFGREY1, 21017, 0, 0, 0, 1, 1, 1, 1, 'Grey 1-5 EXP 1 : Shoddy Chain Pants'), +(@REFGREY1, 21018, 0, 0, 0, 1, 1, 1, 1, 'Grey 1-5 EXP 1 : Shoddy Chain Gloves'), +(@REFGREY1, 21019, 0, 0, 0, 1, 1, 1, 1, 'Grey 1-5 EXP 1 : Shoddy Chain Bracers'), +(@REFGREY1, 21020, 0, 0, 0, 1, 1, 1, 1, 'Grey 1-5 EXP 1 : Shoddy Chain Boots'), +(@REFGREY1, 21021, 0, 0, 0, 1, 1, 1, 1, 'Grey 1-5 EXP 1 : Battered Shield'), +(@REFGREY1, 21022, 0, 0, 0, 1, 1, 1, 1, 'Grey 1-5 EXP 1 : Weather Beaten Buckler'); + +-- Food Reference loot for Entry 2843 : Battered Chest +SET @REFFOOD := @FOODREF; +INSERT INTO `reference_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES +(@REFFOOD,159,0,20,0,1,1,1,1, 'Battered Chest (2943) - Refreshing Spring Water'), +(@REFFOOD,4540,0,10,0,1,1,1,1, 'Battered Chest (2943) - Tough Hunk of Bread'), +(@REFFOOD,2070,0,10,0,1,1,1,1, 'Battered Chest (2943) - Darnassian Bleu'), +(@REFFOOD,117,0,10,0,1,1,1,1, 'Battered Chest (2943) - Tough Jerky'), +(@REFFOOD,4536,0,10,0,1,1,1,1, 'Battered Chest (2943) - Shiny Red Apple'); + +-- Update loot for Entry 2843 : Battered Chest +SET @OBJECT := 2265; +DELETE FROM `gameobject_loot_template` WHERE `Entry`=@OBJECT; +INSERT INTO `gameobject_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES +(@OBJECT,@REFFOOD,@REFFOOD,100,0,1,0,1,2, 'Battered Chest - (Food Battered Chest (2943) ReferenceTable)'), +(@OBJECT,@REFGREY0,@REFGREY0,100,0,1,0,1,1, 'Battered Chest - (Grey 1-5 EXP 0 ReferenceTable)'); + +UPDATE `gameobject_template_addon` SET `mingold`=1, `maxgold`=20 WHERE `entry` = 2843; diff --git a/sql/updates/world/3.3.5/2024_10_07_01_world.sql b/sql/updates/world/3.3.5/2024_10_07_01_world.sql new file mode 100644 index 0000000000..695691fd7f --- /dev/null +++ b/sql/updates/world/3.3.5/2024_10_07_01_world.sql @@ -0,0 +1,35 @@ +-- Pathing for Harb Foulmountain +SET @PATH=21564 * 10; +SET @NPC=14426; +UPDATE `creature` SET `position_x`=-4929.023,`position_y`=-2066.4766,`position_z`=85.52668,`wander_distance`=0,`MovementType`=2 WHERE `guid`=21564; +UPDATE `creature_template` SET `MovementType`= 2 WHERE `entry`=@NPC; +UPDATE `creature_template_addon` SET `PvPFlags` = 0 WHERE `entry`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=21564; +INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `MountCreatureID`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvPFlags`, `emote`, `visibilityDistanceType`, `auras`) VALUES +(21564, @PATH, 0, 0, 0, 0, 0, 1, 0, 0, 0, NULL); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES +(@PATH,1,-4929.023,-2066.4766,85.52668,NULL,0,0,0,100,0), +(@PATH,2,-4905.3555,-2069.9805,84.25914,NULL,0,0,0,100,0), +(@PATH,3,-4899.6943,-2061.0269,83.636856,NULL,0,0,0,100,0), +(@PATH,4,-4891.1626,-2039.651,83.30705,NULL,0,0,0,100,0), +(@PATH,5,-4881.945,-2017.6359,86.298546,NULL,0,0,0,100,0), +(@PATH,6,-4873.128,-1993.7965,91.65875,NULL,0,0,0,100,0), +(@PATH,7,-4878.21,-1974.4436,92.018616,NULL,0,0,0,100,0), +(@PATH,8,-4873.579,-1956.8225,90.450455,NULL,0,0,0,100,0), +(@PATH,9,-4862.9395,-1946.7357,86.90235,NULL,0,0,0,100,0), +(@PATH,10,-4834.9155,-1923.0642,84.13316,NULL,0,0,0,100,0), +(@PATH,11,-4801.48,-1895.6833,89.333145,NULL,0,0,0,100,0), +(@PATH,12,-4776.8984,-1881.0486,90.39604,NULL,0,0,0,100,0), +(@PATH,13,-4751.4434,-1865.2213,88.92392,NULL,0,0,0,100,0), +(@PATH,14,-4776.8984,-1881.0486,90.39604,NULL,0,0,0,100,0), +(@PATH,15,-4801.48,-1895.6833,89.333145,NULL,0,0,0,100,0), +(@PATH,16,-4834.9155,-1923.0642,84.13316,NULL,0,0,0,100,0), +(@PATH,17,-4862.9395,-1946.7357,86.90235,NULL,0,0,0,100,0), +(@PATH,18,-4873.579,-1956.8225,90.450455,NULL,0,0,0,100,0), +(@PATH,19,-4878.21,-1974.4436,92.018616,NULL,0,0,0,100,0), +(@PATH,20,-4873.128,-1993.7965,91.65875,NULL,0,0,0,100,0), +(@PATH,21,-4881.914,-2017.5612,86.331604,NULL,0,0,0,100,0), +(@PATH,22,-4891.1626,-2039.651,83.30705,NULL,0,0,0,100,0), +(@PATH,23,-4899.6943,-2061.0269,83.636856,NULL,0,0,0,100,0), +(@PATH,24,-4905.3555,-2069.9805,84.25914,NULL,0,0,0,100,0); diff --git a/sql/updates/world/3.3.5/2024_10_10_00_world.sql b/sql/updates/world/3.3.5/2024_10_10_00_world.sql new file mode 100644 index 0000000000..5f949e62eb --- /dev/null +++ b/sql/updates/world/3.3.5/2024_10_10_00_world.sql @@ -0,0 +1,8 @@ +-- Add 4 missing gameobjects in Thunderbluff +SET @OGUID=9901; -- four consecutive free gob guids atm +DELETE FROM `gameobject` WHERE `guid` IN (@OGUID,@OGUID+1,@OGUID+2,@OGUID+3); +INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES +(@OGUID, 152583, 1, 0, 0, 1, 1, -1257.8424072265625, 24.41799354553222656, 128.217498779296875, 2.888511419296264648, 0, 0, 0.99200439453125, 0.126203224062919616, 120, 100, 1, '', NULL, 0), +(@OGUID+1, 185004, 1, 0, 0, 1, 1, -1049.5347900390625, -290.34722900390625, 159.0303497314453125, 0.209439441561698913, 0, 0, 0.104528427124023437, 0.994521915912628173, 120, 100, 1, '', NULL, 0), +(@OGUID+2, 185004, 1, 0, 0, 1, 1, -1050.2257080078125, -290.552093505859375, 159.0303497314453125, 2.495818138122558593, 0, 0, 0.948323249816894531, 0.317305892705917358, 120, 100, 1, '', NULL, 0), +(@OGUID+3, 182257, 1, 0, 0, 1, 1, -1049.82470703125, -286.196197509765625, 159.0303497314453125, 2.548179388046264648, 0, 0, 0.956304550170898437, 0.292372345924377441, 120, 100, 1, '', NULL, 0); diff --git a/sql/updates/world/3.3.5/2024_10_10_01_world.sql b/sql/updates/world/3.3.5/2024_10_10_01_world.sql new file mode 100644 index 0000000000..44380e5b69 --- /dev/null +++ b/sql/updates/world/3.3.5/2024_10_10_01_world.sql @@ -0,0 +1,95 @@ +-- Pathing for Greater Firebird Entry: 8207 +SET @NPC=8207; +SET @GUID=51827; +SET @PATH=@GUID * 10; +UPDATE `creature` SET `position_x`=-7710.758,`position_y`=-3956.6245,`position_z`=9.728199,`wander_distance`=0,`MovementType`=2 WHERE `guid`=@GUID; +UPDATE `creature_template` SET `MovementType`=2 WHERE `entry`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@GUID; +INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `MountCreatureID`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvPFlags`, `emote`, `visibilityDistanceType`, `auras`) VALUES +(@GUID, @PATH, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES +(@PATH,1,-7710.758,-3956.6245,9.728199,NULL,0,0,0,100,0), +(@PATH,2,-7715.532,-3928.461,8.749683,NULL,0,0,0,100,0), +(@PATH,3,-7700.7812,-3906.8174,9.525318,NULL,0,0,0,100,0), +(@PATH,4,-7663.8013,-3875.1206,8.839839,NULL,0,0,0,100,0), +(@PATH,5,-7657.634,-3840.8525,10.83584,NULL,0,0,0,100,0), +(@PATH,6,-7671.237,-3821.5408,15.216432,NULL,0,0,0,100,0), +(@PATH,7,-7678.901,-3795.2083,21.681417,NULL,0,0,0,100,0), +(@PATH,8,-7681.229,-3756.9055,24.819561,NULL,0,0,0,100,0), +(@PATH,9,-7673.8613,-3716.5469,29.9973,NULL,0,0,0,100,0), +(@PATH,10,-7673.6987,-3687.2478,28.922815,NULL,0,0,0,100,0), +(@PATH,11,-7656.421,-3656.8772,26.623302,NULL,0,0,0,100,0), +(@PATH,12,-7662.468,-3629.3574,28.541769,NULL,0,0,0,100,0), +(@PATH,13,-7677.4897,-3582.9736,32.306168,NULL,0,0,0,100,0), +(@PATH,14,-7677.9395,-3540.1658,24.65451,NULL,0,0,0,100,0), +(@PATH,15,-7675.5747,-3503.2544,26.522423,NULL,0,0,0,100,0), +(@PATH,16,-7661.9976,-3472.317,26.822615,NULL,0,0,0,100,0), +(@PATH,17,-7631.3594,-3455.7761,29.158308,NULL,0,0,0,100,0), +(@PATH,18,-7600.8604,-3474.5388,23.820978,NULL,0,0,0,100,0), +(@PATH,19,-7556.848,-3491.1558,16.88118,NULL,0,0,0,100,0), +(@PATH,20,-7516.682,-3490.9087,15.407843,NULL,0,0,0,100,0), +(@PATH,21,-7482.791,-3478.7441,14.191426,NULL,0,0,0,100,0), +(@PATH,22,-7448.849,-3445.8245,11.7975445,NULL,0,0,0,100,0), +(@PATH,23,-7413.9087,-3422.8777,11.448396,NULL,0,0,0,100,0), +(@PATH,24,-7384.762,-3389.0525,12.521492,NULL,0,0,0,100,0), +(@PATH,25,-7390.377,-3364.397,9.953996,NULL,0,0,0,100,0), +(@PATH,26,-7417.989,-3343.9648,10.760514,NULL,0,0,0,100,0), +(@PATH,27,-7455.8647,-3346.955,13.619991,NULL,0,0,0,100,0), +(@PATH,28,-7488.782,-3342.5862,15.875005,NULL,0,0,0,100,0), +(@PATH,29,-7525.165,-3314.5938,23.809805,NULL,0,0,0,100,0), +(@PATH,30,-7545.5747,-3282.4626,28.957174,NULL,0,0,0,100,0), +(@PATH,31,-7538.598,-3249.0413,27.585447,NULL,0,0,0,100,0), +(@PATH,32,-7510.407,-3218.524,23.716492,NULL,0,0,0,100,0), +(@PATH,33,-7479.388,-3191.0247,14.460273,NULL,0,0,0,100,0), +(@PATH,34,-7465.8647,-3183.5723,13.781521,NULL,0,0,0,100,0), +(@PATH,35,-7455.6353,-3158.7048,12.994573,NULL,0,0,0,100,0), +(@PATH,36,-7456.4126,-3114.431,13.864947,NULL,0,0,0,100,0), +(@PATH,37,-7490.0244,-3081.6028,13.82893,NULL,0,0,0,100,0), +(@PATH,38,-7517.932,-3068.775,13.160608,NULL,0,0,0,100,0), +(@PATH,39,-7552.173,-3088.9275,16.074425,NULL,0,0,0,100,0), +(@PATH,40,-7580.729,-3117.3545,27.553055,NULL,0,0,0,100,0), +(@PATH,41,-7618.8794,-3141.1875,35.611378,NULL,0,0,0,100,0), +(@PATH,42,-7646.901,-3118.3042,37.350555,NULL,0,0,0,100,0), +(@PATH,43,-7678.538,-3115.4187,44.10227,NULL,0,0,0,100,0), +(@PATH,44,-7646.901,-3118.3042,37.350555,NULL,0,0,0,100,0), +(@PATH,45,-7618.8794,-3141.1875,35.611378,NULL,0,0,0,100,0), +(@PATH,46,-7580.729,-3117.3545,27.553055,NULL,0,0,0,100,0), +(@PATH,47,-7552.173,-3088.9275,16.074425,NULL,0,0,0,100,0), +(@PATH,48,-7517.932,-3068.775,13.160608,NULL,0,0,0,100,0), +(@PATH,49,-7490.0244,-3081.6028,13.82893,NULL,0,0,0,100,0), +(@PATH,50,-7456.4126,-3114.431,13.864947,NULL,0,0,0,100,0), +(@PATH,51,-7455.6353,-3158.7048,12.994573,NULL,0,0,0,100,0), +(@PATH,52,-7465.8647,-3183.5723,13.781521,NULL,0,0,0,100,0), +(@PATH,53,-7479.388,-3191.0247,14.460273,NULL,0,0,0,100,0), +(@PATH,54,-7510.407,-3218.524,23.716492,NULL,0,0,0,100,0), +(@PATH,55,-7538.598,-3249.0413,27.585447,NULL,0,0,0,100,0), +(@PATH,56,-7545.5747,-3282.4626,28.957174,NULL,0,0,0,100,0), +(@PATH,57,-7525.165,-3314.5938,23.809805,NULL,0,0,0,100,0), +(@PATH,58,-7488.782,-3342.5862,15.875005,NULL,0,0,0,100,0), +(@PATH,59,-7455.8647,-3346.955,13.619991,NULL,0,0,0,100,0), +(@PATH,60,-7417.989,-3343.9648,10.760514,NULL,0,0,0,100,0), +(@PATH,61,-7390.377,-3364.397,9.953996,NULL,0,0,0,100,0), +(@PATH,62,-7384.762,-3389.0525,12.521492,NULL,0,0,0,100,0), +(@PATH,63,-7413.9087,-3422.8777,11.448396,NULL,0,0,0,100,0), +(@PATH,64,-7448.849,-3445.8245,11.7975445,NULL,0,0,0,100,0), +(@PATH,65,-7482.721,-3478.6821,14.169454,NULL,0,0,0,100,0), +(@PATH,66,-7516.6113,-3490.8457,15.322148,NULL,0,0,0,100,0), +(@PATH,67,-7556.848,-3491.1558,16.88118,NULL,0,0,0,100,0), +(@PATH,68,-7600.8604,-3474.5388,23.820978,NULL,0,0,0,100,0), +(@PATH,69,-7631.3594,-3455.7761,29.158308,NULL,0,0,0,100,0), +(@PATH,70,-7661.9976,-3472.317,26.822615,NULL,0,0,0,100,0), +(@PATH,71,-7675.5747,-3503.2544,26.522423,NULL,0,0,0,100,0), +(@PATH,72,-7677.9395,-3540.1658,24.65451,NULL,0,0,0,100,0), +(@PATH,73,-7677.4897,-3582.9736,32.306168,NULL,0,0,0,100,0), +(@PATH,74,-7662.468,-3629.3574,28.541769,NULL,0,0,0,100,0), +(@PATH,75,-7656.421,-3656.8772,26.623302,NULL,0,0,0,100,0), +(@PATH,76,-7673.6987,-3687.2478,28.922815,NULL,0,0,0,100,0), +(@PATH,77,-7673.8438,-3716.3994,30.064438,NULL,0,0,0,100,0), +(@PATH,78,-7681.229,-3756.9055,24.819561,NULL,0,0,0,100,0), +(@PATH,79,-7678.901,-3795.2083,21.681417,NULL,0,0,0,100,0), +(@PATH,80,-7671.237,-3821.5408,15.216432,NULL,0,0,0,100,0), +(@PATH,81,-7657.634,-3840.8525,10.83584,NULL,0,0,0,100,0), +(@PATH,82,-7663.8013,-3875.1206,8.839839,NULL,0,0,0,100,0), +(@PATH,83,-7700.7812,-3906.8174,9.525318,NULL,0,0,0,100,0), +(@PATH,84,-7715.532,-3928.461,8.749683,NULL,0,0,0,100,0); diff --git a/sql/updates/world/3.3.5/2024_10_10_02_world.sql b/sql/updates/world/3.3.5/2024_10_10_02_world.sql new file mode 100644 index 0000000000..3568360f77 --- /dev/null +++ b/sql/updates/world/3.3.5/2024_10_10_02_world.sql @@ -0,0 +1,77 @@ +-- Pathing for Murderous Blisterpaw Entry: 8208 +SET @NPC=8208; +SET @GUID=51825; +SET @PATH=@GUID * 10; +UPDATE `creature` SET `position_x`=-7025.515,`position_y`=-3491.132,`position_z`=9.274621,`wander_distance`=0,`MovementType`=2 WHERE `guid`=@GUID; +UPDATE `creature_template` SET `MovementType`=2 WHERE `entry`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@GUID; +INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `MountCreatureID`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvPFlags`, `emote`, `visibilityDistanceType`, `auras`) VALUES +(@GUID, @PATH, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES +(@PATH,1,-7025.515,-3491.132,9.274621,NULL,0,0,0,100,0), +(@PATH,2,-7057.585,-3499.684,10.376134,NULL,0,0,0,100,0), +(@PATH,3,-7083.3726,-3521.9758,11.747719,NULL,0,0,0,100,0), +(@PATH,4,-7116.227,-3516.6216,10.375974,NULL,0,0,0,100,0), +(@PATH,5,-7143.2266,-3517.4648,10.078375,NULL,0,0,0,100,0), +(@PATH,6,-7172.1216,-3513.6719,11.342711,NULL,0,0,0,100,0), +(@PATH,7,-7202.048,-3508.731,11.024831,NULL,0,0,0,100,0), +(@PATH,8,-7247.1226,-3513.0464,11.260182,NULL,0,0,0,100,0), +(@PATH,9,-7277.5615,-3524.6765,12.185095,NULL,0,0,0,100,0), +(@PATH,10,-7302.512,-3540.7358,8.5952,NULL,0,0,0,100,0), +(@PATH,11,-7328.6494,-3568.7114,10.502499,NULL,0,0,0,100,0), +(@PATH,12,-7341.257,-3601.2178,9.939367,NULL,0,0,0,100,0), +(@PATH,13,-7362.0376,-3633.9546,11.387863,NULL,0,0,0,100,0), +(@PATH,14,-7383.2837,-3658.7517,10.012263,NULL,0,0,0,100,0), +(@PATH,15,-7396.5024,-3698.1814,9.407527,NULL,0,0,0,100,0), +(@PATH,16,-7405.75,-3719.763,9.256791,NULL,0,0,0,100,0), +(@PATH,17,-7420.3613,-3750.827,12.278984,NULL,0,0,0,100,0), +(@PATH,18,-7414.9087,-3767.6528,12.649624,NULL,0,0,0,100,0), +(@PATH,19,-7396.8125,-3813.4487,10.233704,NULL,0,0,0,100,0), +(@PATH,20,-7385.053,-3851.4045,10.949272,NULL,0,0,0,100,0), +(@PATH,21,-7363.6816,-3878.0642,11.944022,NULL,0,0,0,100,0), +(@PATH,22,-7366.593,-3917.8196,14.590536,NULL,0,0,0,100,0), +(@PATH,23,-7368.6016,-3951.2683,11.180499,NULL,0,0,0,100,0), +(@PATH,24,-7388.428,-3989.5295,9.057527,NULL,0,0,0,100,0), +(@PATH,25,-7419.9297,-4017.759,10.126763,NULL,0,0,0,100,0), +(@PATH,26,-7455.046,-3985.4866,11.490533,NULL,0,0,0,100,0), +(@PATH,27,-7484.066,-3945.0916,10.125787,NULL,0,0,0,100,0), +(@PATH,28,-7518.1597,-3916.549,10.933404,NULL,0,0,0,100,0), +(@PATH,29,-7545.4316,-3950.7153,10.655572,NULL,0,0,0,100,0), +(@PATH,30,-7549.514,-3973.414,12.167756,NULL,0,0,0,100,0), +(@PATH,31,-7550.2954,-4013.2153,12.256833,NULL,0,0,0,100,0), +(@PATH,32,-7552.7324,-4045.1523,11.282222,NULL,0,0,0,100,0), +(@PATH,33,-7549.6675,-4078.2886,11.486598,NULL,0,0,0,100,0), +(@PATH,34,-7547.963,-4113.612,10.832579,NULL,0,0,0,100,0), +(@PATH,35,-7549.6675,-4078.2886,11.486598,NULL,0,0,0,100,0), +(@PATH,36,-7552.731,-4045.2805,11.270747,NULL,0,0,0,100,0), +(@PATH,37,-7550.2954,-4013.2153,12.256833,NULL,0,0,0,100,0), +(@PATH,38,-7549.514,-3973.414,12.167756,NULL,0,0,0,100,0), +(@PATH,39,-7545.4316,-3950.7153,10.655572,NULL,0,0,0,100,0), +(@PATH,40,-7518.1597,-3916.549,10.933404,NULL,0,0,0,100,0), +(@PATH,41,-7484.066,-3945.0916,10.125787,NULL,0,0,0,100,0), +(@PATH,42,-7455.046,-3985.4866,11.490533,NULL,0,0,0,100,0), +(@PATH,43,-7419.9297,-4017.759,10.126763,NULL,0,0,0,100,0), +(@PATH,44,-7388.428,-3989.5295,9.057527,NULL,0,0,0,100,0), +(@PATH,45,-7368.6074,-3951.3164,11.189776,NULL,0,0,0,100,0), +(@PATH,46,-7366.593,-3917.8196,14.590536,NULL,0,0,0,100,0), +(@PATH,47,-7363.6816,-3878.0642,11.944022,NULL,0,0,0,100,0), +(@PATH,48,-7385.053,-3851.4045,10.949272,NULL,0,0,0,100,0), +(@PATH,49,-7396.8125,-3813.4487,10.233704,NULL,0,0,0,100,0), +(@PATH,50,-7414.9087,-3767.6528,12.649624,NULL,0,0,0,100,0), +(@PATH,51,-7420.3613,-3750.827,12.278984,NULL,0,0,0,100,0), +(@PATH,52,-7405.75,-3719.763,9.256791,NULL,0,0,0,100,0), +(@PATH,53,-7396.5024,-3698.1814,9.407527,NULL,0,0,0,100,0), +(@PATH,54,-7383.2837,-3658.7517,10.012263,NULL,0,0,0,100,0), +(@PATH,55,-7362.0376,-3633.9546,11.387863,NULL,0,0,0,100,0), +(@PATH,56,-7341.257,-3601.2178,9.939367,NULL,0,0,0,100,0), +(@PATH,57,-7328.6494,-3568.7114,10.502499,NULL,0,0,0,100,0), +(@PATH,58,-7302.512,-3540.7358,8.5952,NULL,0,0,0,100,0), +(@PATH,59,-7277.5615,-3524.6765,12.185095,NULL,0,0,0,100,0), +(@PATH,60,-7247.1226,-3513.0464,11.260182,NULL,0,0,0,100,0), +(@PATH,61,-7202.048,-3508.731,11.024831,NULL,0,0,0,100,0), +(@PATH,62,-7172.1216,-3513.6719,11.342711,NULL,0,0,0,100,0), +(@PATH,63,-7143.2637,-3517.452,10.110113,NULL,0,0,0,100,0), +(@PATH,64,-7116.227,-3516.6216,10.375974,NULL,0,0,0,100,0), +(@PATH,65,-7083.3726,-3521.9758,11.747719,NULL,0,0,0,100,0), +(@PATH,66,-7057.585,-3499.684,10.376134,NULL,0,0,0,100,0); diff --git a/sql/updates/world/3.3.5/2024_10_10_03_world.sql b/sql/updates/world/3.3.5/2024_10_10_03_world.sql new file mode 100644 index 0000000000..d8d149c8ef --- /dev/null +++ b/sql/updates/world/3.3.5/2024_10_10_03_world.sql @@ -0,0 +1,41 @@ +-- Pathing for Rex Ashil Entry: 14475 +SET @NPC=14475; +SET @GUID=51836; +SET @PATH=@GUID * 10; +UPDATE `creature` SET `position_x`=-6630.2847,`position_y`=945.4344,`position_z`=-52.96825,`wander_distance`=0,`MovementType`=2 WHERE `guid`=@GUID; +UPDATE `creature_template` SET `MovementType`=2 WHERE `entry`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@GUID; +INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `MountCreatureID`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvPFlags`, `emote`, `visibilityDistanceType`, `auras`) VALUES +(@GUID, @PATH, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES +(@PATH,1,-6630.2847,945.4344,-52.96825,NULL,0,0,0,100,0), +(@PATH,2,-6627.747,929.4205,-53.191467,NULL,0,0,0,100,0), +(@PATH,3,-6609.186,929.8785,-53.16585,NULL,0,0,0,100,0), +(@PATH,4,-6591.815,909.97754,-48.229885,NULL,0,0,0,100,0), +(@PATH,5,-6591.289,896.8762,-44.285564,NULL,0,0,0,100,0), +(@PATH,6,-6595.7266,884.783,-44.09041,NULL,0,0,0,100,0), +(@PATH,7,-6581.963,877.2528,-44.54215,NULL,0,0,0,100,0), +(@PATH,8,-6570.469,885.4149,-43.199642,NULL,0,0,0,100,0), +(@PATH,9,-6555.0957,885.0344,-39.406754,NULL,0,0,0,100,0), +(@PATH,10,-6545.19,871.5345,-32.738403,NULL,0,0,0,100,0), +(@PATH,11,-6535.754,862.1162,-29.028198,NULL,0,0,0,100,0), +(@PATH,12,-6518.3926,866.1533,-30.434242,NULL,0,0,0,100,0), +(@PATH,13,-6512.0576,887.03265,-39.736877,NULL,0,0,0,100,0), +(@PATH,14,-6497.0356,901.76587,-41.681843,NULL,0,0,0,100,0), +(@PATH,15,-6473.988,908.0661,-41.303955,NULL,0,0,0,100,0), +(@PATH,16,-6480.6694,921.8447,-41.822407,NULL,0,0,0,100,0), +(@PATH,17,-6473.988,908.0661,-41.303955,NULL,0,0,0,100,0), +(@PATH,18,-6497.0356,901.76587,-41.681843,NULL,0,0,0,100,0), +(@PATH,19,-6512.0576,887.03265,-39.736877,NULL,0,0,0,100,0), +(@PATH,20,-6518.3926,866.1533,-30.434242,NULL,0,0,0,100,0), +(@PATH,21,-6535.754,862.1162,-29.028198,NULL,0,0,0,100,0), +(@PATH,22,-6545.19,871.5345,-32.738403,NULL,0,0,0,100,0), +(@PATH,23,-6555.0957,885.0344,-39.406754,NULL,0,0,0,100,0), +(@PATH,24,-6570.469,885.4149,-43.199642,NULL,0,0,0,100,0), +(@PATH,25,-6581.963,877.2528,-44.54215,NULL,0,0,0,100,0), +(@PATH,26,-6595.7266,884.783,-44.09041,NULL,0,0,0,100,0), +(@PATH,27,-6591.289,896.8762,-44.285564,NULL,0,0,0,100,0), +(@PATH,28,-6591.8135,909.9452,-48.222664,NULL,0,0,0,100,0), +(@PATH,29,-6609.186,929.8785,-53.16585,NULL,0,0,0,100,0), +(@PATH,30,-6627.747,929.4205,-53.191467,NULL,0,0,0,100,0); diff --git a/sql/updates/world/3.3.5/2024_10_10_04_world.sql b/sql/updates/world/3.3.5/2024_10_10_04_world.sql new file mode 100644 index 0000000000..50105b3f50 --- /dev/null +++ b/sql/updates/world/3.3.5/2024_10_10_04_world.sql @@ -0,0 +1,41 @@ +-- Pathing for Alshirr Banebreath Entry: 14340 +SET @NPC=14340; +SET @GUID=51894; +SET @PATH=@GUID * 10; +UPDATE `creature` SET `position_x`=4026.523,`position_y`=-555.293,`position_z`=342.505,`wander_distance`=0,`MovementType`=2 WHERE `guid`=@GUID; +UPDATE `creature_template` SET `MovementType`=2 WHERE `entry`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@GUID; +INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `MountCreatureID`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvPFlags`, `emote`, `visibilityDistanceType`, `auras`) VALUES +(@GUID, @PATH, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES +(@PATH,1,4026.523,-555.293,342.505,NULL,0,0,0,100,0), +(@PATH,2,3999.6077,-585.43585,338.0969,NULL,0,0,0,100,0), +(@PATH,3,3967.8643,-599.3677,338.82224,NULL,0,0,0,100,0), +(@PATH,4,3939.5344,-610.4964,340.5994,NULL,0,0,0,100,0), +(@PATH,5,3918.8508,-620.3714,339.56857,NULL,0,0,0,100,0), +(@PATH,6,3893.1277,-649.1434,334.0132,NULL,0,0,0,100,0), +(@PATH,7,3867.4185,-662.55194,330.74258,NULL,0,0,0,100,0), +(@PATH,8,3851.004,-677.2051,328.14557,NULL,0,0,0,100,0), +(@PATH,9,3841.1611,-713.5064,325.38644,NULL,0,0,0,100,0), +(@PATH,10,3836.204,-740.03125,319.4985,NULL,0,0,0,100,0), +(@PATH,11,3827.0447,-763.3758,314.87888,NULL,0,0,0,100,0), +(@PATH,12,3818.8672,-787.662,307.59967,NULL,0,0,0,100,0), +(@PATH,13,3792.5173,-812.1507,307.89844,NULL,0,0,0,100,0), +(@PATH,14,3768.1362,-831.72095,310.0974,NULL,0,0,0,100,0), +(@PATH,15,3771.9072,-848.68176,305.3522,NULL,0,0,0,100,0), +(@PATH,16,3757.2969,-866.6099,313.99258,NULL,0,0,0,100,0), +(@PATH,17,3771.9072,-848.68176,305.3522,NULL,0,0,0,100,0), +(@PATH,18,3768.1362,-831.72095,310.0974,NULL,0,0,0,100,0), +(@PATH,19,3792.5173,-812.1507,307.89844,NULL,0,0,0,100,0), +(@PATH,20,3818.8672,-787.662,307.59967,NULL,0,0,0,100,0), +(@PATH,21,3827.0447,-763.3758,314.87888,NULL,0,0,0,100,0), +(@PATH,22,3836.197,-740.15375,319.43015,NULL,0,0,0,100,0), +(@PATH,23,3841.1611,-713.5064,325.38644,NULL,0,0,0,100,0), +(@PATH,24,3850.8962,-677.3118,328.18048,NULL,0,0,0,100,0), +(@PATH,25,3867.4185,-662.55194,330.74258,NULL,0,0,0,100,0), +(@PATH,26,3893.1277,-649.1434,334.0132,NULL,0,0,0,100,0), +(@PATH,27,3918.8508,-620.3714,339.56857,NULL,0,0,0,100,0), +(@PATH,28,3939.5344,-610.4964,340.5994,NULL,0,0,0,100,0), +(@PATH,29,3967.8643,-599.3677,338.82224,NULL,0,0,0,100,0), +(@PATH,30,3999.6077,-585.43585,338.0969,NULL,0,0,0,100,0); diff --git a/sql/updates/world/3.3.5/2024_10_10_05_world.sql b/sql/updates/world/3.3.5/2024_10_10_05_world.sql new file mode 100644 index 0000000000..6bb796fa99 --- /dev/null +++ b/sql/updates/world/3.3.5/2024_10_10_05_world.sql @@ -0,0 +1,25 @@ +-- Pathing for Foulmane Entry: 1847 +SET @NPC=1847; +SET @GUID=45454; +SET @PATH=@GUID * 10; +UPDATE `creature` SET `position_x`=1867.8231,`position_y`=-1582.6323,`position_z`=59.543274,`wander_distance`=0,`MovementType`=2 WHERE `guid`=@GUID; +UPDATE `creature_template` SET `MovementType`=2 WHERE `entry`=@NPC; +UPDATE `creature_template_addon` SET `PvpFlags`=0 WHERE `entry`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@GUID; +INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `MountCreatureID`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvPFlags`, `emote`, `visibilityDistanceType`, `auras`) VALUES +(@GUID, @PATH, 0, 0, 0, 0, 0, 1, 0, 0, 0, NULL); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES +(@PATH,1,1867.8231,-1582.6323,59.543274,NULL,0,0,0,100,0), +(@PATH,2,1862.686,-1575.6617,59.418274,NULL,0,0,0,100,0), +(@PATH,3,1865.2483,-1568.495,58.918274,NULL,0,0,0,100,0), +(@PATH,4,1862.7682,-1561.516,59.257603,NULL,0,0,0,100,0), +(@PATH,5,1866.2867,-1555.184,59.20914,NULL,0,0,0,100,0), +(@PATH,6,1874.4098,-1548.5449,59.26224,NULL,0,0,0,100,0), +(@PATH,7,1888.9252,-1546.674,58.882603,NULL,0,0,0,100,0), +(@PATH,8,1898.0934,-1554.2573,59.132603,NULL,0,0,0,100,0), +(@PATH,9,1900.8027,-1568.277,59.696507,NULL,0,0,0,100,0), +(@PATH,10,1899.4547,-1582.4746,59.418274,NULL,0,0,0,100,0), +(@PATH,11,1896.0823,-1588.0172,59.168274,NULL,0,0,0,100,0), +(@PATH,12,1885.111,-1591.6702,59.293274,NULL,0,0,0,100,0), +(@PATH,13,1874.7734,-1589.3805,59.629944,NULL,0,0,0,100,0); diff --git a/sql/updates/world/3.3.5/2024_10_10_06_world.sql b/sql/updates/world/3.3.5/2024_10_10_06_world.sql new file mode 100644 index 0000000000..63ab4e04fc --- /dev/null +++ b/sql/updates/world/3.3.5/2024_10_10_06_world.sql @@ -0,0 +1,60 @@ +-- Pathing for Vile Sting Entry: 5937 +SET @NPC=5937; +SET @GUID=51823; +SET @PATH=@GUID * 10; +UPDATE `creature` SET `position_x`=-5832.868,`position_y`=-3577.47,`position_z`=-58.645027,`wander_distance`=0,`MovementType`=2 WHERE `guid`=@GUID; +UPDATE `creature_template` SET `MovementType`=2 WHERE `entry`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@GUID; +INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `MountCreatureID`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvPFlags`, `emote`, `visibilityDistanceType`, `auras`) VALUES +(@GUID, @PATH, 0, 0, 0, 0, 0, 1, 0, 0, 0, NULL); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES +(@PATH,1,-5832.868,-3577.47,-58.645027,NULL,0,0,0,100,0), +(@PATH,2,-5847.7896,-3578.9922,-58.62624,NULL,0,0,0,100,0), +(@PATH,3,-5879.2153,-3563.779,-58.624992,NULL,0,0,0,100,0), +(@PATH,4,-5898.626,-3563.8586,-58.624992,NULL,0,0,0,100,0), +(@PATH,5,-5906.1606,-3590.3938,-58.624973,NULL,0,0,0,100,0), +(@PATH,6,-5906.0674,-3606.6235,-58.624973,NULL,0,0,0,100,0), +(@PATH,7,-5923.0366,-3626.2664,-58.624973,NULL,0,0,0,100,0), +(@PATH,8,-5945.6016,-3613.887,-58.624954,NULL,0,0,0,100,0), +(@PATH,9,-5954.7524,-3608.444,-58.624954,NULL,0,0,0,100,0), +(@PATH,10,-5984.0244,-3598.608,-58.624954,NULL,0,0,0,100,0), +(@PATH,11,-6006.2593,-3598.7825,-58.624954,NULL,0,0,0,100,0), +(@PATH,12,-6013.32,-3605.1987,-58.624954,NULL,0,0,0,100,0), +(@PATH,13,-6023.108,-3620.3386,-58.624954,NULL,0,0,0,100,0), +(@PATH,14,-6046.9595,-3639.2556,-58.624954,NULL,0,0,0,100,0), +(@PATH,15,-6055.033,-3642.866,-58.624954,NULL,0,0,0,100,0), +(@PATH,16,-6074.136,-3629.934,-58.624954,NULL,0,0,0,100,0), +(@PATH,17,-6083.2944,-3613.5764,-58.624954,NULL,0,0,0,100,0), +(@PATH,18,-6096.364,-3598.897,-58.624954,NULL,0,0,0,100,0), +(@PATH,19,-6112.0825,-3584.047,-58.624954,NULL,0,0,0,100,0), +(@PATH,20,-6129.6,-3575.8818,-58.624954,NULL,0,0,0,100,0), +(@PATH,21,-6152.832,-3570.761,-58.624954,NULL,0,0,0,100,0), +(@PATH,22,-6167.849,-3571.4946,-58.624954,NULL,0,0,0,100,0), +(@PATH,23,-6176.987,-3576.321,-58.624954,NULL,0,0,0,100,0), +(@PATH,24,-6187.7524,-3589.2395,-58.624954,NULL,0,0,0,100,0), +(@PATH,25,-6186.82,-3620.595,-58.624954,NULL,0,0,0,100,0), +(@PATH,26,-6186.299,-3634.014,-58.624954,NULL,0,0,0,100,0), +(@PATH,27,-6171.7256,-3641.8333,-58.624954,NULL,0,0,0,100,0), +(@PATH,28,-6154.3394,-3651.0803,-58.624954,NULL,0,0,0,100,0), +(@PATH,29,-6141.6694,-3650.3577,-58.624954,NULL,0,0,0,100,0), +(@PATH,30,-6123.28,-3640.9934,-58.624954,NULL,0,0,0,100,0), +(@PATH,31,-6108.6865,-3623.8994,-58.624954,NULL,0,0,0,100,0), +(@PATH,32,-6099.0645,-3600.8455,-58.624954,NULL,0,0,0,100,0), +(@PATH,33,-6093.388,-3581.6519,-58.624954,NULL,0,0,0,100,0), +(@PATH,34,-6096.3926,-3568.4915,-58.624954,NULL,0,0,0,100,0), +(@PATH,35,-6062.2173,-3546.6702,-58.624966,NULL,0,0,0,100,0), +(@PATH,36,-6048.2134,-3538.829,-58.624966,NULL,0,0,0,100,0), +(@PATH,37,-6022.5835,-3531.2087,-58.624973,NULL,0,0,0,100,0), +(@PATH,38,-6007.369,-3528.1714,-58.624973,NULL,0,0,0,100,0), +(@PATH,39,-5996.6787,-3533.4485,-58.624973,NULL,0,0,0,100,0), +(@PATH,40,-5978.62,-3529.2083,-58.624973,NULL,0,0,0,100,0), +(@PATH,41,-5963.492,-3514.8665,-58.374992,NULL,0,0,0,100,0), +(@PATH,42,-5950.205,-3508.0159,-58.624992,NULL,0,0,0,100,0), +(@PATH,43,-5927.1836,-3500.981,-58.374992,NULL,0,0,0,100,0), +(@PATH,44,-5911.841,-3499.235,-58.158527,NULL,0,0,0,100,0), +(@PATH,45,-5883.246,-3499.5684,-58.080044,NULL,0,0,0,100,0), +(@PATH,46,-5858.184,-3506.1418,-58.24999,NULL,0,0,0,100,0), +(@PATH,47,-5847.03,-3516.6768,-58.49999,NULL,0,0,0,100,0), +(@PATH,48,-5833.535,-3534.1719,-58.62499,NULL,0,0,0,100,0), +(@PATH,49,-5827.3213,-3554.03,-58.62499,NULL,0,0,0,100,0); diff --git a/sql/updates/world/3.3.5/2024_10_10_07_world.sql b/sql/updates/world/3.3.5/2024_10_10_07_world.sql new file mode 100644 index 0000000000..87b589a0f1 --- /dev/null +++ b/sql/updates/world/3.3.5/2024_10_10_07_world.sql @@ -0,0 +1,18 @@ +-- Pathing for Treebole:22215 +SET @NPC=22215; +SET @GUID=77879; +SET @PATH=@GUID * 10; +UPDATE `creature` SET `position_x`=3609.03,`position_y`=6829.56,`position_z`=136.69,`orientation`=5.2105,`wander_distance`=0,`MovementType`=2 WHERE `guid`=@GUID; +UPDATE `creature_template` SET `MovementType`=2 WHERE `entry`=@NPC; +UPDATE `creature_template_addon` SET `PvpFlags`=0 WHERE `entry`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@GUID; +INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `MountCreatureID`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvPFlags`, `emote`, `visibilityDistanceType`, `auras`) VALUES +(@GUID, @PATH, 0, 0, 0, 0, 0, 1, 0, 0, 0, NULL); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES +(@PATH, 1, 3609.03, 6829.57, 136.69, 5.2105, 300000, 0, 0, 100, 0), +(@PATH, 2, 3598.63, 6845.62, 140.703, 2.54014, 0, 0, 0, 100, 0), +(@PATH, 3, 3587.26, 6853.75, 141.589, 2.52051, 0, 0, 0, 100, 0), +(@PATH, 4, 3568.35, 6864.28, 140.533, 4.41331, 300000, 0, 0, 100, 0), +(@PATH, 5, 3587.72, 6853.33, 141.546, 5.70922, 0, 0, 0, 100, 0), +(@PATH, 6, 3599.61, 6845.15, 140.649, 5.70922, 0, 0, 0, 100, 0); diff --git a/sql/updates/world/3.3.5/2024_10_10_08_world.sql b/sql/updates/world/3.3.5/2024_10_10_08_world.sql new file mode 100644 index 0000000000..32dd1d83bb --- /dev/null +++ b/sql/updates/world/3.3.5/2024_10_10_08_world.sql @@ -0,0 +1,17 @@ +-- Pathing for Zora:14474 +SET @NPC=14474; +SET @GUID=51835; +SET @PATH=@GUID * 10; +UPDATE `creature` SET `position_x`=-7378.239,`position_y`=1714.3088,`position_z`=-91.72752,`wander_distance`=0,`MovementType`=2 WHERE `guid`=@GUID; +UPDATE `creature_template` SET `MovementType`=2 WHERE `entry`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@GUID; +INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `MountCreatureID`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvPFlags`, `emote`, `visibilityDistanceType`, `auras`) VALUES +(@GUID, @PATH, 0, 0, 0, 0, 0, 1, 0, 0, 0, NULL); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES +(@PATH,1,-7378.239,1714.3088,-91.72752,NULL,0,0,0,100,0), +(@PATH,2,-7393.453,1717.8257,-92.846466,NULL,0,0,0,100,0), +(@PATH,3,-7401.651,1709.8647,-92.29474,NULL,0,0,0,100,0), +(@PATH,4,-7396.23,1696.348,-92.5287,NULL,0,0,0,100,0), +(@PATH,5,-7377.1226,1687.7341,-91.2392,NULL,0,0,0,100,0), +(@PATH,6,-7368.2925,1700.2347,-86.44376,NULL,0,0,0,100,0); diff --git a/sql/updates/world/3.3.5/2024_10_10_09_world.sql b/sql/updates/world/3.3.5/2024_10_10_09_world.sql new file mode 100644 index 0000000000..7dc2a6a4de --- /dev/null +++ b/sql/updates/world/3.3.5/2024_10_10_09_world.sql @@ -0,0 +1,74 @@ +-- Pathing for Tideress: 12759 +SET @NPC=12759; +SET @GUID=34224; +SET @PATH=@GUID * 10; +UPDATE `creature` SET `position_x`=1958.41,`position_y`=-945.92,`position_z`=70.11,`orientation`=4.153880,`wander_distance`=0,`MovementType`=2 WHERE `guid`=@GUID; +UPDATE `creature_template` SET `MovementType`=2 WHERE `entry`=@NPC; +UPDATE `creature_template_addon` SET `PvpFlags`=0 WHERE `entry`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@GUID; +INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `MountCreatureID`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvPFlags`, `emote`, `visibilityDistanceType`, `auras`) VALUES +(@GUID, @PATH, 0, 0, 0, 0, 0, 1, 0, 0, 0, NULL); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES +(@PATH, 1, 1950.76, -957.199, 65.9789, NULL, 0, 0, 0, 100, 0), +(@PATH, 2, 1949.7, -971.117, 62.4051, NULL, 0, 0, 0, 100, 0), +(@PATH, 3, 1952.04, -984.871, 63.578, NULL, 0, 0, 0, 100, 0), +(@PATH, 4, 1958.59, -995.102, 69.6525, NULL, 0, 0, 0, 100, 0), +(@PATH, 5, 1958.25, -1010.11, 77.985, NULL, 0, 0, 0, 100, 0), +(@PATH, 6, 1965.77, -1023.12, 88.7347, NULL, 0, 0, 0, 100, 0), +(@PATH, 7, 1968.2, -1033.66, 93.133, NULL, 0, 0, 0, 100, 0), +(@PATH, 8, 1966.17, -1043.44, 94.9841, NULL, 0, 0, 0, 100, 0), +(@PATH, 9, 1973.94, -1049.95, 95.6832, NULL, 0, 0, 0, 100, 0), +(@PATH, 10, 1986.89, -1056.69, 96.4432, NULL, 0, 0, 0, 100, 0), +(@PATH, 11, 1995.48, -1071.04, 94.9886, NULL, 0, 0, 0, 100, 0), +(@PATH, 12, 1997.02, -1086.65, 94.846, NULL, 0, 0, 0, 100, 0), +(@PATH, 13, 2001.35, -1109.18, 95.674, NULL, 0, 0, 0, 100, 0), +(@PATH, 14, 1992.91, -1089.13, 94.9791, NULL, 0, 0, 0, 100, 0), +(@PATH, 15, 1977.37, -1091.98, 93.5929, NULL, 0, 0, 0, 100, 0), +(@PATH, 16, 1960.89, -1106.05, 81.5004, NULL, 0, 0, 0, 100, 0), +(@PATH, 17, 1950.73, -1121.58, 76.5911, NULL, 0, 0, 0, 100, 0), +(@PATH, 18, 1952.45, -1137.8, 74.7081, NULL, 0, 0, 0, 100, 0), +(@PATH, 19, 1951.68, -1152.21, 74.7775, NULL, 0, 0, 0, 100, 0), +(@PATH, 20, 1959.66, -1179.49, 63.8513, NULL, 0, 0, 0, 100, 0), +(@PATH, 21, 1967.89, -1196.3, 59.4363, NULL, 0, 0, 0, 100, 0), +(@PATH, 22, 1966.14, -1211.91, 57.2217, NULL, 0, 0, 0, 100, 0), +(@PATH, 23, 1941.16, -1212.98, 56.7257, NULL, 0, 0, 0, 100, 0), +(@PATH, 24, 1932.03, -1226.02, 59.3121, NULL, 0, 0, 0, 100, 0), +(@PATH, 25, 1940.4, -1246.86, 58.4144, NULL, 0, 0, 0, 100, 0), +(@PATH, 26, 1947.89, -1264.91, 60.367, NULL, 0, 0, 0, 100, 0), +(@PATH, 27, 1949.59, -1283.22, 65.9393, NULL, 0, 0, 0, 100, 0), +(@PATH, 28, 1941.54, -1297.67, 74.969, NULL, 0, 0, 0, 100, 0), +(@PATH, 29, 1936.7, -1307.34, 80.0226, NULL, 0, 0, 0, 100, 0), +(@PATH, 30, 1920.6, -1309.47, 82.8535, NULL, 0, 0, 0, 100, 0), +(@PATH, 31, 1902.6, -1303.77, 86.9758, NULL, 0, 0, 0, 100, 0), +(@PATH, 32, 1920.6, -1309.47, 82.8535, NULL, 0, 0, 0, 100, 0), +(@PATH, 33, 1936.7, -1307.34, 80.0226, NULL, 0, 0, 0, 100, 0), +(@PATH, 34, 1941.54, -1297.67, 74.969, NULL, 0, 0, 0, 100, 0), +(@PATH, 35, 1949.59, -1283.22, 65.9393, NULL, 0, 0, 0, 100, 0), +(@PATH, 36, 1947.89, -1264.91, 60.367, NULL, 0, 0, 0, 100, 0), +(@PATH, 37, 1940.4, -1246.86, 58.4144, NULL, 0, 0, 0, 100, 0), +(@PATH, 38, 1932.03, -1226.02, 59.3121, NULL, 0, 0, 0, 100, 0), +(@PATH, 39, 1941.14, -1212.98, 56.7217, NULL, 0, 0, 0, 100, 0), +(@PATH, 40, 1966.12, -1211.9, 57.2257, NULL, 0, 0, 0, 100, 0), +(@PATH, 41, 1967.89, -1196.3, 59.4363, NULL, 0, 0, 0, 100, 0), +(@PATH, 42, 1959.66, -1179.49, 63.8513, NULL, 0, 0, 0, 100, 0), +(@PATH, 43, 1951.68, -1152.21, 74.7775, NULL, 0, 0, 0, 100, 0), +(@PATH, 44, 1952.45, -1137.8, 74.7081, NULL, 0, 0, 0, 100, 0), +(@PATH, 45, 1950.73, -1121.58, 76.5911, NULL, 0, 0, 0, 100, 0), +(@PATH, 46, 1960.89, -1106.05, 81.5004, NULL, 0, 0, 0, 100, 0), +(@PATH, 47, 1977.37, -1091.98, 93.5929, NULL, 0, 0, 0, 100, 0), +(@PATH, 48, 1992.91, -1089.13, 94.9791, NULL, 0, 0, 0, 100, 0), +(@PATH, 49, 2001.35, -1109.18, 95.674, NULL, 0, 0, 0, 100, 0), +(@PATH, 50, 1997.02, -1086.65, 94.846, NULL, 0, 0, 0, 100, 0), +(@PATH, 51, 1995.48, -1071.04, 94.9886, NULL, 0, 0, 0, 100, 0), +(@PATH, 52, 1986.89, -1056.69, 96.4432, NULL, 0, 0, 0, 100, 0), +(@PATH, 53, 1973.94, -1049.95, 95.6832, NULL, 0, 0, 0, 100, 0), +(@PATH, 54, 1966.28, -1043.53, 94.9587, NULL, 0, 0, 0, 100, 0), +(@PATH, 55, 1968.19, -1033.7, 93.1832, NULL, 0, 0, 0, 100, 0), +(@PATH, 56, 1965.77, -1023.12, 88.7347, NULL, 0, 0, 0, 100, 0), +(@PATH, 57, 1958.25, -1010.11, 77.985, NULL, 0, 0, 0, 100, 0), +(@PATH, 58, 1958.59, -995.102, 69.6525, NULL, 0, 0, 0, 100, 0), +(@PATH, 59, 1952.04, -984.871, 63.578, NULL, 0, 0, 0, 100, 0), +(@PATH, 60, 1949.7, -971.117, 62.4051, NULL, 0, 0, 0, 100, 0), +(@PATH, 61, 1950.76, -957.199, 65.9789, NULL, 0, 0, 0, 100, 0), +(@PATH, 62, 1956.02, -946.128, 71.0499, NULL, 0, 0, 0, 100, 0); diff --git a/sql/updates/world/3.3.5/2024_10_10_10_world.sql b/sql/updates/world/3.3.5/2024_10_10_10_world.sql new file mode 100644 index 0000000000..dbca4abeb4 --- /dev/null +++ b/sql/updates/world/3.3.5/2024_10_10_10_world.sql @@ -0,0 +1,38 @@ +-- Pathing for Archmage Xylem: 12759 +SET @NPC=8379; +SET @GUID=35886; +SET @PATH=@GUID * 10; +UPDATE `creature` SET `position_x`=3982.08,`position_y`=-4760.25,`position_z`=304.8,`orientation`=0.347593,`wander_distance`=0,`MovementType`=2 WHERE `guid`=@GUID; +UPDATE `creature_template` SET `MovementType`=2 WHERE `entry`=@NPC; +UPDATE `creature_template_addon` SET `PvpFlags`=0 WHERE `entry`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@GUID; +INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `MountCreatureID`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvPFlags`, `emote`, `visibilityDistanceType`, `auras`) VALUES +(@GUID, @PATH, 0, 0, 0, 0, 0, 1, 0, 0, 0, NULL); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES +(@PATH, 1, 3982.08, -4760.25, 304.803, 5.3781, 60000, 0, 0, 100, 0), +(@PATH, 2, 3975.94, -4767.85, 304.728, NULL, 0, 0, 0, 100, 0), +(@PATH, 3, 3972.76, -4771.82, 304.716, NULL, 0, 0, 0, 100, 0), +(@PATH, 4, 3970.95, -4777.04, 304.728, NULL, 0, 0, 0, 100, 0), +(@PATH, 5, 3970.78, -4780.04, 304.712, NULL, 0, 0, 0, 100, 0), +(@PATH, 6, 3971.65, -4784.84, 304.718, NULL, 0, 0, 0, 100, 0), +(@PATH, 7, 3976.24, -4788.04, 304.717, NULL, 0, 0, 0, 100, 0), +(@PATH, 8, 3977.89, -4786.99, 304.73, NULL, 0, 0, 0, 100, 0), +(@PATH, 9, 3977.45, -4783.41, 303.731, NULL, 0, 0, 0, 100, 0), +(@PATH, 10, 3979.76, -4780.78, 301.995, NULL, 0, 0, 0, 100, 0), +(@PATH, 11, 3983.23, -4782.2, 299.606, NULL, 0, 0, 0, 100, 0), +(@PATH, 12, 3982.05, -4785.25, 297.913, NULL, 0, 0, 0, 100, 0), +(@PATH, 13, 3974.91, -4782.9, 295.922, NULL, 0, 0, 0, 100, 0), +(@PATH, 14, 3969.92, -4784.16, 296.018, NULL, 10000, 0, 0, 100, 0), +(@PATH, 15, 3974.91, -4782.9, 295.922, NULL, 0, 0, 0, 100, 0), +(@PATH, 16, 3982.05, -4785.25, 297.913, NULL, 0, 0, 0, 100, 0), +(@PATH, 17, 3983.23, -4782.2, 299.606, NULL, 0, 0, 0, 100, 0), +(@PATH, 18, 3979.76, -4780.78, 301.995, NULL, 0, 0, 0, 100, 0), +(@PATH, 19, 3977.45, -4783.41, 303.731, NULL, 0, 0, 0, 100, 0), +(@PATH, 20, 3977.89, -4786.99, 304.73, NULL, 0, 0, 0, 100, 0), +(@PATH, 21, 3976.24, -4788.04, 304.717, NULL, 0, 0, 0, 100, 0), +(@PATH, 22, 3971.65, -4784.84, 304.718, NULL, 0, 0, 0, 100, 0), +(@PATH, 23, 3970.78, -4780.04, 304.712, NULL, 0, 0, 0, 100, 0), +(@PATH, 24, 3970.95, -4777.04, 304.728, NULL, 0, 0, 0, 100, 0), +(@PATH, 25, 3972.76, -4771.82, 304.716, NULL, 0, 0, 0, 100, 0), +(@PATH, 26, 3975.94, -4767.85, 304.728, NULL, 0, 0, 0, 100, 0); diff --git a/sql/updates/world/3.3.5/2024_10_10_11_world.sql b/sql/updates/world/3.3.5/2024_10_10_11_world.sql new file mode 100644 index 0000000000..883d4f7fce --- /dev/null +++ b/sql/updates/world/3.3.5/2024_10_10_11_world.sql @@ -0,0 +1,2 @@ +-- Replace wrong 100 and 255 fixed orientation value with default NULL +UPDATE `waypoint_data` SET `orientation`=NULL WHERE `orientation`>7; diff --git a/sql/updates/world/3.3.5/2024_10_10_12_world.sql b/sql/updates/world/3.3.5/2024_10_10_12_world.sql new file mode 100644 index 0000000000..93d6c69a14 --- /dev/null +++ b/sql/updates/world/3.3.5/2024_10_10_12_world.sql @@ -0,0 +1,81 @@ +-- Add missing Battered Chest ID: 2843 with pooling in Northshire Valley, Coldridge Valley, DeathKnell, and Shadowglen +SET @OGUID := 13545; -- 19 required +SET @POOLID := 577; -- 8 required + +DELETE FROM `gameobject` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+18; +INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `PhaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `VerifiedBuild`) VALUES +(@OGUID+0, 2843, 0, 12, 34, 1, 1, -8564.622, -212.033, 85.301, 2.478, 0, 0, 0.94551849365234375, 0.325568377971649169, 360, 255, 1, 0), -- Northshire Valley, Echo Ridge Mine +(@OGUID+1, 2843, 0, 85, 154, 1, 1, 1788.795, 1345.5, 89.283, 5.341, 0, 0, -0.45398998260498046, 0.891006767749786376, 360, 255, 1, 0), -- DeathKnell +(@OGUID+2, 2843, 0, 85, 155, 1, 1, 2019.491, 1853.655, 102.669, 4.188, 0, 0, -0.86602497100830078, 0.50000077486038208, 360, 255, 1, 0), -- DeathKnell, Night Web's Hollow +(@OGUID+3, 2843, 0, 85, 155, 1, 1, 2041.629, 1935.115, 106.989, 4.677, 0, 0, -0.71933937072753906, 0.694658815860748291, 360, 255, 1, 0), -- DeathKnell, Night Web's Hollow +(@OGUID+4, 2843, 0, 1, 132, 1, 1, -6394.58447265625, 772.35076904296875, 386.2127685546875, 5.078907966613769531, 0, 0, -0.56640625, 0.824126183986663818, 360, 255, 1, 0), -- Coldridge Vally +(@OGUID+5, 2843, 0, 1, 132, 1, 1, -6550.423828125, 351.92535400390625, 392.339447021484375, 2.356194972991943359, 0, 0, 0.923879623413085937, 0.382683247327804565, 360, 255, 1, 0), -- Coldridge Vally, cave +(@OGUID+6, 2843, 1, 141, 188, 1, 1, 10485.255859375, 1059.9840087890625, 1325.470458984375, 5.235987663269042968, 0, 0, -0.5, 0.866025388240814208, 360, 255, 1, 41446), -- Shadowglen +(@OGUID+7, 2843, 1, 141, 257, 1, 1, 10908.3759765625, 977.76202392578125, 1338.316162109375, 2.827429771423339843, 0, 0, 0.987688064575195312, 0.156436234712600708, 360, 255, 1, 0), -- Shadowglen, Shadowthread Cave +-- From mangos db +(@OGUID+8, 2843, 0, 12, 9, 1, 1, -8955.38, -439.217, 64.7955, -2.86233, 0, 0, 0, 0, 360, 255, 1, 0), -- Northshire Valley +(@OGUID+9, 2843, 0, 85, 155, 1, 1, 2036.59, 1916.59, 102.783, 6.23153, 0, 0, 0.025824, -0.999667, 360, 255, 1, 0), -- DeathKnell, Night Web's Hollow +(@OGUID+10, 2843, 0, 1, 132, 1, 1, -6493.9, 502.314, 387.246, 0.977737, 0, 0, 0.469627, 0.882865, 360, 255, 1, 0), -- Coldridge Vally +(@OGUID+11, 2843, 0, 1, 132, 1, 1, -6520.52, 688.075, 387.612, 6.21242, 0, 0, 0.0353748, -0.999374, 360, 255, 1, 0), -- Coldridge Vally +(@OGUID+12, 2843, 0, 1, 132, 1, 1, -6396.81, 784.359, 386.216, 5.19288, 0, 0, 0.518547, -0.855049, 360, 255, 1, 0), -- Coldridge Vally +(@OGUID+13, 2843, 0, 1, 132, 1, 1, -6516.55, 288.024, 372.061, 0.760217, 0, 0, 0.371021, 0.928624, 360, 255, 1, 0), -- Coldridge Vally, cave +(@OGUID+14, 2843, 0, 1, 132, 1, 1, -6541.69, 362.199, 384.464, 1.23852, 0, 0, 0.580434, 0.814307, 360, 255, 1, 0), -- Coldridge Vally, cave +(@OGUID+15, 2843, 1, 141, 257, 1, 1, 10812.8, 897.368, 1336.4, 0.444496, 0, 0, 0.220423, 0.975404, 360, 255, 1, 0), -- Shadowglen, Shadowthread Cave +(@OGUID+16, 2843, 1, 141, 257, 1, 1, 10942.8, 942.153, 1340.68, 5.62352, 0, 0, 0.323884, -0.946097, 360, 255, 1, 0), -- Shadowglen, Shadowthread Cave +(@OGUID+17, 2843, 1, 141, 188, 1, 1, 10262.1, 961.428, 1340.93, 5.89251, 0, 0, 0.194099, -0.980982, 360, 255, 1, 41446), -- Shadowglen +(@OGUID+18, 2843, 1, 141, 188, 1, 1, 10504.8, 1064.71, 1325.83, -0.279252, 0, 0, 0, 0, 360, 255, 1, 41446); -- Shadowglen + +-- Update existing spawns to match new ones. +UPDATE `gameobject` SET `spawntimesecs`=360, `animprogress`=225, `state`=1 WHERE `guid` IN +(26749,34797,26756,34798,85653,1397,85816,1454,85817,45106,85818,85832,45110,49529,49528); + +-- Add coin +UPDATE `gameobject_template_addon` SET `mingold`=1, `maxgold`=20 WHERE `entry` = 2843; + +DELETE FROM `pool_template` WHERE `entry` BETWEEN @POOLID AND @POOLID+7; +INSERT INTO `pool_template` (`entry`,`max_limit`,`description`) VALUES +(@POOLID,1,'Battered Chest (2843), Northshire, Chest Pool Mine'), +(@POOLID+1,1,'Battered Chest (2843), Northshire, Chest Pool Vineyard'), +(@POOLID+2,1,'Battered Chest (2843), Coldridge Valley, Chest Pool Valley'), +(@POOLID+3,1,'Battered Chest (2843), Coldridge Valley, Chest Pool Cave'), +(@POOLID+4,1,'Battered Chest (2843), Deathknell, Chest Pool Deathknell'), +(@POOLID+5,1,'Battered Chest (2843), Deathknell, Chest Pool Night Web''s Hollow'), +(@POOLID+6,1,'Battered Chest (2843), Shadowglen, Chest Pool Shadowglen'), +(@POOLID+7,1,'Battered Chest (2843), Shadowglen, Chest Pool Shadowthread Cave'); + +DELETE FROM `pool_members` WHERE `poolSpawnId` BETWEEN @POOLID AND @POOLID+7; +INSERT INTO `pool_members` (`type`,`spawnId`,`poolSpawnId`,`chance`,`description`) VALUES +(1,26749,@POOLID,0,'Battered Chest (2843), Northshire Mine'), +(1,34797,@POOLID,0,'Battered Chest (2843), Northshire Mine'), +(1,@OGUID,@POOLID,0,'Battered Chest (2843), Northshire Mine'), +(1,26756,@POOLID+1,0,'Battered Chest (2843), Northshire Vineyard'), +(1,34798,@POOLID+1,0,'Battered Chest (2843), Northshire Vineyard'), +(1,85653,@POOLID+1,0,'Battered Chest (2843), Northshire Vineyard'), +(1,@OGUID+8,@POOLID+1,0,'Battered Chest (2843), Northshire Vineyard'), +(1,1397,@POOLID+2,0,'Battered Chest (2843), Coldridge Valley'), +(1,85816,@POOLID+2,0,'Battered Chest (2843), Coldridge Valley'), +(1,@OGUID+4,@POOLID+2,0,'Battered Chest (2843), Coldridge Valley'), +(1,@OGUID+10,@POOLID+2,0,'Battered Chest (2843), Coldridge Valley'), +(1,@OGUID+11,@POOLID+2,0,'Battered Chest (2843), Coldridge Valley'), +(1,@OGUID+12,@POOLID+2,0,'Battered Chest (2843), Coldridge Valley'), +(1,1454,@POOLID+3,0,'Battered Chest (2843), Coldridge Valley Cave'), +(1,85817,@POOLID+3,0,'Battered Chest (2843), Coldridge Valley Cave'), +(1,@OGUID+5,@POOLID+3,0,'Battered Chest (2843), Coldridge Valley Cave'), +(1,@OGUID+13,@POOLID+3,0,'Battered Chest (2843), Coldridge Valley Cave'), +(1,@OGUID+14,@POOLID+3,0,'Battered Chest (2843), Coldridge Valley Cave'), +(1,45106,@POOLID+4,0,'Battered Chest (2843), Deathknell'), +(1,85818,@POOLID+4,0,'Battered Chest (2843), Deathknell'), +(1,85832,@POOLID+4,0,'Battered Chest (2843), Deathknell'), +(1,@OGUID+1,@POOLID+4,0,'Battered Chest (2843), Deathknell'), +(1,45110,@POOLID+5,0,'Battered Chest (2843), Night Web''s Hollow'), +(1,@OGUID+2,@POOLID+5,0,'Battered Chest (2843), Night Web''s Hollow'), +(1,@OGUID+3,@POOLID+5,0,'Battered Chest (2843), Night Web''s Hollow'), +(1,@OGUID+9,@POOLID+5,0,'Battered Chest (2843), Night Web''s Hollow'), +(1,49529,@POOLID+6,0,'Battered Chest (2843), Shadowglen'), +(1,@OGUID+6,@POOLID+6,0,'Battered Chest (2843), Shadowglen'), +(1,@OGUID+17,@POOLID+6,0,'Battered Chest (2843), Shadowglen'), +(1,@OGUID+18,@POOLID+6,0,'Battered Chest (2843), Shadowglen'), +(1,49528,@POOLID+7,0,'Battered Chest (2843), Shadowthread Cave'), +(1,@OGUID+7,@POOLID+7,0,'Battered Chest (2843), Shadowthread Cave'), +(1,@OGUID+15,@POOLID+7,0,'Battered Chest (2843), Shadowthread Cave'), +(1,@OGUID+16,@POOLID+7,0,'Battered Chest (2843), Shadowthread Cave'); diff --git a/sql/updates/world/3.3.5/2024_10_10_13_world.sql b/sql/updates/world/3.3.5/2024_10_10_13_world.sql new file mode 100644 index 0000000000..cc3e174f5d --- /dev/null +++ b/sql/updates/world/3.3.5/2024_10_10_13_world.sql @@ -0,0 +1,32 @@ +-- Add missing Battered Chest ID: 2849 with pooling in Ghostlands +SET @OGUID := 10633; -- 7 required +SET @POOLID := 585; -- 2 required + +DELETE FROM `gameobject` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+6; +INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `PhaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `VerifiedBuild`) VALUES +(@OGUID, 2849, 530, 3433, 3516, 1, 1, 7473.455078125, -7896.78662109375, 160.006317138671875, 2.129300594329833984, 0, 0, 0.874619483947753906, 0.484810054302215576, 360, 255, 1, 42917), -- Zeb'Tela +(@OGUID+1, 2849, 530, 3433, 3516, 1, 1, 7351.85400390625, -7824.33251953125, 147.920196533203125, 1.082102894783020019, 0, 0, 0.51503753662109375, 0.857167601585388183, 360, 255, 1, 42917), -- Zeb'Tela +(@OGUID+2, 2849, 530, 3433, 3516, 1, 1, 7271.18701171875, -7755.77001953125, 150.018524169921875, 4.956737518310546875, 0, 0, -0.61566066741943359, 0.788011372089385986, 360, 255, 1, 56713), -- Zeb'Tela +(@OGUID+3, 2849, 530, 3433, 3517, 1, 1, 6806.115234375, -7428.17529296875, 47.94741439819335937, 1.797688722610473632, 0, 0, 0.7826080322265625, 0.622514784336090087, 360, 255, 1, 42917), -- Zeb'Nowa +(@OGUID+4, 2849, 530, 3433, 3517, 1, 1, 6660.6044921875, -7406.60400390625, 57.55510330200195312, 2.024578809738159179, 0, 0, 0.848047256469726562, 0.529920578002929687, 360, 255, 1, 41446), -- Zeb'Nowa +(@OGUID+5, 2849, 530, 3433, 3517, 1, 1, 7153.0546875, -7575.98681640625, 49.18671798706054687, 2.042035102844238281, 0, 0, 0.852640151977539062, 0.522498607635498046, 360, 255, 1, 56713), -- Zeb'Nowa +(@OGUID+6, 2849, 530, 3433, 3517, 1, 1, 7007.033203125, -7526.05908203125, 48.84354400634765625, 2.72271275520324707, 0, 0, 0.978147506713867187, 0.207912087440490722, 360, 255, 1, 56713); -- Zeb'Nowa + +-- Update existing spawns to match new ones. +UPDATE `gameobject` SET `spawntimesecs`=360, `animprogress`=225, `state`=1 WHERE `guid`=27287; + +DELETE FROM `pool_template` WHERE `entry` BETWEEN @POOLID AND @POOLID+1; +INSERT INTO `pool_template` (`entry`,`max_limit`,`description`) VALUES +(@POOLID,1,'Battered Chest (2849), Ghostlands, Chest Pool Zeb''Tela'), +(@POOLID+1,1,'Battered Chest (2849), Ghostlands, Chest Pool Zeb''Nowa'); + +DELETE FROM `pool_members` WHERE `poolSpawnId` BETWEEN @POOLID AND @POOLID+1; +INSERT INTO `pool_members` (`type`,`spawnId`,`poolSpawnId`,`chance`,`description`) VALUES +(1,27287,@POOLID,0,'Battered Chest (2849), Zeb''Tela'), +(1,@OGUID,@POOLID,0,'Battered Chest (2849), Zeb''Tela'), +(1,@OGUID+1,@POOLID,0,'Battered Chest (2849), Zeb''Tela'), +(1,@OGUID+2,@POOLID,0,'Battered Chest (2849), Zeb''Tela'), +(1,@OGUID+3,@POOLID+1,0,'Battered Chest (2849), Zeb''Nowa'), +(1,@OGUID+4,@POOLID+1,0,'Battered Chest (2849), Zeb''Nowa'), +(1,@OGUID+5,@POOLID+1,0,'Battered Chest (2849), Zeb''Nowa'), +(1,@OGUID+6,@POOLID+1,0,'Battered Chest (2849), Zeb''Nowa'); diff --git a/sql/updates/world/3.3.5/2024_10_10_14_world.sql b/sql/updates/world/3.3.5/2024_10_10_14_world.sql new file mode 100644 index 0000000000..7d2bbf6415 --- /dev/null +++ b/sql/updates/world/3.3.5/2024_10_10_14_world.sql @@ -0,0 +1,2 @@ +-- Update Portals to Blasted Lands spell_target_position +UPDATE `spell_target_position` SET `PositionX`=-11708.3281, `PositionY`=-3167.8259, `PositionZ`=-5.052477, `Orientation`=3.328652 WHERE `id` IN (65728,65729); diff --git a/sql/updates/world/3.3.5/2024_10_11_00_world.sql b/sql/updates/world/3.3.5/2024_10_11_00_world.sql new file mode 100644 index 0000000000..04cb0a88b4 --- /dev/null +++ b/sql/updates/world/3.3.5/2024_10_11_00_world.sql @@ -0,0 +1,124 @@ +-- *** Sunstrider Isle *** + +SET @REF := 1059; +DELETE FROM `reference_loot_template` WHERE `Entry` BETWEEN @REF AND @REF + 4; + +-- Food Reference loot for level 1 to 5 +SET @REFFOOD4 := @REF; +INSERT INTO `reference_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES +(@REFFOOD4,159,0,33,0,1,1,1,1, 'Food 1-5 - Refreshing Spring Water'), +(@REFFOOD4,4540,0,67,0,1,1,1,1, 'Food 1-5 - Tough Hunk of Bread'); + +-- Mana Wyrm Reference loot for level 1 to 5 +SET @REFWYRM := @REF + 1; +INSERT INTO `reference_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES +(@REFWYRM,20845,0,50,0,1,1,1,1, 'Wyrm 1-5 - Torn Wyrm Scale'), +(@REFWYRM,20846,0,50,0,1,1,1,1, 'Wyrm 1-5 - Faintly Glowing Eye'); + +-- Lynx Reference loot for level 1 to 5 +SET @REFLYNX := @REF + 2; +INSERT INTO `reference_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES +(@REFLYNX,20812,0,50,0,1,1,1,1, 'Lynx 1-5 - Tattered Pelt'), +(@REFLYNX,20813,0,50,0,1,1,1,1, 'Lynx 1-5 - Lynx Tooth'); + +-- Tender Reference loot for level 1 to 5 +SET @REFTENDER := @REF + 3; +INSERT INTO `reference_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES +(@REFTENDER,20842,0,50,0,1,1,1,1, 'Tender 1-5 - Frayed Tender Vine'), +(@REFTENDER,20843,0,50,0,1,1,1,1, 'Tender 1-5 - Smashed Petal'); + +-- Wraith Reference loot for level 1 to 5 +SET @REFWRAITH := @REF + 4; +INSERT INTO `reference_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES +(@REFWRAITH,20847,0,50,0,1,1,1,1, 'Wraith 1-5 - Wraith Fragment'), +(@REFWRAITH,20848,0,50,0,1,1,1,1, 'Wraith 1-5 - Sparkling Dust'); + +-- Update loot for Entry 15274 : Mana Wyrm +SET @NPC := 15274; +DELETE FROM `creature_loot_template` WHERE `Entry`=@NPC; +INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES +(@NPC,@REFWYRM,@REFWYRM,100,0,1,0,1,1, 'Mana Wyrm - (Wyrm 1-5 EXP 1 ReferenceTable)'), +(@NPC,1057,1057,30,0,1,0,1,1, 'Mana Wyrm - (Grey 1-5 EXP 1 ReferenceTable)'), +(@NPC,11111,11111,.2,0,1,0,1,1, 'Mana Wyrm - (Small Pouch ReferenceTable)'), +(@NPC,20482,0,80,1,1,0,1,1, 'Mana Wyrm - Arcane Sliver'); + +-- Update loot for Entry 15366 : Springpaw Cub +SET @NPC := 15366; +DELETE FROM `creature_loot_template` WHERE `Entry`=@NPC; +INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES +(@NPC,@REFLYNX,@REFLYNX,100,0,1,0,1,1, 'Springpaw Cub - (Lynx 1-5 EXP 1 ReferenceTable)'), +-- (@NPC,@REFLYNX,@REFLYNX,30,0,1,1,1,1, 'Springpaw Cub - (Lynx 1-5 EXP 1 ReferenceTable)'), +(@NPC,1057,1057,30,0,1,0,1,1, 'Springpaw Cub - (Grey 1-5 EXP 1 ReferenceTable)'), +(@NPC,11111,11111,.2,0,1,0,1,1, 'Springpaw Cub - (Small Pouch ReferenceTable)'), +(@NPC,20797,0,80,1,1,0,1,1, 'Springpaw Cub - Lynx Collar'); + +-- Update loot for Entry 15372 : Springpaw Lynx +SET @NPC := 15372; +DELETE FROM `creature_loot_template` WHERE `Entry`=@NPC; +INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES +(@NPC,@REFLYNX,@REFLYNX,100,0,1,0,1,1, 'Springpaw Lynx - (Lynx 1-5 EXP 1 ReferenceTable)'), +-- (@NPC,@REFLYNX,@REFLYNX,30,0,1,1,1,1, 'Springpaw Lynx - (Lynx 1-5 EXP 1 ReferenceTable)'), +(@NPC,1057,1057,30,0,1,0,1,1, 'Springpaw Lynx - (Grey 1-5 EXP 1 ReferenceTable)'), +(@NPC,11111,11111,.2,0,1,0,1,1, 'Springpaw Lynx - (Small Pouch ReferenceTable)'), +(@NPC,20797,0,80,1,1,0,1,1, 'Springpaw Lynx - Lynx Collar'); + +-- Update loot for Entry 15271 : Tender +SET @NPC := 15271; +DELETE FROM `creature_loot_template` WHERE `Entry`=@NPC; +INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES +(@NPC,@REFTENDER,@REFTENDER,90,0,1,0,1,1, 'Tender - (Tender 1-5 EXP 1 ReferenceTable)'), +(@NPC,1057,1057,30,0,1,0,1,1, 'Tender - (Grey 1-5 EXP 1 ReferenceTable)'), +(@NPC,11111,11111,.2,0,1,0,1,1, 'Tender - (Small Pouch ReferenceTable)'); + +-- Update loot for Entry 15294 : Feral Tender +SET @NPC := 15294; +DELETE FROM `creature_loot_template` WHERE `Entry`=@NPC; +INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES +(@NPC,@REFTENDER,@REFTENDER,100,0,1,0,1,1, 'Feral Tender - (Tender 1-5 EXP 1 ReferenceTable)'), +(@NPC,1057,1057,30,0,1,0,1,1, 'Feral Tender - (Grey 1-5 EXP 1 ReferenceTable)'), +(@NPC,11111,11111,.2,0,1,0,1,1, 'Feral Tender - (Small Pouch ReferenceTable)'), +(@NPC,20482,0,80,1,1,0,1,1, 'Feral Tender - Arcane Sliver'); + +-- Update loot for Entry 15273 : Arcane Wraith +SET @NPC := 15273; +DELETE FROM `creature_loot_template` WHERE `Entry`=@NPC; +INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES +(@NPC,@REFWRAITH,@REFWRAITH,100,0,1,0,1,1, 'Arcane Wraith - (Wraith 1-5 EXP 1 ReferenceTable)'), +-- (@NPC,@REFWRAITH,@REFWRAITH,30,0,1,1,1,1, 'Arcane Wraith - (Wraith 1-5 EXP 1 ReferenceTable)'), +(@NPC,1057,1057,30,0,1,0,1,1, 'Arcane Wraith - (Grey 1-5 EXP 1 ReferenceTable)'), +(@NPC,11111,11111,.2,0,1,0,1,1, 'Arcane Wraith - (Small Pouch ReferenceTable)'), +(@NPC,20934,0,80,1,1,0,1,1, 'Arcane Wraith - Wraith Essence'), +(@NPC,20482,0,80,1,1,0,1,1, 'Arcane Wraith - Arcane Sliver'); + +-- Update loot for Entry 15298 : Tainted Arcane Wraith +SET @NPC := 15298; +DELETE FROM `creature_loot_template` WHERE `Entry`=@NPC; +INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES +(@NPC,@REFWRAITH,@REFWRAITH,100,0,1,0,1,1, 'Tainted Arcane Wraith - (Wraith 1-5 EXP 1 ReferenceTable)'), +-- (@NPC,@REFWRAITH,@REFWRAITH,30,0,1,1,1,1, 'Tainted Arcane Wraith - (Wraith 1-5 EXP 1 ReferenceTable)'), +(@NPC,1057,1057,30,0,1,0,1,1, 'Tainted Arcane Wraith - (Grey 1-5 EXP 1 ReferenceTable)'), +(@NPC,11111,11111,.2,0,1,0,1,1, 'Tainted Arcane Wraith - (Small Pouch ReferenceTable)'), +(@NPC,20483,0,100,0,1,0,1,1, 'Tainted Arcane Wraith - Tainted Arcane Sliver'), +(@NPC,20934,0,80,1,1,0,1,1, 'Tainted Arcane Wraith - Wraith Essence'), +(@NPC,20482,0,80,1,1,0,1,1, 'Tainted Arcane Wraith - Arcane Sliver'); + +-- Update loot for Entry 15367 : Felendren the Banished +SET @NPC := 15367; +DELETE FROM `creature_loot_template` WHERE `Entry`=@NPC; +INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES +(@NPC,@REFFOOD4,@REFFOOD4,100,0,1,0,1,1, 'Felendren the Banished - (Food 1-5 EXP 1 ReferenceTable)'), +(@NPC,1057,1057,30,0,1,0,1,1, 'Felendren the Banished - (Grey 1-5 EXP 1 ReferenceTable)'), +(@NPC,11111,11111,.2,0,1,0,1,1, 'Felendren the Banished - (Small Pouch ReferenceTable)'), +(@NPC,20799,0,100,1,1,0,1,1, 'Felendren the Banished - Felendren''s Head'); + +-- Update loot for Entry 15644 : Wretched Urchin +SET @NPC := 15644; +DELETE FROM `creature_loot_template` WHERE `Entry`=@NPC; +INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES +(@NPC,@REFFOOD4,@REFFOOD4,100,0,1,0,1,1, 'Wretched Urchin - (Food 1-5 EXP 1 ReferenceTable)'), +(@NPC,1057,1057,30,0,1,0,1,1, 'Wretched Urchin - (Grey 1-5 EXP 1 ReferenceTable)'), +(@NPC,11111,11111,.2,0,1,0,1,1, 'Wretched Urchin - (Small Pouch ReferenceTable)'); + +-- *** Sunstrider Isle *** +UPDATE `creature_template` SET `mingold`=1, `maxgold`=7 WHERE `entry` IN (15367); +DELETE FROM `reference_loot_template` WHERE `Entry`=24072; diff --git a/sql/updates/world/3.3.5/2024_10_11_01_world.sql b/sql/updates/world/3.3.5/2024_10_11_01_world.sql new file mode 100644 index 0000000000..6254b8ab22 --- /dev/null +++ b/sql/updates/world/3.3.5/2024_10_11_01_world.sql @@ -0,0 +1,2 @@ +-- Noarm +UPDATE `creature` SET `wander_distance`=1, `MovementType`=1 WHERE `guid`=79781; diff --git a/src/server/game/Entities/Object/Object.h b/src/server/game/Entities/Object/Object.h index ebd3d51323..6c1e819441 100644 --- a/src/server/game/Entities/Object/Object.h +++ b/src/server/game/Entities/Object/Object.h @@ -301,25 +301,6 @@ class FlaggedValuesArray32 struct FindCreatureOptions { - FindCreatureOptions() = default; - - FindCreatureOptions& SetCreatureId(uint32 creatureId) { CreatureId = creatureId; return *this; } - FindCreatureOptions& SetStringId(std::string_view stringId) { StringId = stringId; return *this; } - - FindCreatureOptions& SetIsAlive(bool isAlive) { IsAlive = isAlive; return *this; } - FindCreatureOptions& SetIsInCombat(bool isInCombat) { IsInCombat = isInCombat; return *this; } - FindCreatureOptions& SetIsSummon(bool isSummon) { IsSummon = isSummon; return *this; } - - FindCreatureOptions& SetIgnorePhases(bool ignorePhases) { IgnorePhases = ignorePhases; return *this; } - FindCreatureOptions& SetIgnoreNotOwnedPrivateObjects(bool ignoreNotOwnedPrivateObjects) { IgnoreNotOwnedPrivateObjects = ignoreNotOwnedPrivateObjects; return *this; } - FindCreatureOptions& SetIgnorePrivateObjects(bool ignorePrivateObjects) { IgnorePrivateObjects = ignorePrivateObjects; return *this; } - - FindCreatureOptions& SetHasAura(uint32 spellId) { AuraSpellId = spellId; return *this; } - FindCreatureOptions& SetOwner(ObjectGuid ownerGuid) { OwnerGuid = ownerGuid; return *this; } - FindCreatureOptions& SetCharmer(ObjectGuid charmerGuid) { CharmerGuid = charmerGuid; return *this; } - FindCreatureOptions& SetCreator(ObjectGuid creatorGuid) { CreatorGuid = creatorGuid; return *this; } - FindCreatureOptions& SetPrivateObjectOwner(ObjectGuid privateObjectOwnerGuid) { PrivateObjectOwnerGuid = privateObjectOwnerGuid; return *this; } - Optional CreatureId; Optional StringId; @@ -327,21 +308,15 @@ struct FindCreatureOptions Optional IsInCombat; Optional IsSummon; - bool IgnorePhases; - bool IgnoreNotOwnedPrivateObjects; - bool IgnorePrivateObjects; + bool IgnorePhases = false; + bool IgnoreNotOwnedPrivateObjects = true; + bool IgnorePrivateObjects = false; Optional AuraSpellId; Optional OwnerGuid; Optional CharmerGuid; Optional CreatorGuid; Optional PrivateObjectOwnerGuid; - - FindCreatureOptions(FindCreatureOptions const&) = delete; - FindCreatureOptions(FindCreatureOptions&&) = delete; - - FindCreatureOptions& operator=(FindCreatureOptions const&) = delete; - FindCreatureOptions& operator=(FindCreatureOptions&&) = delete; }; struct FindGameObjectOptions diff --git a/src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/boss_mal_ganis.cpp b/src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/boss_mal_ganis.cpp index 238739fd9f..6cdd8dc843 100644 --- a/src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/boss_mal_ganis.cpp +++ b/src/server/scripts/Kalimdor/CavernsOfTime/CullingOfStratholme/boss_mal_ganis.cpp @@ -87,8 +87,9 @@ class boss_mal_ganis : public CreatureScript _defeated = true; // @todo hack most likely - if (InstanceMap* map = instance->instance->ToInstanceMap()) - map->PermBindAllPlayers(); + if (instance->instance->IsHeroic()) + if (InstanceMap* map = instance->instance->ToInstanceMap()) + map->PermBindAllPlayers(); } }