From e1108a0465437d1814cbcb81b460348acfb19fd8 Mon Sep 17 00:00:00 2001 From: hondacrx Date: Fri, 2 Sep 2022 14:28:33 -0400 Subject: [PATCH] DB Updates --- .../world/master/2022_08_25_00_world.sql | 162 +++++++++++ .../world/master/2022_08_29_00_world.sql | 110 +++++++ .../world/master/2022_08_29_01_world.sql | 52 ++++ .../world/master/2022_08_29_02_world.sql | 43 +++ .../world/master/2022_08_31_00_world.sql | 270 ++++++++++++++++++ .../world/master/2022_08_31_01_world.sql | 3 + .../world/master/2022_09_02_00_world.sql | 9 + 7 files changed, 649 insertions(+) create mode 100644 sql/updates/world/master/2022_08_25_00_world.sql create mode 100644 sql/updates/world/master/2022_08_29_00_world.sql create mode 100644 sql/updates/world/master/2022_08_29_01_world.sql create mode 100644 sql/updates/world/master/2022_08_29_02_world.sql create mode 100644 sql/updates/world/master/2022_08_31_00_world.sql create mode 100644 sql/updates/world/master/2022_08_31_01_world.sql create mode 100644 sql/updates/world/master/2022_09_02_00_world.sql diff --git a/sql/updates/world/master/2022_08_25_00_world.sql b/sql/updates/world/master/2022_08_25_00_world.sql new file mode 100644 index 000000000..b62eeb76f --- /dev/null +++ b/sql/updates/world/master/2022_08_25_00_world.sql @@ -0,0 +1,162 @@ +-- +SET @CGUID := 1051318; +SET @NPCTEXTID := 580002; + +-- Creature +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, 188377, 2222, 10565, 13499, '0', 18890, 0, 0, 0, -1735.125, 1160.4896240234375, 5267.31396484375, 2.225665569305419921, 7200, 0, 0, 11791, 0, 0, 0, 0, 0, 45114), -- So'turu (Area: -Unknown- - Difficulty: 0) +(@CGUID+1, 188391, 2222, 10565, 13499, '0', 18890, 0, 0, 0, -1732.3367919921875, 1162.8316650390625, 5267.322265625, 2.988910436630249023, 7200, 0, 0, 11791, 0, 0, 0, 0, 0, 45114), -- Ko'ropo (Area: -Unknown- - Difficulty: 0) +(@CGUID+2, 188386, 2222, 10565, 13499, '0', 18890, 0, 0, 0, -1738.1302490234375, 1157.96533203125, 5267.30859375, 1.73673415184020996, 7200, 0, 0, 11791, 0, 0, 0, 0, 0, 45114); -- Ta'choso (Area: -Unknown- - Difficulty: 0) + +-- Template Data +UPDATE `creature_template` SET `minlevel`=60, `maxlevel`=60, `faction`=35, `npcflag`=128, `BaseAttackTime`=2000, `unit_flags`=33024, `unit_flags2`=2048 WHERE `entry`=188386; -- Ta'choso +UPDATE `creature_template` SET `minlevel`=60, `maxlevel`=60, `faction`=35, `npcflag`=128, `BaseAttackTime`=2000, `unit_flags`=33024, `unit_flags2`=2048 WHERE `entry`=188391; -- Ko'ropo +UPDATE `creature_template` SET `gossip_menu_id`=28074, `minlevel`=60, `maxlevel`=60, `faction`=35, `npcflag`=131, `BaseAttackTime`=2000, `unit_flags`=33024, `unit_flags2`=2048 WHERE `entry`=188377; -- So'turu + +-- Scaling +DELETE FROM `creature_template_scaling` WHERE (`DifficultyID`=0 AND `Entry` IN (188386,188391,188377)); +INSERT INTO `creature_template_scaling` (`Entry`, `DifficultyID`, `LevelScalingDeltaMin`, `LevelScalingDeltaMax`, `ContentTuningID`, `VerifiedBuild`) VALUES +(188386, 0, 0, 0, 783, 45114), +(188391, 0, 0, 0, 783, 45114), +(188377, 0, 0, 0, 783, 45114); + +-- Gossip +DELETE FROM `npc_text` WHERE `ID` BETWEEN @NPCTEXTID+0 AND @NPCTEXTID+1; +INSERT INTO `npc_text` (`ID`, `Probability0`, `Probability1`, `Probability2`, `Probability3`, `Probability4`, `Probability5`, `Probability6`, `Probability7`, `BroadcastTextId0`, `BroadcastTextId1`, `BroadcastTextId2`, `BroadcastTextId3`, `BroadcastTextId4`, `BroadcastTextId5`, `BroadcastTextId6`, `BroadcastTextId7`, `VerifiedBuild`) VALUES +(@NPCTEXTID+0, 1, 0, 0, 0, 0, 0, 0, 0, 218562, 0, 0, 0, 0, 0, 0, 0, 45114), -- 188377 (So'turu) +(@NPCTEXTID+1, 1, 0, 0, 0, 0, 0, 0, 0, 218563, 0, 0, 0, 0, 0, 0, 0, 45114); -- 188377 (So'turu) + +DELETE FROM `gossip_menu` WHERE (`MenuID`=28074 AND `TextID`=@NPCTEXTID+0) OR (`MenuID`=28075 AND `TextID`=@NPCTEXTID+1); +INSERT INTO `gossip_menu` (`MenuID`, `TextID`, `VerifiedBuild`) VALUES +(28074, @NPCTEXTID+0, 45114), -- 188377 (So'turu) +(28075, @NPCTEXTID+1, 45114); -- 188377 (So'turu) + +DELETE FROM `gossip_menu_option` WHERE (`MenuID`=28074 AND `OptionID` IN (1,0)); +INSERT INTO `gossip_menu_option` (`MenuID`, `OptionID`, `OptionIcon`, `OptionText`, `OptionBroadcastTextId`, `OptionType`, `OptionNpcFlag`, `Language`, `ActionMenuID`, `ActionPoiID`, `BoxCoded`, `BoxMoney`, `BoxText`, `BoxBroadcastTextID`, `VerifiedBuild`) VALUES +(28074, 1, 1, 'Show me your wares.', 58437, 3, 128, 0, 0, 0, 0, 0, NULL, 0, 45114), -- OptionBroadcastTextID: 58437 - 90189 - 180077 +(28074, 0, 0, 'You seem to recognize this coin. What is it?', 0, 1, 1, 0, 28075, 0, 0, 0, NULL, 0, 45114); + +-- Phasing +DELETE FROM `phase_area` WHERE (`AreaId` = 13499 AND `PhaseId` = 18890); +INSERT INTO `phase_area` (`AreaId`, `PhaseId`, `Comment`) VALUES +(13499, 18890, 'Cosmetic - See Shadowlands Season 4 Coin Vendors'); + +DELETE FROM `phase_name` WHERE `ID` = 18890; +INSERT INTO `phase_name` (`ID`, `Name`) VALUES +(18890, 'Cosmetic - See Shadowlands Season 4 Coin Vendors'); + +-- Condition +DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 26 AND `SourceGroup` = 18890 AND `SourceEntry` = 13499); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `Comment`) VALUES +(26, 18890, 13499, 0, 0, 47, 0, 66648, 64, 0, 0, 'Apply Phase 18890 If Quest 66648 IS rewarded'); + +-- Vendor Data +DELETE FROM `npc_vendor` WHERE (`entry`=188386 AND `item`=186417 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188386 AND `item`=186438 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188386 AND `item`=186398 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188386 AND `item`=186406 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188386 AND `item`=186410 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188386 AND `item`=187056 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188386 AND `item`=186421 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188386 AND `item`=186436 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188386 AND `item`=186437 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188386 AND `item`=186419 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188386 AND `item`=186434 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188386 AND `item`=186435 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188386 AND `item`=186409 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188386 AND `item`=186413 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188386 AND `item`=186393 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188386 AND `item`=186416 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188386 AND `item`=186433 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188386 AND `item`=186432 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188386 AND `item`=186392 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188386 AND `item`=186391 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188386 AND `item`=186388 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188386 AND `item`=186430 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188386 AND `item`=186431 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188386 AND `item`=186411 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188386 AND `item`=186407 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188386 AND `item`=186387 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188386 AND `item`=186429 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188386 AND `item`=186405 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188386 AND `item`=186386 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188386 AND `item`=186427 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188386 AND `item`=186428 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188386 AND `item`=186404 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188386 AND `item`=186385 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188386 AND `item`=186384 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188386 AND `item`=186424 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188386 AND `item`=186425 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188386 AND `item`=186403 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188386 AND `item`=186383 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188386 AND `item`=186418 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188386 AND `item`=186423 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188386 AND `item`=186381 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188386 AND `item`=186415 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188386 AND `item`=186422 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188377 AND `item`=189851 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188377 AND `item`=189861 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188377 AND `item`=189862 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188377 AND `item`=189818 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188377 AND `item`=189860 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188377 AND `item`=188253 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188377 AND `item`=188252 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188377 AND `item`=189852 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188377 AND `item`=189853 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188377 AND `item`=191001 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188377 AND `item`=188254 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188377 AND `item`=189846 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188377 AND `item`=189845 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188377 AND `item`=188261 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188377 AND `item`=188255 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188377 AND `item`=189839 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188377 AND `item`=188262 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188377 AND `item`=189834 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188377 AND `item`=189806 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188377 AND `item`=189781 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188377 AND `item`=188264 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188377 AND `item`=188263 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188377 AND `item`=189828 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188377 AND `item`=189829 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188377 AND `item`=189830 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188377 AND `item`=188266 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188377 AND `item`=188265 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188377 AND `item`=188267 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188377 AND `item`=189816 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188377 AND `item`=189817 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188377 AND `item`=189819 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188377 AND `item`=189808 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188377 AND `item`=189754 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188377 AND `item`=188269 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188377 AND `item`=188268 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188377 AND `item`=189789 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188377 AND `item`=189799 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188377 AND `item`=189800 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188377 AND `item`=188270 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188377 AND `item`=188271 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188377 AND `item`=189790 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188377 AND `item`=189807 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188377 AND `item`=189788 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188377 AND `item`=188272 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188377 AND `item`=188273 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188377 AND `item`=189779 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188377 AND `item`=189584 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188391 AND `item`=184031 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188391 AND `item`=184030 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188391 AND `item`=184029 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188391 AND `item`=184028 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188391 AND `item`=184027 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188391 AND `item`=184026 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188391 AND `item`=184025 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188391 AND `item`=184024 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188391 AND `item`=184023 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188391 AND `item`=184022 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188391 AND `item`=184021 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188391 AND `item`=184020 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188391 AND `item`=184019 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188391 AND `item`=184018 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188391 AND `item`=184017 AND `ExtendedCost`=7302 AND `type`=1) OR (`entry`=188391 AND `item`=184016 AND `ExtendedCost`=7302 AND `type`=1); +INSERT INTO `npc_vendor` (`entry`, `slot`, `item`, `maxcount`, `ExtendedCost`, `type`, `PlayerConditionID`, `IgnoreFiltering`, `VerifiedBuild`) VALUES +(188386, 43, 186417, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188386, 42, 186438, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188386, 41, 186398, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188386, 40, 186406, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188386, 39, 186410, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188386, 38, 187056, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188386, 37, 186421, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188386, 36, 186436, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188386, 35, 186437, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188386, 34, 186419, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188386, 33, 186434, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188386, 32, 186435, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188386, 31, 186409, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188386, 30, 186413, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188386, 29, 186393, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188386, 28, 186416, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188386, 27, 186433, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188386, 26, 186432, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188386, 25, 186392, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188386, 24, 186391, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188386, 23, 186388, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188386, 22, 186430, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188386, 21, 186431, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188386, 20, 186411, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188386, 19, 186407, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188386, 18, 186387, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188386, 17, 186429, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188386, 16, 186405, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188386, 15, 186386, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188386, 14, 186427, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188386, 13, 186428, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188386, 12, 186404, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188386, 11, 186385, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188386, 10, 186384, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188386, 9, 186424, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188386, 8, 186425, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188386, 7, 186403, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188386, 6, 186383, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188386, 5, 186418, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188386, 4, 186423, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188386, 3, 186381, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188386, 2, 186415, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188386, 1, 186422, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188377, 48, 189851, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188377, 47, 189861, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188377, 46, 189862, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188377, 45, 189818, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188377, 44, 189860, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188377, 43, 188253, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188377, 42, 188252, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188377, 41, 189852, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188377, 40, 189853, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188377, 39, 191001, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188377, 38, 188254, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188377, 37, 189846, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188377, 36, 189845, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188377, 35, 188261, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188377, 34, 188255, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188377, 33, 189839, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188377, 31, 188262, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188377, 30, 189834, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188377, 29, 189806, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188377, 28, 189781, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188377, 27, 188264, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188377, 26, 188263, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188377, 25, 189828, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188377, 24, 189829, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188377, 23, 189830, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188377, 22, 188266, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188377, 21, 188265, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188377, 20, 188267, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188377, 19, 189816, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188377, 18, 189817, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188377, 17, 189819, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188377, 16, 189808, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188377, 15, 189754, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188377, 14, 188269, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188377, 13, 188268, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188377, 12, 189789, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188377, 11, 189799, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188377, 10, 189800, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188377, 9, 188270, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188377, 8, 188271, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188377, 7, 189790, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188377, 6, 189807, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188377, 5, 189788, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188377, 4, 188272, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188377, 3, 188273, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188377, 2, 189779, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188377, 1, 189584, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188391, 16, 184031, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188391, 15, 184030, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188391, 14, 184029, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188391, 13, 184028, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188391, 12, 184027, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188391, 11, 184026, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188391, 10, 184025, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188391, 9, 184024, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188391, 8, 184023, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188391, 7, 184022, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188391, 6, 184021, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188391, 5, 184020, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188391, 4, 184019, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188391, 3, 184018, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188391, 2, 184017, 0, 7302, 1, 0, 0, 45114), -- -Unknown- +(188391, 1, 184016, 0, 7302, 1, 0, 0, 45114); -- -Unknown- diff --git a/sql/updates/world/master/2022_08_29_00_world.sql b/sql/updates/world/master/2022_08_29_00_world.sql new file mode 100644 index 000000000..f0d83893f --- /dev/null +++ b/sql/updates/world/master/2022_08_29_00_world.sql @@ -0,0 +1,110 @@ +SET @CGUID := 1051321; +SET @OGUID := 600229; + +DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+63; +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, 161006, 2175, 10424, 11011, '0', 0, 0, 0, 0, 248.15972900390625, -2011.6163330078125, 79.40108489990234375, 1.519477725028991699, 7200, 0, 0, 149, 0, 0, 0, 0, 0, 45114), -- Ogre Shadowcaster (Area: -Unknown- - Difficulty: 0) (Auras: 145363 - Permanent Feign Death (Stun, Untrackable, Immune)) +(@CGUID+1, 172026, 2175, 10424, 11011, '0', 0, 0, 0, 0, 288.19781494140625, -1992.7802734375, 77.91809844970703125, 3.541005373001098632, 7200, 4, 0, 5, 0, 2, 0, 0, 0, 45114), -- Cockroach (Area: -Unknown- - Difficulty: 0) +(@CGUID+2, 172026, 2175, 10424, 11011, '0', 0, 0, 0, 0, 295.2821044921875, -1992.187744140625, 77.87058258056640625, 1.164662003517150878, 7200, 4, 0, 5, 0, 1, 0, 0, 0, 45114), -- Cockroach (Area: -Unknown- - Difficulty: 0) +(@CGUID+3, 172026, 2175, 10424, 11011, '0', 0, 0, 0, 0, 274.635986328125, -1996.230712890625, 78.062652587890625, 4.651137828826904296, 7200, 4, 0, 5, 0, 1, 0, 0, 0, 45114), -- Cockroach (Area: -Unknown- - Difficulty: 0) +(@CGUID+4, 161006, 2175, 10424, 11011, '0', 0, 0, 0, 0, 239.1354217529296875, -2027.876708984375, 79.94861602783203125, 1.998577237129211425, 7200, 0, 0, 149, 0, 0, 0, 0, 0, 45114), -- Ogre Shadowcaster (Area: -Unknown- - Difficulty: 0) (Auras: 145363 - Permanent Feign Death (Stun, Untrackable, Immune)) +(@CGUID+5, 172026, 2175, 10424, 11011, '0', 0, 0, 0, 0, 270.150421142578125, -1998.6605224609375, 77.807098388671875, 5.127995967864990234, 7200, 4, 0, 5, 0, 1, 0, 0, 0, 45114), -- Cockroach (Area: -Unknown- - Difficulty: 0) +(@CGUID+6, 172026, 2175, 10424, 11011, '0', 0, 0, 0, 0, 269.310333251953125, -1993.9666748046875, 77.83879852294921875, 2.889052629470825195, 7200, 4, 0, 5, 0, 1, 0, 0, 0, 45114), -- Cockroach (Area: -Unknown- - Difficulty: 0) +(@CGUID+7, 172027, 2175, 10424, 11011, '0', 0, 0, 0, 0, 311.005218505859375, -1975.232666015625, 77.44677734375, 1.249116301536560058, 7200, 0, 0, 5, 0, 0, 0, 0, 0, 45114), -- Nibbling Scavenger (Area: -Unknown- - Difficulty: 0) +(@CGUID+8, 172026, 2175, 10424, 11011, '0', 0, 0, 0, 0, 279.6104736328125, -1998.158203125, 78.1585693359375, 5.684083461761474609, 7200, 4, 0, 5, 0, 1, 0, 0, 0, 45114), -- Cockroach (Area: -Unknown- - Difficulty: 0) +(@CGUID+9, 172026, 2175, 10424, 11011, '0', 0, 0, 0, 0, 286.692840576171875, -1998.408935546875, 78.055999755859375, 5.289997100830078125, 7200, 4, 0, 5, 0, 1, 0, 0, 0, 45114), -- Cockroach (Area: -Unknown- - Difficulty: 0) +(@CGUID+10, 172026, 2175, 10424, 11011, '0', 0, 0, 0, 0, 294.103973388671875, -1987.12890625, 77.55968475341796875, 0.594617247581481933, 7200, 4, 0, 5, 0, 1, 0, 0, 0, 45114), -- Cockroach (Area: -Unknown- - Difficulty: 0) +(@CGUID+11, 172026, 2175, 10424, 11011, '0', 0, 0, 0, 0, 276.203399658203125, -1998.2034912109375, 78.1262054443359375, 2.65345931053161621, 7200, 4, 0, 5, 0, 1, 0, 0, 0, 45114), -- Cockroach (Area: -Unknown- - Difficulty: 0) +(@CGUID+12, 172027, 2175, 10424, 11011, '0', 0, 0, 0, 0, 310.01910400390625, -1981.0972900390625, 77.927154541015625, 0.109653525054454803, 7200, 0, 0, 5, 0, 0, 0, 0, 0, 45114), -- Nibbling Scavenger (Area: -Unknown- - Difficulty: 0) +(@CGUID+13, 172026, 2175, 10424, 11011, '0', 0, 0, 0, 0, 301.752288818359375, -1983.2999267578125, 77.96352386474609375, 2.839550495147705078, 7200, 4, 0, 5, 0, 1, 0, 0, 0, 45114), -- Cockroach (Area: -Unknown- - Difficulty: 0) +(@CGUID+14, 172026, 2175, 10424, 11011, '0', 0, 0, 0, 0, 284.022857666015625, -1987.0972900390625, 77.83969879150390625, 5.160910606384277343, 7200, 4, 0, 5, 0, 1, 0, 0, 0, 45114), -- Cockroach (Area: -Unknown- - Difficulty: 0) +(@CGUID+15, 172026, 2175, 10424, 11011, '0', 0, 0, 0, 0, 299.850738525390625, -1990.1983642578125, 78.0007171630859375, 1.234702587127685546, 7200, 4, 0, 5, 0, 1, 0, 0, 0, 45114), -- Cockroach (Area: -Unknown- - Difficulty: 0) +(@CGUID+16, 172026, 2175, 10424, 11011, '0', 0, 0, 0, 0, 297.892852783203125, -1989.4344482421875, 77.7454071044921875, 2.735143899917602539, 7200, 4, 0, 5, 0, 1, 0, 0, 0, 45114), -- Cockroach (Area: -Unknown- - Difficulty: 0) +(@CGUID+17, 172026, 2175, 10424, 11011, '0', 0, 0, 0, 0, 292.26495361328125, -1997.93896484375, 77.827423095703125, 0.947819709777832031, 7200, 4, 0, 5, 0, 0, 1, 0, 0, 45114), -- Cockroach (Area: -Unknown- - Difficulty: 0) +(@CGUID+18, 172026, 2175, 10424, 11011, '0', 0, 0, 0, 0, 269.71197509765625, -1992.8385009765625, 77.83599090576171875, 6.127718925476074218, 7200, 4, 0, 5, 0, 1, 0, 0, 0, 45114), -- Cockroach (Area: -Unknown- - Difficulty: 0) +(@CGUID+19, 172026, 2175, 10424, 11011, '0', 0, 0, 0, 0, 281.730133056640625, -1992.7728271484375, 78.377716064453125, 2.958071708679199218, 7200, 4, 0, 5, 0, 1, 0, 0, 0, 45114), -- Cockroach (Area: -Unknown- - Difficulty: 0) +(@CGUID+20, 172026, 2175, 10424, 11011, '0', 0, 0, 0, 0, 280.58221435546875, -2000.6510009765625, 78.05225372314453125, 3.804633617401123046, 7200, 4, 0, 5, 0, 1, 0, 0, 0, 45114), -- Cockroach (Area: -Unknown- - Difficulty: 0) +(@CGUID+21, 172026, 2175, 10424, 11011, '0', 0, 0, 0, 0, 270.30792236328125, -1997.654052734375, 77.80768585205078125, 4.148012161254882812, 7200, 4, 0, 5, 0, 1, 0, 0, 0, 45114), -- Cockroach (Area: -Unknown- - Difficulty: 0) +(@CGUID+22, 172026, 2175, 10424, 11011, '0', 0, 0, 0, 0, 297.848907470703125, -1984.603515625, 77.38451385498046875, 0.43133711814880371, 7200, 4, 0, 5, 0, 1, 0, 0, 0, 45114), -- Cockroach (Area: -Unknown- - Difficulty: 0) +(@CGUID+23, 172026, 2175, 10424, 11011, '0', 0, 0, 0, 0, 273.777587890625, -1988.8291015625, 77.81970977783203125, 5.193759441375732421, 7200, 4, 0, 5, 0, 1, 0, 0, 0, 45114), -- Cockroach (Area: -Unknown- - Difficulty: 0) +(@CGUID+24, 172027, 2175, 10424, 11011, '0', 0, 0, 0, 0, 298.623260498046875, -1977.1927490234375, 77.73435211181640625, 1.250232696533203125, 7200, 0, 0, 5, 0, 0, 0, 0, 0, 45114), -- Nibbling Scavenger (Area: -Unknown- - Difficulty: 0) +(@CGUID+25, 172026, 2175, 10424, 11011, '0', 0, 0, 0, 0, 289.356109619140625, -1983.24609375, 77.770355224609375, 5.603207588195800781, 7200, 4, 0, 5, 0, 1, 0, 0, 0, 45114), -- Cockroach (Area: -Unknown- - Difficulty: 0) +(@CGUID+26, 172026, 2175, 10424, 11011, '0', 0, 0, 0, 0, 269.793182373046875, -1992.7335205078125, 77.8348236083984375, 0.517088353633880615, 7200, 4, 0, 5, 0, 1, 0, 0, 0, 45114), -- Cockroach (Area: -Unknown- - Difficulty: 0) +(@CGUID+27, 172026, 2175, 10424, 11011, '0', 0, 0, 0, 0, 300.877685546875, -1989.7099609375, 78.08319854736328125, 1.468073010444641113, 7200, 4, 0, 5, 0, 1, 0, 0, 0, 45114), -- Cockroach (Area: -Unknown- - Difficulty: 0) +(@CGUID+28, 172027, 2175, 10424, 11011, '0', 0, 0, 0, 0, 299.388885498046875, -1976.8350830078125, 77.73435211181640625, 2.304511070251464843, 7200, 4, 0, 5, 0, 1, 0, 0, 0, 45114), -- Nibbling Scavenger (Area: -Unknown- - Difficulty: 0) +(@CGUID+29, 172026, 2175, 10424, 11011, '0', 0, 0, 0, 0, 289.194793701171875, -1979.338134765625, 77.71779632568359375, 0.016641009598970413, 7200, 4, 0, 5, 0, 1, 0, 0, 0, 45114), -- Cockroach (Area: -Unknown- - Difficulty: 0) +(@CGUID+30, 172026, 2175, 10424, 11011, '0', 0, 0, 0, 0, 283.11492919921875, -1986.8773193359375, 77.7598114013671875, 3.591572284698486328, 7200, 4, 0, 5, 0, 1, 0, 0, 0, 45114), -- Cockroach (Area: -Unknown- - Difficulty: 0) +(@CGUID+31, 172026, 2175, 10424, 11011, '0', 0, 0, 0, 0, 269.735107421875, -2002.2535400390625, 77.86246490478515625, 5.228423595428466796, 7200, 4, 0, 5, 0, 1, 0, 0, 0, 45114), -- Cockroach (Area: -Unknown- - Difficulty: 0) +(@CGUID+32, 161006, 2175, 10424, 11011, '0', 0, 0, 0, 0, 224.798614501953125, -2021.9947509765625, 79.75852203369140625, 4.973180770874023437, 7200, 0, 0, 149, 0, 0, 0, 0, 0, 45114), -- Ogre Shadowcaster (Area: -Unknown- - Difficulty: 0) (Auras: 145363 - Permanent Feign Death (Stun, Untrackable, Immune)) +(@CGUID+33, 172027, 2175, 10424, 11011, '0', 0, 0, 0, 0, 285.251739501953125, -1998.3785400390625, 77.73626708984375, 3.679943084716796875, 7200, 0, 0, 5, 0, 0, 0, 0, 0, 45114), -- Nibbling Scavenger (Area: -Unknown- - Difficulty: 0) +(@CGUID+34, 172026, 2175, 10424, 11011, '0', 0, 0, 0, 0, 283.04351806640625, -1997.1580810546875, 78.05489349365234375, 4.906396865844726562, 7200, 4, 0, 5, 0, 1, 0, 0, 0, 45114), -- Cockroach (Area: -Unknown- - Difficulty: 0) +(@CGUID+35, 172026, 2175, 10424, 11011, '0', 0, 0, 0, 0, 271.849456787109375, -2004.9453125, 77.8506011962890625, 0.926486432552337646, 7200, 4, 0, 5, 0, 1, 0, 0, 0, 45114), -- Cockroach (Area: -Unknown- - Difficulty: 0) +(@CGUID+36, 172026, 2175, 10424, 11011, '0', 0, 0, 0, 0, 274.5906982421875, -1999.092529296875, 78.04541778564453125, 0.966549694538116455, 7200, 4, 0, 5, 0, 1, 0, 0, 0, 45114), -- Cockroach (Area: -Unknown- - Difficulty: 0) +(@CGUID+37, 161006, 2175, 10424, 11011, '0', 0, 0, 0, 0, 223.65972900390625, -2012.5816650390625, 80.46463775634765625, 6.282768726348876953, 7200, 0, 0, 149, 0, 0, 0, 0, 0, 45114), -- Ogre Shadowcaster (Area: -Unknown- - Difficulty: 0) (Auras: 145363 - Permanent Feign Death (Stun, Untrackable, Immune)) +(@CGUID+38, 172026, 2175, 10424, 11011, '0', 0, 0, 0, 0, 299.300506591796875, -1986.4254150390625, 77.61298370361328125, 1.640192627906799316, 7200, 4, 0, 5, 0, 1, 0, 0, 0, 45114), -- Cockroach (Area: -Unknown- - Difficulty: 0) +(@CGUID+39, 172026, 2175, 10424, 11011, '0', 0, 0, 0, 0, 271.510589599609375, -2000.8414306640625, 77.7993927001953125, 3.993740081787109375, 7200, 4, 0, 5, 0, 1, 0, 0, 0, 45114), -- Cockroach (Area: -Unknown- - Difficulty: 0) +(@CGUID+40, 172027, 2175, 10424, 11011, '0', 0, 0, 0, 0, 297.53472900390625, -1977.01220703125, 77.70937347412109375, 0.707951843738555908, 7200, 0, 0, 5, 0, 0, 0, 0, 0, 45114), -- Nibbling Scavenger (Area: -Unknown- - Difficulty: 0) +(@CGUID+41, 172026, 2175, 10424, 11011, '0', 0, 0, 0, 0, 295.72540283203125, -1984.094482421875, 77.24219512939453125, 3.971421241760253906, 7200, 4, 0, 5, 0, 1, 0, 0, 0, 45114), -- Cockroach (Area: -Unknown- - Difficulty: 0) +(@CGUID+42, 154268, 2175, 10424, 11011, '0', 0, 0, 0, 0, 212.750762939453125, -2040.2274169921875, 96.8371124267578125, 4.7701416015625, 7200, 0, 0, 136, 0, 0, 0, 0, 0, 45114), -- Hungry Vulture (Area: -Unknown- - Difficulty: 0) +(@CGUID+43, 154268, 2175, 10424, 11011, '0', 0, 0, 0, 0, 172.9589996337890625, -2073.767333984375, 104.377655029296875, 1.304056048393249511, 7200, 0, 0, 136, 0, 0, 0, 0, 0, 45114), -- Hungry Vulture (Area: -Unknown- - Difficulty: 0) +(@CGUID+44, 171997, 2175, 10424, 11011, '0', 0, 0, 0, 0, 248.3645782470703125, -2027.9271240234375, 106.019134521484375, 2.400225639343261718, 7200, 0, 0, 149, 0, 0, 0, 0, 0, 45114), -- Woodlands Watcher (Area: -Unknown- - Difficulty: 0) +(@CGUID+45, 161006, 2175, 10424, 11011, '0', 0, 0, 0, 0, 220.173614501953125, -2039.3038330078125, 78.941680908203125, 4.481699466705322265, 7200, 0, 0, 149, 0, 0, 0, 0, 0, 45114), -- Ogre Shadowcaster (Area: -Unknown- - Difficulty: 0) (Auras: 145363 - Permanent Feign Death (Stun, Untrackable, Immune)) +(@CGUID+46, 154268, 2175, 10424, 11011, '0', 0, 0, 0, 0, 184.22711181640625, -2088.139404296875, 111.8939132690429687, 2.940387487411499023, 7200, 0, 0, 136, 0, 0, 0, 0, 0, 45114), -- Hungry Vulture (Area: -Unknown- - Difficulty: 0) +(@CGUID+47, 172027, 2175, 10424, 11011, '0', 0, 0, 0, 0, 208.2470855712890625, -2048.836669921875, 78.20540618896484375, 2.475290298461914062, 7200, 4, 0, 5, 0, 1, 0, 0, 0, 45114), -- Nibbling Scavenger (Area: -Unknown- - Difficulty: 0) +(@CGUID+48, 161006, 2175, 10424, 11011, '0', 0, 0, 0, 0, 207.3350677490234375, -2061.84716796875, 78.7346954345703125, 0.203099057078361511, 7200, 0, 0, 149, 0, 0, 0, 0, 0, 45114), -- Ogre Shadowcaster (Area: -Unknown- - Difficulty: 0) (Auras: 145363 - Permanent Feign Death (Stun, Untrackable, Immune)) +(@CGUID+49, 172027, 2175, 10424, 11011, '0', 0, 0, 0, 0, 204.4708099365234375, -2054.31396484375, 77.86822509765625, 2.900879383087158203, 7200, 4, 0, 5, 0, 1, 0, 0, 0, 45114), -- Nibbling Scavenger (Area: -Unknown- - Difficulty: 0) +(@CGUID+50, 161006, 2175, 10424, 11011, '0', 0, 0, 0, 0, 214.3559112548828125, -2078.75341796875, 78.9085540771484375, 2.623500823974609375, 7200, 0, 0, 149, 0, 0, 0, 0, 0, 45114), -- Ogre Shadowcaster (Area: -Unknown- - Difficulty: 0) (Auras: 145363 - Permanent Feign Death (Stun, Untrackable, Immune)) +(@CGUID+51, 172027, 2175, 10424, 11011, '0', 0, 0, 0, 0, 197.4309539794921875, -2075.5302734375, 77.41428375244140625, 3.752988100051879882, 7200, 4, 0, 5, 0, 1, 0, 0, 0, 45114), -- Nibbling Scavenger (Area: -Unknown- - Difficulty: 0) +(@CGUID+52, 172027, 2175, 10424, 11011, '0', 0, 0, 0, 0, 171.140625, -2064.54345703125, 77.81885528564453125, 3.144254207611083984, 7200, 0, 0, 5, 0, 0, 0, 0, 0, 45114), -- Nibbling Scavenger (Area: -Unknown- - Difficulty: 0) +(@CGUID+53, 172027, 2175, 10424, 11011, '0', 0, 0, 0, 0, 207.368377685546875, -2098.573974609375, 80.07639312744140625, 3.209979057312011718, 7200, 4, 0, 5, 0, 1, 0, 0, 0, 45114), -- Nibbling Scavenger (Area: -Unknown- - Difficulty: 0) +(@CGUID+54, 172027, 2175, 10424, 11011, '0', 0, 0, 0, 0, 172.6996612548828125, -2062.7119140625, 77.81884002685546875, 0.559787929058074951, 7200, 0, 0, 5, 0, 0, 0, 0, 0, 45114), -- Nibbling Scavenger (Area: -Unknown- - Difficulty: 0) +(@CGUID+55, 172027, 2175, 10424, 11011, '0', 0, 0, 0, 0, 174.31597900390625, -2062.73779296875, 77.81884002685546875, 3.144254207611083984, 7200, 0, 0, 5, 0, 0, 0, 0, 0, 45114), -- Nibbling Scavenger (Area: -Unknown- - Difficulty: 0) +(@CGUID+56, 172027, 2175, 10424, 11011, '0', 0, 0, 0, 0, 183.4342041015625, -2084.3818359375, 77.8585052490234375, 2.288524866104125976, 7200, 4, 0, 5, 0, 1, 0, 0, 0, 45114), -- Nibbling Scavenger (Area: -Unknown- - Difficulty: 0) +(@CGUID+57, 172027, 2175, 10424, 11011, '0', 0, 0, 0, 0, 177.9083404541015625, -2080.123046875, 77.93352508544921875, 2.837572336196899414, 7200, 4, 0, 5, 0, 1, 0, 0, 0, 45114), -- Nibbling Scavenger (Area: -Unknown- - Difficulty: 0) +(@CGUID+58, 172027, 2175, 10424, 11011, '0', 0, 0, 0, 0, 169.2881927490234375, -2065.654541015625, 77.82209014892578125, 1.250232696533203125, 7200, 0, 0, 5, 0, 0, 0, 0, 0, 45114), -- Nibbling Scavenger (Area: -Unknown- - Difficulty: 0) +(@CGUID+59, 171997, 2175, 10424, 11011, '0', 0, 0, 0, 0, 215.361114501953125, -2120.447998046875, 99.539337158203125, 1.818612456321716308, 7200, 0, 0, 149, 0, 0, 0, 0, 0, 45114), -- Woodlands Watcher (Area: -Unknown- - Difficulty: 0) +(@CGUID+60, 172027, 2175, 10424, 11011, '0', 0, 0, 0, 0, 171.9936676025390625, -2092.832763671875, 78.53928375244140625, 5.04897165298461914, 7200, 4, 0, 5, 0, 1, 0, 0, 0, 45114), -- Nibbling Scavenger (Area: -Unknown- - Difficulty: 0) +(@CGUID+61, 171997, 2175, 10424, 11011, '0', 0, 0, 0, 0, 162.642364501953125, -2077.013916015625, 93.541839599609375, 5.877742290496826171, 7200, 0, 0, 149, 0, 0, 0, 0, 0, 45114), -- Woodlands Watcher (Area: -Unknown- - Difficulty: 0) +(@CGUID+62, 172027, 2175, 10424, 11011, '0', 0, 0, 0, 0, 198.1689605712890625, -2119.4765625, 84.428253173828125, 4.079430580139160156, 7200, 4, 0, 5, 0, 1, 0, 0, 0, 45114), -- Nibbling Scavenger (Area: -Unknown- - Difficulty: 0) +(@CGUID+63, 172027, 2175, 10424, 11011, '0', 0, 0, 0, 0, 212.9317169189453125, -2120.7041015625, 83.8814697265625, 4.057169914245605468, 7200, 4, 0, 5, 0, 1, 0, 0, 0, 45114); -- Nibbling Scavenger (Area: -Unknown- - Difficulty: 0) + +-- Creature Addon +DELETE FROM `creature_addon` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+63; +INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES +(@CGUID+44, 0, 0, 50331649, 1, 0, 0, 0, 0, 0, ''), -- Woodlands Watcher +(@CGUID+61, 0, 0, 50331649, 1, 0, 0, 0, 0, 0, ''), -- Woodlands Watcher +(@CGUID+59, 0, 0, 50331649, 1, 0, 0, 0, 0, 0, ''); -- Woodlands Watcher + +-- Creature Template Addon Data +DELETE FROM `creature_template_addon` WHERE `entry` IN (154268, 153266, 161006); +INSERT INTO `creature_template_addon` (`entry`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES +(154268, 0, 0, 50331648, 1, 0, 0, 0, 0, 3, ''), -- 154268 (Hungry Vulture) +(153266, 0, 0, 0, 1, 0, 0, 0, 0, 4, '313373'), -- 153266 (Killclaw the Terrible) - -Unknown- +(161006, 0, 0, 262144, 1, 0, 0, 0, 0, 0, '145363'); -- 161006 (Ogre Shadowcaster) - Permanent Feign Death (Stun, Untrackable; Immune) + +-- Creature Template Data +UPDATE `creature_template` SET `faction`=188, `BaseAttackTime`=2000, `unit_flags2`=2048 WHERE `entry`=172027; -- Nibbling Scavenger +UPDATE `creature_template` SET `faction`=188, `BaseAttackTime`=2000, `unit_flags2`=2048 WHERE `entry`=172026; -- Cockroach +UPDATE `creature_template` SET `minlevel`=10, `maxlevel`=10, `faction`=2057, `BaseAttackTime`=2000, `unit_flags`=537166592, `unit_flags2`=2049, `unit_flags3`=8192 WHERE `entry`=161006; -- Ogre Shadowcaster +UPDATE `creature_template` SET `minlevel`=10, `maxlevel`=10, `faction`=31, `BaseAttackTime`=2000, `unit_flags`=32768, `unit_flags2`=2048 WHERE `entry`=171997; -- Woodlands Watcher + +-- Creature MovementType +DELETE FROM `creature_template_movement` WHERE `CreatureId` = 154268; +INSERT INTO `creature_template_movement` (`CreatureId`, `Ground`, `Swim`, `Flight`, `Rooted`, `Chase`, `Random`, `InteractionPauseTimer`) VALUES +(154268, 0, 0, 1, 0, 0, 0, NULL); + +-- GameObject +DELETE FROM `gameobject` WHERE `guid` = @OGUID+0; +INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `PhaseId`, `PhaseGroup`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `VerifiedBuild`) VALUES +(@OGUID+0, 330627, 2175, 10424, 11011, '0', 0, 0, 210.638885498046875, -2167.5, 92.2349853515625, 3.927583217620849609, 0, 0, -0.92376613616943359, 0.382957041263580322, 7200, 255, 1, 45114); -- Danger Sign (Area: -Unknown- - Difficulty: 0) + +-- Scaling +DELETE FROM `creature_template_scaling` WHERE (`Entry`=167582 AND `DifficultyID`=0); +INSERT INTO `creature_template_scaling` (`Entry`, `DifficultyID`, `LevelScalingDeltaMin`, `LevelScalingDeltaMax`, `ContentTuningID`, `VerifiedBuild`) VALUES +(167582, 0, 0, 0, 741, 45114); + +UPDATE `creature_template_scaling` SET `VerifiedBuild`=45114 WHERE (`DifficultyID`=0 AND `Entry` IN (161265,164827,171997,154268,164927,165730,165757,153266,165711,172027,165727,172026,161006)); + +DELETE FROM `creature_model_info` WHERE `DisplayID`=96513; +INSERT INTO `creature_model_info` (`DisplayID`, `BoundingRadius`, `CombatReach`, `DisplayID_Other_Gender`, `VerifiedBuild`) VALUES +(96513, 0.305999994277954101, 1.5, 0, 45114); diff --git a/sql/updates/world/master/2022_08_29_01_world.sql b/sql/updates/world/master/2022_08_29_01_world.sql new file mode 100644 index 000000000..46467f397 --- /dev/null +++ b/sql/updates/world/master/2022_08_29_01_world.sql @@ -0,0 +1,52 @@ +SET @CGUID := 1051385; + +DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+21; +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, 160394, 2175, 10424, 10527, '0', 0, 0, 0, 0, 85.24202728271484375, -2275.666259765625, 60.3869476318359375, 1.411876201629638671, 7200, 4, 0, 124, 0, 1, 0, 0, 0, 45114), -- Barrow Spider (Area: -Unknown- - Difficulty: 0) (Auras: 316915 - -Unknown-) (possible waypoints or random movement) +(@CGUID+1, 160433, 2175, 10424, 10527, '0', 0, 0, 0, 0, 78.1845550537109375, -2186.92724609375, 24.75084877014160156, 5.387650966644287109, 7200, 2, 0, 37, 0, 1, 0, 0, 0, 45114), -- Barrow Spiderling (Area: -Unknown- - Difficulty: 0) (Auras: 316915 - -Unknown-) (possible waypoints or random movement) +(@CGUID+2, 160394, 2175, 10424, 10527, '0', 0, 0, 0, 0, 107.0506134033203125, -2219.107177734375, 31.8289947509765625, 3.13928842544555664, 7200, 4, 0, 124, 0, 1, 0, 0, 0, 45114), -- Barrow Spider (Area: -Unknown- - Difficulty: 0) (Auras: 316915 - -Unknown-) (possible waypoints or random movement) +(@CGUID+3, 160394, 2175, 10424, 10527, '0', 0, 0, 0, 0, 70.72725677490234375, -2275.736083984375, 43.4692230224609375, 1.070562481880187988, 7200, 4, 0, 124, 0, 1, 0, 0, 0, 45114), -- Barrow Spider (Area: -Unknown- - Difficulty: 0) (Auras: 316915 - -Unknown-) +(@CGUID+4, 160433, 2175, 10424, 10527, '0', 0, 0, 0, 0, 118.5678329467773437, -2274.194580078125, 42.686126708984375, 2.738408327102661132, 7200, 2, 0, 37, 0, 1, 0, 0, 0, 45114), -- Barrow Spiderling (Area: -Unknown- - Difficulty: 0) (Auras: 316915 - -Unknown-) (possible waypoints or random movement) +(@CGUID+5, 160394, 2175, 10424, 10527, '0', 0, 0, 0, 0, 99.0129241943359375, -2253.35009765625, 39.6536865234375, 2.930016994476318359, 7200, 4, 0, 124, 0, 1, 0, 0, 0, 45114), -- Barrow Spider (Area: -Unknown- - Difficulty: 0) (Auras: 316915 - -Unknown-) +(@CGUID+6, 160433, 2175, 10424, 10527, '0', 0, 0, 0, 0, 32.54230499267578125, -2230.325927734375, 11.46560192108154296, 3.190922260284423828, 7200, 2, 0, 37, 0, 1, 0, 0, 0, 45114), -- Barrow Spiderling (Area: -Unknown- - Difficulty: 0) (Auras: 316915 - -Unknown-) (possible waypoints or random movement) +(@CGUID+7, 160433, 2175, 10424, 10527, '0', 0, 0, 0, 0, 71.9236297607421875, -2187.74951171875, 24.16413116455078125, 4.715922355651855468, 7200, 2, 0, 37, 0, 1, 0, 0, 0, 45114), -- Barrow Spiderling (Area: -Unknown- - Difficulty: 0) (Auras: 316915 - -Unknown-) (possible waypoints or random movement) +(@CGUID+8, 160433, 2175, 10424, 10527, '0', 0, 0, 0, 0, 119.7234115600585937, -2274.120361328125, 42.29446029663085937, 2.505269289016723632, 7200, 2, 0, 37, 0, 1, 0, 0, 0, 45114), -- Barrow Spiderling (Area: -Unknown- - Difficulty: 0) (Auras: 316915 - -Unknown-) (possible waypoints or random movement) +(@CGUID+9, 160433, 2175, 10424, 10527, '0', 0, 0, 0, 0, 97.93556976318359375, -2277.023193359375, -2.46034550666809082, 0.868991851806640625, 7200, 2, 0, 37, 0, 1, 0, 0, 0, 45114), -- Barrow Spiderling (Area: -Unknown- - Difficulty: 0) (Auras: 316915 - -Unknown-) (possible waypoints or random movement) +(@CGUID+10, 160394, 2175, 10424, 10527, '0', 0, 0, 0, 0, 56.20186233520507812, -2224.949462890625, -18.92352294921875, 0.664193809032440185, 7200, 4, 0, 124, 0, 1, 0, 0, 0, 45114), -- Barrow Spider (Area: -Unknown- - Difficulty: 0) (Auras: 316915 - -Unknown-) (possible waypoints or random movement) +(@CGUID+11, 160433, 2175, 10424, 10527, '0', 0, 0, 0, 0, 107.1527786254882812, -2234.09033203125, -9.71255207061767578, 0.525046288967132568, 7200, 2, 0, 37, 0, 1, 0, 0, 0, 45114), -- Barrow Spiderling (Area: -Unknown- - Difficulty: 0) (Auras: 316915 - -Unknown-) +(@CGUID+12, 160433, 2175, 10424, 10527, '0', 0, 0, 0, 0, 20.85238838195800781, -2228.399169921875, 11.68490886688232421, 5.239824771881103515, 7200, 2, 0, 37, 0, 1, 0, 0, 0, 45114), -- Barrow Spiderling (Area: -Unknown- - Difficulty: 0) (Auras: 316915 - -Unknown-) (possible waypoints or random movement) +(@CGUID+13, 160433, 2175, 10424, 10527, '0', 0, 0, 0, 0, 118.593963623046875, -2254.896728515625, -4.04590606689453125, 2.35221409797668457, 7200, 4, 0, 37, 0, 1, 0, 0, 0, 45114), -- Barrow Spiderling (Area: -Unknown- - Difficulty: 0) (Auras: 316915 - -Unknown-) (possible waypoints or random movement) +(@CGUID+14, 160394, 2175, 10424, 10527, '0', 0, 0, 0, 0, 34.791473388671875, -2262.621826171875, 1.035332322120666503, 3.411931753158569335, 7200, 4, 0, 124, 0, 1, 0, 0, 0, 45114), -- Barrow Spider (Area: -Unknown- - Difficulty: 0) (Auras: 316915 - -Unknown-) +(@CGUID+15, 160394, 2175, 10424, 10527, '0', 0, 0, 0, 0, 38.88898468017578125, -2189.22705078125, 20.4829559326171875, 1.494288206100463867, 7200, 4, 0, 124, 0, 1, 0, 0, 0, 45114), -- Barrow Spider (Area: -Unknown- - Difficulty: 0) (Auras: 316915 - -Unknown-) (possible waypoints or random movement) +(@CGUID+16, 160394, 2175, 10424, 10527, '0', 0, 0, 0, 0, 83.48264312744140625, -2248.259521484375, -16.4877910614013671, 4.009123802185058593, 7200, 4, 0, 124, 0, 1, 0, 0, 0, 45114), -- Barrow Spider (Area: -Unknown- - Difficulty: 0) (Auras: 316915 - -Unknown-) (possible waypoints or random movement) +(@CGUID+17, 160394, 2175, 10424, 10527, '0', 0, 0, 0, 0, 69.45362091064453125, -2272.9072265625, -1.13438236713409423, 5.281130790710449218, 7200, 4, 0, 124, 0, 1, 0, 0, 0, 45114), -- Barrow Spider (Area: -Unknown- - Difficulty: 0) (Auras: 316915 - -Unknown-) +(@CGUID+18, 160433, 2175, 10424, 10527, '0', 0, 0, 0, 0, 111.3011703491210937, -2233.8525390625, -8.82757472991943359, 0.504135966300964355, 7200, 2, 0, 37, 0, 1, 0, 0, 0, 45114), -- Barrow Spiderling (Area: -Unknown- - Difficulty: 0) (Auras: 316915 - -Unknown-) (possible waypoints or random movement) +(@CGUID+19, 160433, 2175, 10424, 10527, '0', 0, 0, 0, 0, 97.45998382568359375, -2275.99462890625, -2.31414794921875, 0.219286605715751647, 7200, 2, 0, 37, 0, 1, 0, 0, 0, 45114), -- Barrow Spiderling (Area: -Unknown- - Difficulty: 0) (Auras: 316915 - -Unknown-) (possible waypoints or random movement) +(@CGUID+20, 160433, 2175, 10424, 10527, '0', 0, 0, 0, 0, 119.559417724609375, -2264.964599609375, -4.58145523071289062, 1.759042859077453613, 7200, 2, 0, 37, 0, 1, 0, 0, 0, 45114), -- Barrow Spiderling (Area: -Unknown- - Difficulty: 0) (Auras: 316915 - -Unknown-) (possible waypoints or random movement) +(@CGUID+21, 156900, 2175, 10424, 10527, '0', 0, 0, 0, 0, 69.98264312744140625, -2122.057373046875, -30.1194019317626953, 5.326576709747314453, 7200, 0, 0, 310, 191, 0, 0, 0, 0, 45114); -- Hrun the Exiled (Area: -Unknown- - Difficulty: 0) + +UPDATE `creature` SET `wander_distance`=0 AND `MovementType`=0 WHERE `guid` IN (1051196, 1051194); + +-- Creature Addon +DELETE FROM `creature_addon` WHERE `guid` IN (1051196, 1051194); +INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES +(1051196, 0, 0, 1, 1, 0, 0, 0, 0, 3, ''), -- Hungry Vulture +(1051194, 0, 0, 1, 1, 0, 0, 0, 0, 3, ''); -- Hungry Vulture + +-- Creature Template Addon +DELETE FROM `creature_template_addon` WHERE `entry` IN (160433 /*160433 (Barrow Spiderling) - -Unknown-*/, 160394 /*160394 (Barrow Spider) - -Unknown-*/, 156900); +INSERT INTO `creature_template_addon` (`entry`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES +(160433, 0, 0, 0, 1, 0, 0, 0, 0, 0, '316915'), -- 160433 (Barrow Spiderling) - -Unknown- +(160394, 0, 0, 0, 1, 0, 0, 0, 0, 0, '316915'), -- 160394 (Barrow Spider) - -Unknown- +(156900, 0, 0, 0, 1, 468, 0, 0, 0, 0, ''); -- 156900 (Hrun the Exiled) + +-- Creature Template +UPDATE `creature_template` SET `minlevel`=10, `maxlevel`=10, `dynamicflags`=0 WHERE `entry`=160433; -- Barrow Spiderling +UPDATE `creature_template` SET `minlevel`=10, `maxlevel`=10 WHERE `entry`=160394; -- Barrow Spider + +-- Scaling +UPDATE `creature_template_scaling` SET `VerifiedBuild`=45114 WHERE (`DifficultyID`=0 AND `Entry` IN (161224,156900,167216,168382,167212,167215,167217,167213,167222,167221,160433,160394)); + +UPDATE `creature_model_info` SET `VerifiedBuild`=45114 WHERE `DisplayID` IN (75371, 92803, 91670, 64062, 99444, 96320, 96314, 96364, 1072, 96384, 96363, 97258, 96541, 10824, 1157); +UPDATE `creature_model_info` SET `BoundingRadius`=0.928183615207672119, `CombatReach`=0.655102074146270751, `VerifiedBuild`=45114 WHERE `DisplayID`=1088; +UPDATE `creature_model_info` SET `BoundingRadius`=2.125280141830444335, `CombatReach`=1.5, `VerifiedBuild`=45114 WHERE `DisplayID`=283; diff --git a/sql/updates/world/master/2022_08_29_02_world.sql b/sql/updates/world/master/2022_08_29_02_world.sql new file mode 100644 index 000000000..76eb0a3c6 --- /dev/null +++ b/sql/updates/world/master/2022_08_29_02_world.sql @@ -0,0 +1,43 @@ +SET @CGUID := 1051407; +SET @OGUID := 600230; + +-- Creature +DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+5; +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, 157114, 2175, 10424, 10588, '0', 13878, 0, 0, 0, 301.390625, -2486.314208984375, 115.1827926635742187, 1.608367085456848144, 7200, 0, 0, 124, 0, 0, 0, 0, 0, 45114), -- Lightspawn (Area: -Unknown- - Difficulty: 0) (Auras: 319104 - -Unknown-) +(@CGUID+1, 164026, 2175, 10424, 10588, '0', 13878, 0, 0, 0, 279.567718505859375, -2473.83154296875, 117.5749664306640625, 0, 7200, 0, 0, 124, 0, 0, 0, 0, 0, 45114), -- InvisBunny (Area: -Unknown- - Difficulty: 0) +(@CGUID+2, 157104, 2175, 10424, 10588, '0', 13878, 0, 0, 0, 301.22222900390625, -2486.2587890625, 115.1819534301757812, 0, 7200, 0, 0, 124, 0, 0, 0, 0, 0, 45114), -- Invisible Stalker (Area: -Unknown- - Difficulty: 0) +(@CGUID+3, 155572, 2175, 10424, 10588, '0', 13878, 0, 0, 0, 313.5850830078125, -2460.123291015625, 118.3092422485351562, 6.224598884582519531, 7200, 0, 0, 124, 0, 0, 0, 0, 0, 45114), -- InvisBunny (Area: -Unknown- - Difficulty: 0) +(@CGUID+4, 164022, 2175, 10424, 10588, '0', 13878, 0, 0, 0, 325.213531494140625, -2496.65283203125, 117.8692550659179687, 0, 7200, 0, 0, 124, 0, 0, 0, 0, 0, 45114), -- InvisBunny (Area: -Unknown- - Difficulty: 0) +(@CGUID+5, 164025, 2175, 10424, 10588, '0', 13878, 0, 0, 0, 290.63714599609375, -2513.760498046875, 117.9789657592773437, 0, 7200, 0, 0, 124, 0, 0, 0, 0, 0, 45114); -- InvisBunny (Area: -Unknown- - Difficulty: 0) + +-- Creature Template Addon +DELETE FROM `creature_template_addon` WHERE `entry` = 157114 /*157114 (Lightspawn) - -Unknown-*/; +INSERT INTO `creature_template_addon` (`entry`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES +(157114, 0, 0, 0, 1, 0, 0, 0, 0, 3, '319104'); -- 157114 (Lightspawn) - -Unknown- + +UPDATE `creature_template` SET `minlevel`=10, `unit_flags3`=16777216 WHERE `entry`=157104; -- Invisible Stalker +UPDATE `creature_template` SET `minlevel`=10 WHERE `entry`=157114; -- Lightspawn +UPDATE `creature_template` SET `minlevel`=10, `maxlevel`=10, `faction`=14, `BaseAttackTime`=2000, `unit_flags`=33554944, `unit_flags2`=2048, `unit_flags3`=16777216, `dynamicflags`=128 WHERE `entry`=164025; -- InvisBunny + +-- GameObject +DELETE FROM `gameobject` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+3; +INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `PhaseId`, `PhaseGroup`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `VerifiedBuild`) VALUES +(@OGUID+0, 326716, 2175, 10424, 10588, '0', 0, 0, 313.48785400390625, -2460.15283203125, 116.8345108032226562, 1.7185899019241333, 0, 0, 0.757382392883300781, 0.652971625328063964, 7200, 255, 1, 45114), -- Ritual Pedestal (Area: -Unknown- - Difficulty: 0) +(@OGUID+1, 326719, 2175, 10424, 10588, '0', 0, 0, 279.508697509765625, -2473.833251953125, 116.2229385375976562, 1.7185899019241333, 0, 0, 0.757382392883300781, 0.652971625328063964, 7200, 255, 1, 45114), -- Ritual Pedestal (Area: -Unknown- - Difficulty: 0) +(@OGUID+2, 326717, 2175, 10424, 10588, '0', 0, 0, 325.182281494140625, -2496.579833984375, 116.5211029052734375, 1.7185899019241333, 0, 0, 0.757382392883300781, 0.652971625328063964, 7200, 255, 1, 45114), -- Ritual Pedestal (Area: -Unknown- - Difficulty: 0) +(@OGUID+3, 326718, 2175, 10424, 10588, '0', 0, 0, 290.677093505859375, -2513.736083984375, 116.6146011352539062, 1.7185899019241333, 0, 0, 0.757382392883300781, 0.652971625328063964, 7200, 255, 1, 45114); -- Ritual Pedestal (Area: -Unknown- - Difficulty: 0) + +-- Phasing +DELETE FROM `phase_area` WHERE (`AreaId` = 10424 AND `PhaseId` = 13878); +INSERT INTO `phase_area` (`AreaId`, `PhaseId`, `Comment`) VALUES +(10424, 13878, 'Cosmetic - See bound Lightspawn'); + +DELETE FROM `phase_name` WHERE `ID` = 13878; +INSERT INTO `phase_name` (`ID`, `Name`) VALUES +(13878, 'Cosmetic - See bound Lightspawn'); + +-- Condition +DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 26 AND `SourceGroup` = 13878 AND `SourceEntry` = 10424); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `Comment`) VALUES +(26, 13878, 10424, 0, 0, 47, 0, 54933, 64, 0, 1, 'Apply Phase 13878 If Quest 54933 IS NOT rewarded'); diff --git a/sql/updates/world/master/2022_08_31_00_world.sql b/sql/updates/world/master/2022_08_31_00_world.sql new file mode 100644 index 000000000..20593e790 --- /dev/null +++ b/sql/updates/world/master/2022_08_31_00_world.sql @@ -0,0 +1,270 @@ + +UPDATE `creature` SET `ScriptName`='npc_tushui_leading_trainee' WHERE `guid`=450123; +UPDATE `creature_template` SET `AIName` = '', `ScriptName` = 'npc_instructor_zhi' WHERE `entry` = 61411; +UPDATE `creature_template` SET `AIName` = '', `ScriptName` = 'npc_huojin_trainee' WHERE `entry` IN (54586, 65470); -- Huojin +UPDATE `creature_template` SET `AIName` = '', `ScriptName` = 'npc_tushui_huojin_trainee' WHERE `entry` IN (54587, 65471); -- Tushui +UPDATE `creature_template` SET `AIName` = 'SmartAI', `ScriptName` = '' WHERE `entry` IN (53565, 65469); +DELETE FROM `smart_scripts` WHERE `source_type` = 9 AND `entryOrGuid` IN (45012300); +DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryOrGuid` IN (-450137, -450130, -450123, 54586); +DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryOrGuid` IN(54586, 65470, 54587, 65471); +UPDATE `creature` SET `id` = 53565 WHERE `guid` = 450230; + +DELETE FROM `creature_text` WHERE `CreatureID` =54611; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(54611, 0, 0, 'A challenger approaches.', 12, 0, 100, 113, 0, 0, 0, 0, 'Jaomin Ro to Player'), +(54611, 1, 0, 'It seems I have more training to do. Thank you for the lesson.', 12, 0, 100, 2, 0, 0, 0, 0, 'Jaomin Ro'), +(54611, 2, 0, 'Well fought. Master Shang will be pleased.', 12, 0, 100, 2, 0, 0, 0, 0, 'Jaomin Ro'), +(54611, 3, 0, 'You\'ve been trained well.', 12, 0, 100, 2, 0, 0, 0, 0, 'Jaomin Ro'); + +UPDATE `creature_template` SET `speed_walk` = 0.345, `VerifiedBuild` = 42010 WHERE `entry` = 64440; + +UPDATE `creature_equip_template` SET `VerifiedBuild`=41793 WHERE (`ID`=1 AND `CreatureID` IN (57620,57622)); +UPDATE `gameobject_template_addon` SET `flags`=65573 WHERE `entry`=210986; -- Edict of Temperance + +DELETE FROM `quest_offer_reward` WHERE `ID` IN (29666 /*The Sting of Learning*/, 29677 /*The Sun Pearl*/, 29676 /*Finding an Old Friend*/, 29662 /*Stronger Than Reeds*/, 29663 /*The Lesson of the Balanced Rock*/, 29661 /*The Lesson of Dry Fur*/, 29521 /*The Singing Pools*/, 29423 /*The Passion of Shen-zin Su*/, 29422 /*Huo, the Spirit of Fire*/, 29421 /*Only the Worthy Shall Pass*/, 29664 /*The Challenger's Fires*/, 29420 /*The Spirit's Guardian*/, 29523 /*Fanning the Flames*/, 29418 /*Kindling the Fire*/, 29417 /*The Way of the Huojin*/, 29522 /*Ji of the Huojin*/); +INSERT INTO `quest_offer_reward` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `RewardText`, `VerifiedBuild`) VALUES +(29666, 1, 0, 0, 0, 0, 0, 0, 0, 'The water pincers are strange creatures. They seem to be drawn to still water.', 41793), -- The Sting of Learning +(29677, 1, 0, 0, 0, 0, 0, 0, 0, 'Shu\'s desires are not so different from our own. He does not want to be alone. Unwanted, unloved. He longs to be needed, and to share his life with others.$B$BKnowing that, earning his trust is not terribly difficult. He just wants company.', 41793), -- The Sun Pearl +(29676, 1, 0, 0, 0, 0, 0, 0, 0, 'Visitors are rare up here, but you are welcome. It is nice to meet you, young $c.', 41793), -- Finding an Old Friend +(29662, 0, 0, 0, 0, 0, 0, 0, 0, 'Good.$B$BNo number of reeds have ever withstood my might.$B$BStep back, and let me dispel your doubts.', 41793), -- Stronger Than Reeds +(29663, 1, 0, 0, 0, 0, 0, 0, 0, 'Even now, your skills increase. Your footing becomes more sure. Your blows strike with more force.$B$BDiscipline and practice are the keys to reaching our full potential.', 41793), -- The Lesson of the Balanced Rock +(29661, 1, 0, 0, 0, 0, 0, 0, 0, 'Good. You\'re a quick study.', 41793), -- The Lesson of Dry Fur +(29521, 1, 0, 0, 0, 0, 0, 0, 0, 'It\'s good to see you again, $n.$B$BThis is the pool of the skunk, as I\'m sure you noticed.$B$BOver the many ages of Shen-zin Su, animals have died in some of these magical pools. Through their deaths, their spirits were infused into the waters, and anyone touching those waters will take their form.$B$BThere are several cursed pools here, some more dangerous than others.', 41793), -- The Singing Pools +(29423, 1, 0, 0, 0, 0, 0, 0, 0, '$n, you\'ve done very well. Huo, the spirit of fire, is here. The temple flames are reignited. You accomplished the challenge I put before you, and with seeming ease.$B$BThere is a greater purpose in bringing Huo to the temple. It is time that I tell you more of things to come.', 41793), -- The Passion of Shen-zin Su +(29422, 1, 0, 0, 0, 0, 0, 0, 0, '', 41793), -- Huo, the Spirit of Fire +(29421, 1, 0, 0, 0, 0, 0, 0, 0, 'Remember always, the superior warrior is modest in his speech, but exceeds in his actions.', 41793), -- Only the Worthy Shall Pass +(29664, 1, 0, 0, 0, 0, 0, 0, 0, 'These fires will give you the strength that you\'ve not yet obtained. They will illuminate your potential.', 41793), -- The Challenger's Fires +(29420, 1, 0, 0, 0, 0, 0, 0, 0, 'Life isn\'t about finding yourself. Life is about creating yourself. There is a path before you, but you choose the trials you will face, and the trials you will overcome.', 41793), -- The Spirit's Guardian +(29523, 1, 0, 0, 0, 0, 0, 0, 0, 'You know what it is to seize opportunity. I think you and I are kindred spirits, $n.', 41793), -- Fanning the Flames +(29418, 1, 0, 0, 0, 0, 0, 0, 0, '$n! You\'ve returned, roots in hand! You\'re a down-to-business kind of $G guy:gal;, aren\'t you? I like that!', 41793), -- Kindling the Fire +(29417, 1, 0, 0, 0, 0, 0, 0, 0, 'You\'ve got some fight in you! I think I like you!', 41793), -- The Way of the Huojin +(29522, 1, 0, 0, 0, 0, 0, 0, 0, 'Hello! You look poised and confident... I like that!$B$BI\'ve heard some rather impressive whispers about you from the training grounds. If you\'re half as capable as they say, I think you and I are going to be good friends!', 41793); -- Ji of the Huojin + +DELETE FROM `quest_request_items` WHERE `ID` IN (29418 /*Kindling the Fire*/, 29662 /*Stronger Than Reeds*/, 29523 /*Fanning the Flames*/, 29677 /*The Sun Pearl*/); +INSERT INTO `quest_request_items` (`ID`, `EmoteOnComplete`, `EmoteOnIncomplete`, `EmoteOnCompleteDelay`, `EmoteOnIncompleteDelay`, `CompletionText`, `VerifiedBuild`) VALUES +(29418, 1, 0, 0, 0, 'I hope you\'re not shy about getting your hands dirty.', 42010), -- Kindling the Fire +(29662, 0, 0, 0, 0, 'Telling you of my strength means nothing. I must show you.', 42010), -- Stronger Than Reeds +(29523, 1, 0, 0, 0, 'When opportunity rises, it is our responsibility to reach out and grab it. Second guessing is as good as giving up.', 42010), -- Fanning the Flames +(29677, 1, 0, 0, 0, 'The decision to not return to the pools was a hard one. I don\'t think Shu ever truly understood. He does not know what it is to get older and weaker.', 42010); -- The Sun Pearl + +UPDATE `creature_queststarter` SET `VerifiedBuild`=41793 WHERE (`id`=55020 AND `quest` IN (29678,29666,29677)) OR (`id`=54975 AND `quest` IN (29676,29663,29661)) OR (`id`=55021 AND `quest`=29662) OR (`id`=54786 AND `quest`=29521) OR (`id`=54787 AND `quest`=29423) OR (`id`=54135 AND `quest` IN (29422,29421,29664)) OR (`id`=54609 AND `quest`=29420) OR (`id`=54568 AND `quest` IN (29523,29418,29417)) OR (`id`=54608 AND `quest`=29522); +UPDATE `creature_queststarter` SET `VerifiedBuild`=42010 WHERE (`id`=54608 AND `quest`=29522) OR (`id`=53566 AND `quest` IN (30034,30033,30036,30038,30035)); +UPDATE `creature_questender` SET `VerifiedBuild`=41793 WHERE (`id`=55020 AND `quest` IN (29666,29677,29676)) OR (`id`=55021 AND `quest`=29662) OR (`id`=54975 AND `quest` IN (29663,29661,29521)) OR (`id`=54786 AND `quest`=29423) OR (`id`=54787 AND `quest`=29422) OR (`id`=54135 AND `quest` IN (29421,29664,29420)) OR (`id`=54568 AND `quest` IN (29523,29418,29417,29522)) OR (`id`=54608 AND `quest`=29414); +UPDATE `creature_questender` SET `VerifiedBuild`=42010 WHERE (`id`=54608 AND `quest`=29414) OR (`id`=53566 AND `quest` IN (30034,30033,30036,30038,30035)); + + -- Trainee Nim smart ai +SET @ENTRY := 60183; +DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryOrGuid` = @ENTRY; +DELETE FROM `smart_scripts` WHERE `source_type` = 9 AND `entryOrGuid` IN (6018300); +UPDATE `creature_template` SET `AIName` = 'SmartAI', `ScriptName` = '' WHERE `entry` = @ENTRY; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(@ENTRY, 0, 0, 1, 10, 0, 100, 1, 1, 10, 1, 2, 5, 113, 0, 0, 0, 0, 0, 17, 1, 20, 0, 0, 0, 0, 0, 'On only non hostile unit in line of sight (OOC) - Players in 1 - 20 yards: Play emote 113'), +(@ENTRY, 0, 1, 0, 61, 0, 100, 0, 0, 0, 0, 0, 80, 6018300, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'On only non hostile unit in line of sight (OOC) - Self: Start timed action list id #6018300 (update out of combat) // -inline'), +(@ENTRY * 100, 9, 0, 0, 0, 0, 100, 0, 100, 1000, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 0.1 - 1 seconds - Self: Talk 0 to invoker'); +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 22 AND `SourceEntry` = 60183 AND `SourceId` = 0; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `Comment`) VALUES +(22, 1, 60183, 0, 0, 9, 0, 29409, 0, 0, 0, 'Action invoker has quest The Disciple\'s Challenge (29409) active'); + +UPDATE `creature` SET `id` = 60244, `map` = 860, `zoneId` = 5736, `areaId` = 5834, `position_x` = 1334.94, `position_y` = 3380.83, `position_z` = 128.679, `orientation` = 5.98421, `VerifiedBuild` = 41793 WHERE `guid` = 450099; + +UPDATE `creature_text` SET `Sound` = 33646 WHERE `GroupID` = 0 AND `ID` = 0 AND `CreatureID` = 53565; +UPDATE `creature_text` SET `Sound` = 33646 WHERE `GroupID` = 0 AND `ID` = 3 AND `CreatureID` = 53565; +UPDATE `creature_text` SET `Sound` = 33644 WHERE `GroupID` = 0 AND `ID` = 4 AND `CreatureID` = 53565; +UPDATE `creature_text` SET `Sound` = 33645 WHERE `GroupID` = 0 AND `ID` = 5 AND `CreatureID` = 53565; +UPDATE `creature_text` SET `Sound` = 33646 WHERE `GroupID` = 0 AND `ID` = 6 AND `CreatureID` = 53565; +UPDATE `creature_text` SET `Sound` = 33646 WHERE `GroupID` = 0 AND `ID` = 7 AND `CreatureID` = 53565; +UPDATE `creature_text` SET `Sound` = 33645 WHERE `GroupID` = 0 AND `ID` = 0 AND `CreatureID` = 60183; + +DELETE FROM `creature_text` WHERE `CreatureID` = 60244; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(60244, 0, 0, 'You\'re departing so soon? I am envious of your prowess, $c. Good luck to you.', 12, 0, 100, 2, 0, 33645, 59711, 0, 'Trainee Guang to Player'); + +DELETE FROM `creature_text` WHERE `CreatureID` IN (54130, 54567, 54856, 54943, 56503, 59642, 59652, 65469); +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(54130, 0, 0, 'Look out! Its friendses are coming!', 14, 0, 100, 2, 0, 0, 56473, 0, 'Amberleaf Scamp to Player'), +(54130, 1, 0, 'Run away!', 14, 0, 100, 2, 0, 0, 56474, 0, 'Amberleaf Scamp to Player'), -- BroadcastTextID: 26179 - 56474 - 61876 - 120283 +(54567, 0, 0, 'And so our path lays before us. Speak to Master Shang Xi, he will tell you what comes next.', 12, 0, 100, 0, 0, 27399, 60046, 0, 'Aysa Cloudsinger to Player'), +(54856, 0, 0, 'Master Li Fei\'s voice echoes, \"It is good to see you again, Aysa. You\'ve come with respect, and so I shall give you the answers you seek.\"', 16, 0, 100, 1, 0, 0, 53845, 0, 'Master Li Fei to Player'), +(54856, 1, 0, 'Master Li Fei\'s voice echoes, \"Huo, the spirit of fire, is known for his hunger. He wants for tinder to eat. He needs the caress of the wind to rouse him.\"', 16, 0, 100, 1, 0, 0, 53841, 0, 'Master Li Fei to Player'), +(54856, 2, 0, 'Master Li Fei\'s voice echoes, \"If you find these things and bring them to his cave, on the far side of Wu-Song Village, you will face a challenge within.\"', 16, 0, 100, 1, 0, 0, 53842, 0, 'Master Li Fei to Player'), +(54856, 3, 0, 'Master Li Fei\'s voice echoes, \"Overcome that challenge, and you shall be graced by Huo\'s presence. Rekindle his flame, and if your spirit is pure, he shall follow you.\"', 16, 0, 100, 1, 0, 0, 53843, 0, 'Master Li Fei to Player'), +(54856, 4, 0, 'Master Li Fei\'s voice echoes, \"Go, children. We shall meet again very soon.\"', 16, 0, 100, 2, 0, 0, 53844, 0, 'Master Li Fei to Player'), +(54856, 5, 0, 'Master Li Fei fades away.', 16, 0, 100, 0, 0, 0, 53130, 0, 'Master Li Fei to Player'), +(54943, 0, 0, 'Shhhh! Come quietly. She\'s practicing.', 12, 0, 100, 396, 0, 0, 59712, 0, 'Merchant Lorvo to Player'), +(56503, 0, 0, 'Master Shang has trained you well. Thank you, friend!', 12, 0, 100, 2, 0, 0, 53265, 0, 'Min Dimwind to Player'), +(56503, 1, 0, 'I couldn\'t have fought them off alone. Now, if you\'ll excuse me, I should go find my cart.', 12, 0, 100, 1, 0, 0, 56452, 0, 'Min Dimwind to Player'), +(56503, 2, 0, 'Cart!', 14, 0, 100, 22, 0, 0, 56453, 0, 'Min Dimwind to Player'), +(56503, 3, 0, 'Hello, cart. Still upside-downed, I see.', 12, 0, 100, 1, 0, 0, 56454, 0, 'Min Dimwind to Player'), +(59642, 0, 0, 'Keep those creatures at bay while I meditate. We\'ll soon have the answers we seek.', 12, 0, 100, 0, 0, 27398, 59161, 0, 'Aysa Cloudsinger to Player'), +(59652, 0, 0, 'Meet me up in the cave if you would, friend.', 12, 0, 100, 396, 0, 27397, 59147, 0, 'Aysa Cloudsinger to Player'); + + -- Trainee Guang smart ai +SET @ENTRY := 60244; +DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryOrGuid` = @ENTRY; +DELETE FROM `smart_scripts` WHERE `source_type` = 9 AND `entryOrGuid` IN (6024400); +UPDATE `creature_template` SET `AIName` = 'SmartAI', `ScriptName` = '' WHERE `entry` = @ENTRY; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(@ENTRY, 0, 0, 1, 10, 0, 100, 1, 1, 40, 1, 2, 5, 113, 0, 0, 0, 0, 0, 17, 1, 40, 0, 0, 0, 0, 0, 'On only non hostile unit in line of sight (OOC) - Players in 1 - 40 yards: Play emote 113'), +(@ENTRY, 0, 1, 0, 61, 0, 100, 0, 0, 0, 0, 0, 80, 6024400, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'On only non hostile unit in line of sight (OOC) - Self: Start timed action list id #6024400 (update out of combat) // -inline'), +(@ENTRY * 100, 9, 0, 0, 0, 0, 100, 0, 100, 1000, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 0.1 - 1 seconds - Self: Talk 0 to invoker'); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 22 AND `SourceEntry` = 60244 AND `SourceId` = 0; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `Comment`) VALUES +(22, 1, 60244, 0, 0, 28, 0, 29410, 0, 0, 0, 'Action invoker has completed quest quest Aysa of the Tushui (29410) (but not yet rewarded)'); + +DELETE FROM `npc_vendor` WHERE (`entry`=54943 AND `item`=90660 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=54943 AND `item`=90659 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=54943 AND `item`=159 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=54943 AND `item`=3770 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=54943 AND `item`=2287 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=54943 AND `item`=117 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=54943 AND `item`=4606 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=54943 AND `item`=4605 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=54943 AND `item`=4604 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=54943 AND `item`=4593 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=54943 AND `item`=4592 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=54943 AND `item`=787 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=54943 AND `item`=4542 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=54943 AND `item`=4541 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=54943 AND `item`=4540 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=54943 AND `item`=4538 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=54943 AND `item`=4536 AND `ExtendedCost`=0 AND `type`=1); +INSERT INTO `npc_vendor` (`entry`, `slot`, `item`, `maxcount`, `ExtendedCost`, `type`, `PlayerConditionID`, `IgnoreFiltering`, `VerifiedBuild`) VALUES +(54943, 17, 90660, 0, 0, 1, 0, 0, 42010), -- Black Tea +(54943, 16, 90659, 0, 0, 1, 0, 0, 42010), -- Jasmine Tea +(54943, 15, 159, 0, 0, 1, 0, 0, 42010), -- Refreshing Spring Water +(54943, 14, 3770, 0, 0, 1, 0, 0, 42010), -- Mutton Chop +(54943, 13, 2287, 0, 0, 1, 0, 0, 42010), -- Haunch of Meat +(54943, 12, 117, 0, 0, 1, 0, 0, 42010), -- Tough Jerky +(54943, 11, 4606, 0, 0, 1, 0, 0, 42010), -- Spongy Morel +(54943, 10, 4605, 0, 0, 1, 0, 0, 42010), -- Red-Speckled Mushroom +(54943, 9, 4604, 0, 0, 1, 0, 0, 42010), -- Forest Mushroom Cap +(54943, 8, 4593, 0, 0, 1, 0, 0, 42010), -- Bristle Whisker Catfish +(54943, 7, 4592, 0, 0, 1, 0, 0, 42010), -- Longjaw Mud Snapper +(54943, 6, 787, 0, 0, 1, 0, 0, 42010), -- Slitherskin Mackerel +(54943, 5, 4542, 0, 0, 1, 0, 0, 42010), -- Moist Cornbread +(54943, 4, 4541, 0, 0, 1, 0, 0, 42010), -- Freshly Baked Bread +(54943, 3, 4540, 0, 0, 1, 0, 0, 42010), -- Tough Hunk of Bread +(54943, 2, 4538, 0, 0, 1, 0, 0, 42010), -- Snapvine Watermelon +(54943, 1, 4536, 0, 0, 1, 0, 0, 42010); -- Shiny Red Apple + + -- Aspiring Trainee with guid 450215 smart ai +SET @ENTRY := -450215; +DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryOrGuid` = @ENTRY; +UPDATE `creature_template` SET `AIName` = 'SmartAI', `ScriptName` = '' WHERE `entry` = 53565; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(@ENTRY, 0, 0, 1, 1, 0, 100, 0, 1000, 5000, 6000, 7000, 10, 509, 543, 511, 507, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Every 6 - 7 seconds (1 - 5s initially) (OOC) - Self: Play random emote: 509, 543, 511, 507,'), +(@ENTRY, 0, 1, 2, 61, 0, 100, 0, 0, 0, 0, 0, 115, 33646, 33643, 33645, 33646, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Every 6 - 7 seconds (1 - 5s initially) (OOC) - Self: Play random direct sound one of: 33646, 33643, 33645, 33646 of all'), +(@ENTRY, 0, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 11, 108967, 0, 0, 0, 0, 0, 9, 57873, 0, 5, 0, 0, 0, 0, 'Every 6 - 7 seconds (1 - 5s initially) (OOC) - Self: Cast spell 108967 on Creature Training Target (57873) in 0 - 5 yards'); + + -- Aspiring Trainee with guid 450228 smart ai +SET @ENTRY := -450228; +DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryOrGuid` = @ENTRY; +UPDATE `creature_template` SET `AIName` = 'SmartAI', `ScriptName` = '' WHERE `entry` = 53565; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(@ENTRY, 0, 0, 1, 1, 0, 100, 0, 1000, 5000, 6000, 7000, 10, 509, 543, 511, 507, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Every 6 - 7 seconds (1 - 5s initially) (OOC) - Self: Play random emote: 509, 543, 511, 507,'), +(@ENTRY, 0, 1, 2, 61, 0, 100, 0, 0, 0, 0, 0, 115, 33646, 33643, 33645, 33646, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Every 6 - 7 seconds (1 - 5s initially) (OOC) - Self: Play random direct sound one of: 33646, 33643, 33645, 33646 of all'), +(@ENTRY, 0, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 11, 108967, 0, 0, 0, 0, 0, 9, 57873, 0, 5, 0, 0, 0, 0, 'Every 6 - 7 seconds (1 - 5s initially) (OOC) - Self: Cast spell 108967 on Creature Training Target (57873) in 0 - 5 yards'); + + -- Aspiring Trainee with guid 450197 smart ai +SET @ENTRY := -450197; +DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryOrGuid` = @ENTRY; +UPDATE `creature_template` SET `AIName` = 'SmartAI', `ScriptName` = '' WHERE `entry` = 53565; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(@ENTRY, 0, 0, 1, 1, 0, 100, 0, 1000, 5000, 6000, 7000, 10, 509, 543, 511, 507, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Every 6 - 7 seconds (1 - 5s initially) (OOC) - Self: Play random emote: 509, 543, 511, 507,'), +(@ENTRY, 0, 1, 2, 61, 0, 100, 0, 0, 0, 0, 0, 115, 33646, 33643, 33645, 33646, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Every 6 - 7 seconds (1 - 5s initially) (OOC) - Self: Play random direct sound one of: 33646, 33643, 33645, 33646 of all'), +(@ENTRY, 0, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 11, 108967, 0, 0, 0, 0, 0, 9, 57873, 0, 5, 0, 0, 0, 0, 'Every 6 - 7 seconds (1 - 5s initially) (OOC) - Self: Cast spell 108967 on Creature Training Target (57873) in 0 - 5 yards'); + + -- Aspiring Trainee with guid 450207 smart ai +SET @ENTRY := -450207; +DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryOrGuid` = @ENTRY; +UPDATE `creature_template` SET `AIName` = 'SmartAI', `ScriptName` = '' WHERE `entry` = 53565; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(@ENTRY, 0, 0, 1, 1, 0, 100, 0, 1000, 5000, 6000, 7000, 10, 509, 543, 511, 507, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Every 6 - 7 seconds (1 - 5s initially) (OOC) - Self: Play random emote: 509, 543, 511, 507,'), +(@ENTRY, 0, 1, 2, 61, 0, 100, 0, 0, 0, 0, 0, 115, 33646, 33643, 33645, 33646, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Every 6 - 7 seconds (1 - 5s initially) (OOC) - Self: Play random direct sound one of: 33646, 33643, 33645, 33646 of all'), +(@ENTRY, 0, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 11, 108967, 0, 0, 0, 0, 0, 9, 57873, 0, 5, 0, 0, 0, 0, 'Every 6 - 7 seconds (1 - 5s initially) (OOC) - Self: Cast spell 108967 on Creature Training Target (57873) in 0 - 5 yards'); + + -- Aspiring Trainee with guid 450213 smart ai +SET @ENTRY := -450213; +DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryOrGuid` = @ENTRY; +UPDATE `creature_template` SET `AIName` = 'SmartAI', `ScriptName` = '' WHERE `entry` = 53565; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(@ENTRY, 0, 0, 1, 1, 0, 100, 0, 1000, 5000, 6000, 7000, 10, 509, 543, 511, 507, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Every 6 - 7 seconds (1 - 5s initially) (OOC) - Self: Play random emote: 509, 543, 511, 507,'), +(@ENTRY, 0, 1, 2, 61, 0, 100, 0, 0, 0, 0, 0, 115, 33646, 33643, 33645, 33646, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Every 6 - 7 seconds (1 - 5s initially) (OOC) - Self: Play random direct sound one of: 33646, 33643, 33645, 33646 of all'), +(@ENTRY, 0, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 11, 108967, 0, 0, 0, 0, 0, 9, 57873, 0, 5, 0, 0, 0, 0, 'Every 6 - 7 seconds (1 - 5s initially) (OOC) - Self: Cast spell 108967 on Creature Training Target (57873) in 0 - 5 yards'); + +-- Instructor Qun smart ai +SET @ENTRY := 57748; +DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryOrGuid` = @ENTRY; +DELETE FROM `smart_scripts` WHERE `source_type` = 9 AND `entryOrGuid` IN (5774800); +UPDATE `creature_template` SET `AIName` = 'SmartAI', `ScriptName` = '' WHERE `entry` = @ENTRY; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(@ENTRY, 0, 0, 0, 1, 0, 100, 0, 19000, 19000, 19000, 20000, 80, 5774800, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Every 19 - 20 seconds (19 - 19s initially) (OOC) - Self: Start timed action list id #5774800 (update out of combat) // -inline'), +(@ENTRY * 100, 9, 0, 0, 0, 0, 100, 0, 1000, 3000, 0, 0, 5, 509, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 1 - 3 seconds - Self: Play emote 509'), +(@ENTRY * 100, 9, 1, 0, 0, 0, 100, 0, 1000, 2000, 0, 0, 5, 509, 0, 0, 0, 0, 0, 11, 53565, 15, 0, 0, 0, 0, 0, 'After 1 - 2 seconds - Creature Aspiring Trainee (53565) in 15 yd: Play emote 509'), +(@ENTRY * 100, 9, 2, 0, 0, 0, 100, 0, 0, 0, 0, 0, 5, 509, 0, 0, 0, 0, 0, 11, 65469, 15, 0, 0, 0, 0, 0, 'After 0 seconds - Creature Aspiring Trainee (65469) in 15 yd: Play emote 509'), +(@ENTRY * 100, 9, 3, 0, 0, 0, 100, 0, 100, 100, 0, 0, 115, 33646, 33645, 33646, 33646, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 0.1 seconds - Self: Play random direct sound one of: 33646, 33645, 33646, 33646 of all'), +(@ENTRY * 100, 9, 4, 0, 0, 0, 100, 0, 6000, 6000, 0, 0, 5, 543, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 6 seconds - Self: Play emote 543'), +(@ENTRY * 100, 9, 5, 0, 0, 0, 100, 0, 1000, 2000, 0, 0, 5, 543, 0, 0, 0, 0, 0, 11, 53565, 15, 0, 0, 0, 0, 0, 'After 1 - 2 seconds - Creature Aspiring Trainee (53565) in 15 yd: Play emote 543'), +(@ENTRY * 100, 9, 6, 0, 0, 0, 100, 0, 0, 0, 0, 0, 5, 543, 0, 0, 0, 0, 0, 11, 65469, 15, 0, 0, 0, 0, 0, 'After 0 seconds - Creature Aspiring Trainee (65469) in 15 yd: Play emote 543'), +(@ENTRY * 100, 9, 7, 0, 0, 0, 100, 0, 100, 100, 0, 0, 115, 33646, 33643, 33646, 33646, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 0.1 seconds - Self: Play random direct sound one of: 33646, 33643, 33646, 33646 of all'), +(@ENTRY * 100, 9, 8, 0, 0, 0, 100, 0, 6000, 6000, 0, 0, 5, 511, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 6 seconds - Self: Play emote 511'), +(@ENTRY * 100, 9, 9, 0, 0, 0, 100, 0, 1000, 2000, 0, 0, 5, 511, 0, 0, 0, 0, 0, 11, 53565, 15, 0, 0, 0, 0, 0, 'After 1 - 2 seconds - Creature Aspiring Trainee (53565) in 15 yd: Play emote 511'), +(@ENTRY * 100, 9, 10, 0, 0, 0, 100, 0, 0, 0, 0, 0, 5, 511, 0, 0, 0, 0, 0, 11, 65469, 15, 0, 0, 0, 0, 0, 'After 0 seconds - Creature Aspiring Trainee (65469) in 15 yd: Play emote 511'), +(@ENTRY * 100, 9, 11, 0, 0, 0, 100, 0, 100, 100, 0, 0, 115, 33646, 33645, 33646, 33646, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 0.1 seconds - Self: Play random direct sound one of: 33646, 33645, 33646, 33646 of all'), +(@ENTRY * 100, 9, 12, 0, 0, 0, 100, 0, 6000, 6000, 0, 0, 5, 507, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 6 seconds - Self: Play emote 507'), +(@ENTRY * 100, 9, 13, 0, 0, 0, 100, 0, 1000, 2000, 0, 0, 5, 507, 0, 0, 0, 0, 0, 11, 53565, 15, 0, 0, 0, 0, 0, 'After 1 - 2 seconds - Creature Aspiring Trainee (53565) in 15 yd: Play emote 507'), +(@ENTRY * 100, 9, 14, 0, 0, 0, 100, 0, 0, 0, 0, 0, 5, 507, 0, 0, 0, 0, 0, 11, 65469, 15, 0, 0, 0, 0, 0, 'After 0 seconds - Creature Aspiring Trainee (65469) in 15 yd: Play emote 507'), +(@ENTRY * 100, 9, 15, 0, 0, 0, 100, 0, 100, 100, 0, 0, 115, 33646, 33646, 33643, 33646, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 0.1 seconds - Self: Play random direct sound one of: 33646, 33646, 33643, 33646 of all'); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 22 AND `SourceEntry` = 57748 AND `SourceId` = 0; + +-- Quiet Lam +UPDATE `creature_template` SET `AIName` = 'SmartAI', `ScriptName` = '' WHERE `entry` = 57752; +DELETE FROM `smart_scripts` WHERE `entryorguid` = 57752 AND `source_type` = 0; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(57752, 0, 0, 1, 1, 0, 100, 0, 0, 0, 5000, 5000, 10, 507, 509, 511, 543, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Quiet Lam - OOC - Play Random Emote (507, 509, 511, 543)'), +(57752, 0, 1, 0, 61, 0, 100, 0, 0, 0, 0, 0, 115, 33643, 33645, 33646, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 'Quiet Lam - Play Random Sound (33643, 33645, 33646)'); + +-- Ironfist Zhou +UPDATE `creature_template` SET `AIName` = 'SmartAI', `ScriptName` = '' WHERE `entry` = 57753; +DELETE FROM `smart_scripts` WHERE `entryorguid` = 57753 AND `source_type` = 0; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(57753, 0, 0, 1, 1, 0, 100, 0, 0, 0, 5000, 5000, 10, 507, 509, 511, 543, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Ironfist Zhou - OOC - Play Random Emote (507, 509, 511, 543)'), +(57753, 0, 1, 0, 61, 0, 100, 0, 0, 0, 0, 0, 115, 33643, 33645, 33646, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 'Ironfist Zhou - Play Random Sound (33643, 33645, 33646)'); + +-- Aspiring Trainee with guid 450192 smart ai - the conversation doesn't go according to retail times - I put the times there according to myself "guessed" +SET @ENTRY := -450192; +DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryOrGuid` = @ENTRY; +DELETE FROM `smart_scripts` WHERE `source_type` = 9 AND `entryOrGuid` IN (45019200); +UPDATE `creature_template` SET `AIName` = 'SmartAI', `ScriptName` = '' WHERE `entry` = 53565; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(@ENTRY, 0, 0, 0, 1, 0, 100, 0, 85000, 95000, 85000, 95000, 80, 45019200, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Every 85 - 95 seconds (OOC) - Self: Start timed action list id #45019200 (update out of combat) // -inline'), +(45019200, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 19, 53565, 3, 0, 0, 0, 0, 0, 'After 0 seconds - Closest alive creature Aspiring Trainee (53565) in 3 yards: Talk My money\'s on Lam. Did you see him take down Chu during trai... (1) to invoker'), +(45019200, 9, 1, 0, 0, 0, 100, 0, 2000, 3000, 0, 0, 1, 2, 0, 0, 0, 0, 0, 19, 53565, 3, 0, 0, 0, 0, 0, 'After 2 - 3 seconds - Closest alive creature Aspiring Trainee (53565) in 3 yards: Talk His stamina is nothing against Lam\'s strength. (2) to invoker'), +(45019200, 9, 2, 0, 0, 0, 100, 0, 4000, 5000, 0, 0, 1, 3, 0, 0, 0, 0, 0, 19, 53565, 3, 0, 0, 0, 0, 0, 'After 4 - 5 seconds - Closest alive creature Aspiring Trainee (53565) in 3 yards: Talk He has the legs of an ox! Have you ever been kicked by him i... (3) to invoker'), +(45019200, 9, 3, 0, 0, 0, 100, 0, 1000, 2000, 0, 0, 1, 4, 0, 1, 0, 0, 0, 19, 53565, 3, 0, 0, 0, 0, 0, 'After 1 - 2 seconds - Self: Talk 4 to Closest alive creature Aspiring Trainee (53565) in 3 yards'), +(45019200, 9, 4, 0, 0, 0, 100, 0, 5000, 6000, 0, 0, 1, 5, 0, 0, 0, 0, 0, 19, 53565, 3, 0, 0, 0, 0, 0, 'After 5 - 6 seconds - Closest alive creature Aspiring Trainee (53565) in 3 yards: Talk That\'s where you\'re mistaken, friend. Zhou is as sturdy as an oak. (5) to invoker'), +(45019200, 9, 5, 0, 0, 0, 100, 0, 7000, 8000, 0, 0, 1, 6, 0, 1, 0, 0, 0, 19, 53565, 3, 0, 0, 0, 0, 0, 'After 7 - 8 seconds - Self: Talk 6 to Closest alive creature Aspiring Trainee (53565) in 3 yards'), +(45019200, 9, 6, 0, 0, 0, 100, 0, 8000, 9000, 0, 0, 1, 7, 0, 1, 0, 0, 0, 19, 53565, 3, 0, 0, 0, 0, 0, 'After 8 - 9 seconds - Self: Talk 7 to Closest alive creature Aspiring Trainee (53565) in 3 yards'); + +DELETE FROM `creature_text` WHERE `CreatureID` IN(54586, 65470, 54587, 65471) AND `GroupID`=0; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(54586, 0, 0, 'I have never seen a trainee with skills such as yours. I must tell the others.', 12, 0, 100, 1, 0, 33643, 56445, 0, 'Trainee'), +(54586, 0, 1, 'My skills are no match for yours. I admit defeat.', 12, 0, 100, 1, 0, 33645, 56441, 0, 'Trainee'), +(54586, 0, 2, 'Thank you for reminding me that I must train more diligently.', 12, 0, 100, 1, 0, 0, 56439, 0, 'Trainee'), +(54586, 0, 3, 'That was a good match. Thank you.', 12, 0, 100, 1, 0, 0, 56444, 0, 'Trainee'), +(54586, 0, 4, 'You are an honorable opponent.', 12, 0, 100, 1, 0, 33643, 56438, 0, 'Trainee'), +(54586, 0, 5, 'You fight honorably, friend.', 12, 0, 100, 1, 0, 33645, 56440, 0, 'Trainee'), +(54586, 0, 6, 'You fought well. I must learn more from you in the future.', 12, 0, 100, 1, 0, 0, 56443, 0, 'Trainee'), +(54586, 0, 7, 'Your skills are too great. I yield.', 12, 0, 100, 1, 0, 33643, 56442, 0, 'Trainee'), +(54587, 0, 0, 'I have never seen a trainee with skills such as yours. I must tell the others.', 12, 0, 100, 1, 0, 33643, 56445, 0, 'Trainee'), +(54587, 0, 1, 'My skills are no match for yours. I admit defeat.', 12, 0, 100, 1, 0, 33645, 56441, 0, 'Trainee'), +(54587, 0, 2, 'Thank you for reminding me that I must train more diligently.', 12, 0, 100, 1, 0, 0, 56439, 0, 'Trainee'), +(54587, 0, 3, 'That was a good match. Thank you.', 12, 0, 100, 1, 0, 0, 56444, 0, 'Trainee'), +(54587, 0, 4, 'You are an honorable opponent.', 12, 0, 100, 1, 0, 33643, 56438, 0, 'Trainee'), +(54587, 0, 5, 'You fight honorably, friend.', 12, 0, 100, 1, 0, 33645, 56440, 0, 'Trainee'), +(54587, 0, 6, 'You fought well. I must learn more from you in the future.', 12, 0, 100, 1, 0, 0, 56443, 0, 'Trainee'), +(54587, 0, 7, 'Your skills are too great. I yield.', 12, 0, 100, 1, 0, 33643, 56442, 0, 'Trainee'), +(65470, 0, 0, 'I have never seen a trainee with skills such as yours. I must tell the others.', 12, 0, 100, 1, 0, 33643, 56445, 0, 'Trainee'), +(65470, 0, 1, 'My skills are no match for yours. I admit defeat.', 12, 0, 100, 1, 0, 33645, 56441, 0, 'Trainee'), +(65470, 0, 2, 'Thank you for reminding me that I must train more diligently.', 12, 0, 100, 1, 0, 0, 56439, 0, 'Trainee'), +(65470, 0, 3, 'That was a good match. Thank you.', 12, 0, 100, 1, 0, 0, 56444, 0, 'Trainee'), +(65470, 0, 4, 'You are an honorable opponent.', 12, 0, 100, 1, 0, 33643, 56438, 0, 'Trainee'), +(65470, 0, 5, 'You fight honorably, friend.', 12, 0, 100, 1, 0, 33645, 56440, 0, 'Trainee'), +(65470, 0, 6, 'You fought well. I must learn more from you in the future.', 12, 0, 100, 1, 0, 0, 56443, 0, 'Trainee'), +(65470, 0, 7, 'Your skills are too great. I yield.', 12, 0, 100, 1, 0, 33643, 56442, 0, 'Trainee'), +(65471, 0, 0, 'I have never seen a trainee with skills such as yours. I must tell the others.', 12, 0, 100, 1, 0, 33643, 56445, 0, 'Trainee'), +(65471, 0, 1, 'My skills are no match for yours. I admit defeat.', 12, 0, 100, 1, 0, 33645, 56441, 0, 'Trainee'), +(65471, 0, 2, 'Thank you for reminding me that I must train more diligently.', 12, 0, 100, 1, 0, 0, 56439, 0, 'Trainee'), +(65471, 0, 3, 'That was a good match. Thank you.', 12, 0, 100, 1, 0, 0, 56444, 0, 'Trainee'), +(65471, 0, 4, 'You are an honorable opponent.', 12, 0, 100, 1, 0, 33643, 56438, 0, 'Trainee'), +(65471, 0, 5, 'You fight honorably, friend.', 12, 0, 100, 1, 0, 33645, 56440, 0, 'Trainee'), +(65471, 0, 6, 'You fought well. I must learn more from you in the future.', 12, 0, 100, 1, 0, 0, 56443, 0, 'Trainee'), +(65471, 0, 7, 'Your skills are too great. I yield.', 12, 0, 100, 1, 0, 33643, 56442, 0, 'Trainee'); + +UPDATE `creature` SET `spawntimesecs`=20 WHERE `id` IN(54586, 65470, 54587, 65471); diff --git a/sql/updates/world/master/2022_08_31_01_world.sql b/sql/updates/world/master/2022_08_31_01_world.sql new file mode 100644 index 000000000..967950a74 --- /dev/null +++ b/sql/updates/world/master/2022_08_31_01_world.sql @@ -0,0 +1,3 @@ +DELETE FROM `spell_script_names` WHERE `ScriptName` = 'spell_gen_ancestral_call'; +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(274738, 'spell_gen_ancestral_call'); diff --git a/sql/updates/world/master/2022_09_02_00_world.sql b/sql/updates/world/master/2022_09_02_00_world.sql new file mode 100644 index 000000000..232a8eb89 --- /dev/null +++ b/sql/updates/world/master/2022_09_02_00_world.sql @@ -0,0 +1,9 @@ +-- +UPDATE `creature_template` SET `AIName`='', `ScriptName`='npc_zm_field_scout' WHERE `entry` IN (18581,18564); +UPDATE `gossip_menu_option` SET `OptionNpcFlag`=1 WHERE `MenuID`=7724 AND `OptionID`=0; + +DELETE FROM `gossip_menu_option` WHERE (`MenuID`=7722 AND `OptionID`=0); +INSERT INTO `gossip_menu_option` (`MenuID`, `OptionID`, `OptionIcon`, `OptionText`, `OptionBroadcastTextId`, `OptionType`, `OptionNpcFlag`, `Language`, `ActionMenuID`, `ActionPoiID`, `BoxCoded`, `BoxMoney`, `BoxText`, `BoxBroadcastTextID`, `VerifiedBuild`) VALUES +(7722, 0, 0, 'Give me a battle standard. I will take control of Twin Spire Ruins.', 15537, 1, 1, 0, 0, 0, 0, 0, NULL, 0, 45114); -- OptionBroadcastTextID: 15537 - 15539 + +UPDATE `gossip_menu_option` SET `VerifiedBuild`=45114 WHERE (`MenuID`=7722 AND `OptionID`=1);