Merge branch 'master' into Playerbot

This commit is contained in:
Yunfan Li
2024-01-06 17:54:45 +08:00
7 changed files with 605 additions and 3 deletions

View File

@@ -0,0 +1,157 @@
-- DB update 2024_01_03_03 -> 2024_01_05_00
-- Update 'Commoner' spawns with sniffed values
SET @GEVENT1 := 1; -- Midsummer
SET @GEVENT2 := 2; -- Winter Veil
SET @GEVENT3 := 7; -- Lunar Festival
SET @GEVENT4 := 9; -- Noblegarden
SET @GEVENT5 := 10; -- Children's Week
SET @GEVENT6 := 12; -- Hallow's End
SET @GEVENT7 := 24; -- Brewfest
SET @GEVENT8 := 26; -- Pilgrim's Bounty
SET @GEVENT9 := 46; -- Spirit of Competition
SET @GEVENT10 := 50; -- Pirate's Day
SET @GEVENT11 := 51; -- Day of the Dead
SET @CID1 := 18927; -- Human Commoner
SET @CID2 := 19148; -- Dwarf Commoner
SET @CID3 := 19169; -- Blood Elf Commoner
SET @CID4 := 19171; -- Draenei Commoner
SET @CID5 := 19172; -- Gnome Commoner
SET @CID6 := 19173; -- Night Elf Commoner
SET @CID7 := 19175; -- Orc Commoner
SET @CID8 := 19176; -- Tauren Commoner
SET @CID9 := 19177; -- Troll Commoner
SET @CID10 := 19178; -- Forsaken Commoner
SET @CID11 := 20102; -- Goblin Commoner
-- updated spawns
DELETE FROM `creature` WHERE (`id1` IN (@CID1, @CID2, @CID3, @CID4, @CID5, @CID6, @CID7, @CID8, @CID9, @CID10, @CID11)) AND (`guid` IN (10998, 10999, 11001, 11002, 11003, 11004, 121268, 121269, 129442, 129443, 129444, 129445, 240304, 240306, 240308, 240309, 240327, 240331, 240332, 240333, 240337, 240338, 62848, 62849, 724, 725, 726, 727, 84400, 84402, 84409, 84410, 84418, 84419, 84423, 84424, 84430, 84435, 84950, 84953, 85653, 85654, 86851, 86852, 86853, 86857, 86858, 87071, 91115, 91116, 91117, 91118, 91563, 91564, 91565, 91566, 91569, 91570, 91579, 91580, 91588, 91590, 91752, 91753, 91754, 91756, 91757, 91758, 91759, 91760, 91762, 91766, 91767, 91768, 91769, 91770, 91771, 91801));
INSERT INTO `creature` (`guid`, `id1`, `map`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`, `CreateObject`, `Comment`) VALUES
(10998, @CID1, 0, 1, 1, 0, -8854.7783203125, 649.830322265625, 96.74169921875, 1.431169986724853515, 120, 0, 0, 0, 0, 0, "", 48632, 1, NULL),
(10999, @CID1, 0, 1, 1, 0, -8855.7099609375, 651.84722900390625, 96.692138671875, 5.724679946899414062, 120, 0, 0, 0, 0, 0, "", 48632, 1, NULL),
(11001, @CID10, 0, 1, 1, 0, 1573.044677734375, 265.955230712890625, -43.0193443298339843, 0.593411922454833984, 120, 0, 0, 0, 0, 0, "", 49345, 1, NULL),
(11002, @CID10, 0, 1, 1, 0, 1574.55078125, 267.583160400390625, -43.0193443298339843, 3.769911050796508789, 120, 0, 0, 0, 0, 0, "", 49345, 1, NULL),
(11003, @CID10, 0, 1, 1, 0, 1627.8011474609375, 224.5699920654296875, -43.01934814453125, 4.15388345718383789, 120, 0, 0, 0, 0, 0, "", 49345, 1, NULL),
(11004, @CID10, 0, 1, 1, 0, 1626.697021484375, 222.6995391845703125, -43.0193443298339843, 1.01229095458984375, 120, 0, 0, 0, 0, 0, "", 49345, 1, NULL),
(121268, @CID4, 530, 1, 1, 0, -4269.71337890625, -11336.509765625, 5.809307575225830078, 1.692969322204589843, 120, 0, 0, 0, 0, 0, "", 48632, 1, NULL),
(121269, @CID4, 530, 1, 1, 0, -4270.05810546875, -11333.087890625, 5.5754547119140625, 4.677482128143310546, 120, 0, 0, 0, 0, 0, "", 48632, 1, NULL),
(129442, @CID3, 530, 1, 1, 0, 9556.5556640625, -7157.376953125, 14.27987098693847656, 6.108652114868164062, 120, 0, 0, 0, 0, 0, "", 50063, 1, NULL),
(129443, @CID3, 530, 1, 1, 0, 9558.3427734375, -7157.939453125, 14.31317806243896484, 2.635447263717651367, 120, 0, 0, 0, 0, 0, "", 50063, 1, NULL),
(129444, @CID3, 530, 1, 1, 0, 9757.3935546875, -7485.69873046875, 13.61710166931152343, 4.764749050140380859, 120, 0, 0, 0, 0, 0, "", 49345, 1, NULL),
(129445, @CID3, 530, 1, 1, 0, 9757.638671875, -7487.3740234375, 13.61667156219482421, 1.553343057632446289, 120, 0, 0, 0, 0, 0, "", 49345, 1, NULL),
(240304, @CID1, 571, 1, 1, 0, 5664.31005859375, 666.2725830078125, 652.06396484375, 1.396263360977172851, 120, 0, 0, 0, 0, 0, "", 48632, 1, NULL),
(240306, @CID1, 571, 1, 1, 0, 5664.3662109375, 668.046875, 652.05072021484375, 4.904375076293945312, 120, 0, 0, 0, 0, 0, "", 48632, 1, NULL),
(240308, @CID3, 571, 1, 1, 0, 5899.0390625, 532.765625, 640.9793701171875, 4.904375076293945312, 120, 0, 0, 0, 0, 0, "", 48632, 1, NULL),
(240309, @CID3, 571, 1, 1, 0, 5942.9462890625, 629.234375, 650.66796875, 1.570796370506286621, 120, 0, 0, 0, 0, 0, "", 48632, 1, NULL),
(240327, @CID11, 1, 1, 1, 0, 6757.30322265625, -4667.43505859375, 724.2777099609375, 2.617993831634521484, 120, 0, 0, 0, 0, 0, "", 49345, 1, NULL),
(240331, @CID11, 530, 1, 1, 0, -1875.9344482421875, 5376.2021484375, -12.3447761535644531, 0.820304751396179199, 120, 0, 0, 0, 0, 0, "", 49345, 1, NULL),
(240332, @CID11, 530, 1, 1, 0, 3047.91015625, 3683.240478515625, 142.588531494140625, 5.183627605438232421, 120, 0, 0, 0, 0, 0, "", 50063, 1, NULL),
(240333, @CID11, 1, 1, 1, 0, 6755.4677734375, -4666.119140625, 724.32305908203125, 5.585053443908691406, 120, 0, 0, 0, 0, 0, "", 49345, 1, NULL),
(240337, @CID11, 530, 1, 1, 0, -1875.05517578125, 5378.03515625, -12.3447751998901367, 4.363323211669921875, 120, 0, 0, 0, 0, 0, "", 49345, 1, NULL),
(240338, @CID11, 530, 1, 1, 0, 3049.17529296875, 3680.830322265625, 142.7080841064453125, 2.146754980087280273, 120, 0, 0, 0, 0, 0, "", 50063, 1, NULL),
(62848, @CID1, 0, 1, 1, 0, -8837.8984375, 553.15362548828125, 95.979736328125, 0.157079637050628662, 120, 0, 0, 0, 0, 0, "", 48632, 1, NULL),
(62849, @CID1, 0, 1, 1, 0, -8837.23828125, 554.91143798828125, 95.71685791015625, 5.044001579284667968, 120, 0, 0, 0, 0, 0, "", 48632, 1, NULL),
(724, @CID11, 0, 1, 1, 0, -14440.1142578125, 509.033966064453125, 26.27169609069824218, 1.343903541564941406, 120, 0, 0, 0, 0, 0, "", 50063, 1, NULL),
(725, @CID11, 0, 1, 1, 0, -14440.21484375, 510.300994873046875, 26.26188087463378906, 5.078907966613769531, 120, 0, 0, 0, 0, 0, "", 50063, 1, NULL),
(726, @CID11, 0, 1, 1, 0, -14468.6923828125, 463.642486572265625, 36.9241485595703125, 4.136430263519287109, 120, 0, 0, 0, 0, 0, "", 50063, 1, NULL),
(727, @CID11, 0, 1, 1, 0, -14469.5927734375, 462.22265625, 36.92478179931640625, 0.279252678155899047, 120, 0, 0, 0, 0, 0, "", 50063, 1, NULL),
(84400, @CID4, 530, 1, 1, 0, -4044.452392578125, -11785.9892578125, 9.115586280822753906, 2.530727386474609375, 120, 0, 0, 0, 0, 0, "", 48632, 1, NULL),
(84402, @CID4, 530, 1, 1, 0, -3909.21826171875, -11614.7919921875, -138.1005859375, 3.176499128341674804, 120, 0, 0, 0, 0, 0, "", 48632, 1, NULL),
(84409, @CID4, 530, 1, 1, 0, -3811.420166015625, -11709.197265625, -106.409294128417968, 4.642575740814208984, 120, 0, 0, 0, 0, 0, "", 48632, 1, NULL),
(84410, @CID4, 530, 1, 1, 0, -4045.575927734375, -11784.9736328125, 9.106161117553710937, 5.602506637573242187, 120, 0, 0, 0, 0, 0, "", 48632, 1, NULL),
(84418, @CID3, 530, 1, 1, 0, 9663.5087890625, -7117.0068359375, 14.40693092346191406, 2.530727386474609375, 120, 0, 0, 0, 0, 0, "", 50664, 1, NULL),
(84419, @CID3, 530, 1, 1, 0, 9690.42578125, -7493.95166015625, 15.85786247253417968, 2.338741064071655273, 120, 0, 0, 0, 0, 0, "", 49345, 1, NULL),
(84423, @CID3, 530, 1, 1, 0, 9662.27734375, -7116.19140625, 14.40640068054199218, 5.445427417755126953, 120, 0, 0, 0, 0, 0, "", 50664, 1, NULL),
(84424, @CID3, 530, 1, 1, 0, 9689.0654296875, -7493.0947265625, 15.86103248596191406, 6.195918560028076171, 120, 0, 0, 0, 0, 0, "", 49345, 1, NULL),
(84430, @CID4, 530, 1, 1, 0, -3954.309814453125, -11702.189453125, -138.798614501953125, 2.652900457382202148, 120, 0, 0, 0, 0, 0, "", 48632, 1, NULL),
(84435, @CID4, 530, 1, 1, 0, -3955.854736328125, -11701.490234375, -138.819503784179687, 5.724679946899414062, 120, 0, 0, 0, 0, 0, "", 48632, 1, NULL),
(84950, @CID5, 0, 1, 1, 0, -4829.8798828125, -1173.2542724609375, 502.27734375, 2.49582076072692871, 120, 0, 0, 0, 0, 0, "", 48632, 1, NULL),
(84953, @CID5, 0, 1, 1, 0, -4831.73681640625, -1172.5758056640625, 502.27752685546875, 6.195918560028076171, 120, 0, 0, 0, 0, 0, "", 48632, 1, NULL),
(85653, @CID2, 0, 1, 1, 0, -4900.87353515625, -957.3143310546875, 501.541351318359375, 4.171336650848388671, 120, 0, 0, 0, 0, 0, "", 48632, 1, NULL),
(85654, @CID2, 0, 1, 1, 0, -4901.8017578125, -958.95538330078125, 501.542877197265625, 1.01229095458984375, 120, 0, 0, 0, 0, 0, "", 48632, 1, NULL),
(86851, @CID3, 530, 1, 1, 0, 9374.6689453125, -7155.087890625, 9.336748123168945312, 4.956735134124755859, 120, 0, 0, 0, 0, 0, "", 48632, 1, NULL),
(86852, @CID3, 530, 1, 1, 0, 9375.072265625, -7157.06103515625, 9.255876541137695312, 1.605702877044677734, 120, 0, 0, 0, 0, 0, "", 48632, 1, NULL),
(86853, @CID9, 1, 1, 1, 0, 1689.763916015625, -4334.845703125, 61.97504425048828125, 0.157079637050628662, 120, 0, 0, 0, 0, 0, "", 47720, 1, NULL),
(86857, @CID9, 1, 1, 1, 0, 1693.4039306640625, -4334.82763671875, 61.92371368408203125, 3.03687286376953125, 120, 0, 0, 0, 0, 0, "", 47720, 1, NULL),
(86858, @CID7, 1, 1, 1, 0, 1623.4410400390625, -4402.04541015625, 12.91891860961914062, 5.689773082733154296, 120, 0, 0, 0, 0, 0, "", 48632, 1, NULL),
(87071, @CID7, 1, 1, 1, 0, 1625.002197265625, -4402.8759765625, 13.19661712646484375, 2.600540637969970703, 120, 0, 0, 0, 0, 0, "", 47720, 1, NULL),
(91115, @CID11, 1, 1, 1, 0, -924.65625, -3715.908935546875, 9.131733894348144531, 5.06145477294921875, 120, 0, 0, 0, 0, 0, "", 49345, 1, NULL),
(91116, @CID11, 1, 1, 1, 0, -924.09893798828125, -3718.003173828125, 9.185143470764160156, 1.692969322204589843, 120, 0, 0, 0, 0, 0, "", 49345, 1, NULL),
(91117, @CID11, 1, 1, 1, 0, -898.02410888671875, -3765.58935546875, 11.86798286437988281, 1.256637096405029296, 120, 0, 0, 0, 0, 0, "", 49345, 1, NULL),
(91118, @CID11, 1, 1, 1, 0, -897.12384033203125, -3763.225830078125, 11.98815059661865234, 4.328416347503662109, 120, 0, 0, 0, 0, 0, "", 49345, 1, NULL),
(91563, @CID8, 1, 1, 1, 0, -1240.5191650390625, 90.63541412353515625, 129.010406494140625, 4.834561824798583984, 120, 0, 0, 0, 0, 0, "", 48632, 1, NULL),
(91564, @CID8, 1, 1, 1, 0, -1240.88720703125, 87.83853912353515625, 129.19622802734375, 1.48352980613708496, 120, 0, 0, 0, 0, 0, "", 48632, 1, NULL),
(91565, @CID6, 1, 1, 1, 0, 9921.564453125, 2499.584716796875, 1317.771484375, 5.619960308074951171, 120, 0, 0, 0, 0, 0, "", 48632, 1, NULL),
(91566, @CID6, 1, 1, 1, 0, 9922.9716796875, 2498.760009765625, 1317.861083984375, 2.443460941314697265, 120, 0, 0, 0, 0, 0, "", 48632, 1, NULL),
(91569, @CID3, 530, 1, 1, 0, 9689.3330078125, -7345.38623046875, 11.91436386108398437, 4.206243515014648437, 120, 0, 0, 0, 0, 0, "", 48632, 1, NULL),
(91570, @CID3, 530, 1, 1, 0, 9687.9599609375, -7346.09228515625, 11.95601940155029296, 1.500983119010925292, 120, 0, 0, 0, 0, 0, "", 48632, 1, NULL),
(91579, @CID11, 0, 1, 1, 0, -14313.5224609375, 508.85296630859375, 8.691210746765136718, 4.276056766510009765, 120, 0, 0, 0, 0, 0, "", 50063, 1, NULL),
(91580, @CID11, 0, 1, 1, 0, -14313.9521484375, 507.109161376953125, 8.688287734985351562, 1.221730470657348632, 120, 0, 0, 0, 0, 0, "", 50063, 1, NULL),
(91588, @CID4, 530, 1, 1, 0, -3810.521728515625, -11710.6494140625, -106.411102294921875, 2.286381244659423828, 120, 0, 0, 0, 0, 0, "", 48632, 1, NULL),
(91590, @CID4, 530, 1, 1, 0, -3910.779541015625, -11615.693359375, -138.114547729492187, 0.820304751396179199, 120, 0, 0, 0, 0, 0, "", 48632, 1, NULL),
(91752, @CID11, 1, 1, 1, 0, 6791.34375, -4747.0087890625, 701.61676025390625, 2.216568231582641601, 120, 0, 0, 0, 0, 0, "", 50063, 1, NULL),
(91753, @CID11, 1, 1, 1, 0, -7144.11572265625, -3830.954345703125, 8.505434989929199218, 3.263765573501586914, 120, 0, 0, 0, 0, 0, "", 49345, 1, NULL),
(91754, @CID11, 1, 1, 1, 0, -7147.06396484375, -3830.216064453125, 8.5139617919921875, 6.056292533874511718, 120, 0, 0, 0, 0, 0, "", 49345, 1, NULL),
(91756, @CID11, 1, 1, 1, 0, -7219.65966796875, -3731.911376953125, 8.463495254516601562, 5.131268024444580078, 120, 0, 0, 0, 0, 0, "", 49345, 1, NULL),
(91757, @CID11, 1, 1, 1, 0, -7182.970703125, -3811.806884765625, 8.803952217102050781, 2.39110112190246582, 120, 0, 0, 0, 0, 0, "", 49345, 1, NULL),
(91758, @CID11, 1, 1, 1, 0, -7185.20068359375, -3809.253173828125, 9.013463020324707031, 5.515240192413330078, 120, 0, 0, 0, 0, 0, "", 49345, 1, NULL),
(91759, @CID11, 1, 1, 1, 0, -7053.61865234375, -3777.210205078125, 10.20470237731933593, 5.25344085693359375, 120, 0, 0, 0, 0, 0, "", 49345, 1, NULL),
(91760, @CID11, 1, 1, 1, 0, -7053.0048828125, -3779.90283203125, 10.14777183532714843, 1.535889744758605957, 120, 0, 0, 0, 0, 0, "", 49345, 1, NULL),
(91762, @CID11, 1, 1, 1, 0, -7217.572265625, -3735.163330078125, 8.453137397766113281, 2.286381244659423828, 120, 0, 0, 0, 0, 0, "", 49345, 1, NULL),
(91766, @CID11, 530, 1, 1, 0, -1818.9884033203125, 5305.673828125, -12.3448057174682617, 4.031710624694824218, 120, 0, 0, 0, 0, 0, "", 49345, 1, NULL),
(91767, @CID11, 530, 1, 1, 0, -1821.1177978515625, 5303.34521484375, -12.3448057174682617, 0.767944872379302978, 120, 0, 0, 0, 0, 0, "", 49345, 1, NULL),
(91768, @CID11, 530, 1, 1, 0, -1748.0755615234375, 5493.85791015625, -12.3448047637939453, 4.258603572845458984, 120, 0, 0, 0, 0, 0, "", 49345, 1, NULL),
(91769, @CID11, 530, 1, 1, 0, -1747.9027099609375, 5492.11279296875, -12.3448047637939453, 1.343903541564941406, 120, 0, 0, 0, 0, 0, "", 49345, 1, NULL),
(91770, @CID11, 530, 1, 1, 0, -1978.8189697265625, 5365.20654296875, -12.3448047637939453, 3.630284786224365234, 120, 0, 0, 0, 0, 0, "", 49345, 1, NULL),
(91771, @CID11, 530, 1, 1, 0, -1980.7156982421875, 5364.884765625, -12.322549819946289, 0.226892799139022827, 120, 0, 0, 0, 0, 0, "", 49345, 1, NULL),
(91801, @CID11, 530, 1, 1, 0, -1884.1431884765625, 5766.55029296875, 129.641204833984375, 1.308996915817260742, 120, 0, 0, 0, 0, 0, "", 50063, 1, NULL);
-- new spawns
DELETE FROM `creature` WHERE (`id1` IN (@CID1, @CID3, @CID11)) AND (`guid` IN (62921, 62922, 62923, 62924, 62925, 62926, 62927, 62928, 62929, 62930, 62931, 62932, 62933, 62934, 62935, 62936, 62937, 62938, 62939, 62940, 62941, 62942, 62943, 62944, 62945, 62946));
INSERT INTO `creature` (`guid`, `id1`, `map`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`, `CreateObject`, `Comment`) VALUES
(62921, @CID1, 571, 1, 1, 0, 5739.3583984375, 684.62152099609375, 644.19134521484375, 0.872664630413055419, 120, 0, 0, 0, 0, 0, "", 48632, 1, NULL),
(62922, @CID1, 571, 1, 1, 0, 5740.70947265625, 686.12152099609375, 643.89654541015625, 3.822271108627319335, 120, 0, 0, 0, 0, 0, "", 48632, 1, NULL),
(62923, @CID3, 571, 1, 1, 0, 5899.09619140625, 530.8975830078125, 641.05621337890625, 1.675516128540039062, 120, 0, 0, 0, 0, 0, "", 48632, 1, NULL),
(62924, @CID3, 571, 1, 1, 0, 5943.16845703125, 630.89410400390625, 650.6661376953125, 4.904375076293945312, 120, 0, 0, 0, 0, 0, "", 48632, 1, NULL),
(62925, @CID11, 1, 1, 1, 0, -1030.970703125, -3678.40576171875, 23.24793434143066406, 1.623156189918518066, 120, 0, 0, 0, 0, 0, "", 49345, 1, NULL),
(62926, @CID11, 1, 1, 1, 0, -1031.02783203125, -3676.19873046875, 23.18507194519042968, 4.694935798645019531, 120, 0, 0, 0, 0, 0, "", 49345, 1, NULL),
(62927, @CID11, 1, 1, 1, 0, 6706.6865234375, -4673.666015625, 721.51214599609375, 5.183627605438232421, 120, 0, 0, 0, 0, 0, "", 49345, 1, NULL),
(62928, @CID11, 1, 1, 1, 0, 6707.43115234375, -4675.7412109375, 721.14764404296875, 1.797689080238342285, 120, 0, 0, 0, 0, 0, "", 49345, 1, NULL),
(62929, @CID11, 1, 1, 1, 0, 6789.40380859375, -4744.7900390625, 701.61572265625, 5.497786998748779296, 120, 0, 0, 0, 0, 0, "", 50063, 1, NULL),
(62930, @CID11, 1, 1, 1, 0, 6808.54541015625, -4604.900390625, 710.5283203125, 0.314159274101257324, 120, 0, 0, 0, 0, 0, "", 49345, 1, NULL),
(62931, @CID11, 1, 1, 1, 0, 6812.02490234375, -4603.5087890625, 710.75250244140625, 3.630284786224365234, 120, 0, 0, 0, 0, 0, "", 49345, 1, NULL),
(62932, @CID11, 530, 1, 1, 0, -1808.356201171875, 5417.01025390625, -12.3448410034179687, 2.321287870407104492, 120, 0, 0, 0, 0, 0, "", 49345, 1, NULL),
(62933, @CID11, 530, 1, 1, 0, -1809.9249267578125, 5418.63720703125, -12.3448457717895507, 5.550147056579589843, 120, 0, 0, 0, 0, 0, "", 49345, 1, NULL),
(62934, @CID11, 530, 1, 1, 0, -1883.611572265625, 5769.2822265625, 129.641204833984375, 4.15388345718383789, 120, 0, 0, 0, 0, 0, "", 50063, 1, NULL),
(62935, @CID11, 530, 1, 1, 0, -1917.8135986328125, 5441.85009765625, -12.3448438644409179, 2.356194496154785156, 120, 0, 0, 0, 0, 0, "", 49345, 1, NULL),
(62936, @CID11, 530, 1, 1, 0, -1920.16845703125, 5443.51806640625, -12.3448352813720703, 5.864306449890136718, 120, 0, 0, 0, 0, 0, "", 49345, 1, NULL),
(62937, @CID11, 530, 1, 1, 0, -2174.136962890625, 5413.0625, 50.31124496459960937, 2.565634012222290039, 120, 0, 0, 0, 0, 0, "", 49345, 1, NULL),
(62938, @CID11, 530, 1, 1, 0, -2175.761962890625, 5414.6220703125, 50.31124114990234375, 5.602506637573242187, 120, 0, 0, 0, 0, 0, "", 49345, 1, NULL),
(62939, @CID11, 530, 1, 1, 0, 2975.743896484375, 3650.292236328125, 143.17138671875, 5.235987663269042968, 120, 0, 0, 0, 0, 0, "", 50063, 1, NULL),
(62940, @CID11, 530, 1, 1, 0, 2977.159912109375, 3648.09033203125, 143.5688934326171875, 1.93731546401977539, 120, 0, 0, 0, 0, 0, "", 50063, 1, NULL),
(62941, @CID11, 530, 1, 1, 0, 3073.345947265625, 3595.1220703125, 144.14971923828125, 1.274090290069580078, 120, 0, 0, 0, 0, 0, "", 50063, 1, NULL),
(62942, @CID11, 530, 1, 1, 0, 3073.896484375, 3597.2158203125, 144.14971923828125, 4.537856101989746093, 120, 0, 0, 0, 0, 0, "", 50063, 1, NULL),
(62943, @CID11, 571, 1, 1, 0, 5777.6494140625, 728.8992919921875, 618.63555908203125, 0.139626339077949523, 120, 0, 0, 0, 0, 0, "", 48632, 1, NULL),
(62944, @CID11, 571, 1, 1, 0, 5779.501953125, 729.07293701171875, 618.6434326171875, 3.228859186172485351, 120, 0, 0, 0, 0, 0, "", 48632, 1, NULL),
(62945, @CID11, 571, 1, 1, 0, 6191.5458984375, -1058.80908203125, 409.8868408203125, 0.383972436189651489, 120, 0, 0, 0, 0, 0, "", 50172, 1, NULL),
(62946, @CID11, 571, 1, 1, 0, 6193.6259765625, -1057.967041015625, 409.848846435546875, 3.700098037719726562, 120, 0, 0, 0, 0, 0, "", 50172, 1, NULL);
-- remove duplicate spawns
DELETE FROM `creature` WHERE (`id1` IN (@CID1, @CID2, @CID3, @CID4, @CID5, @CID6, @CID7, @CID8, @CID9, @CID10, @CID11)) AND (`guid` IN (240311, 240312, 240307, 240310, 91587, 84440, 240313, 84441, 240315, 240316, 240317, 240326, 134674, 240325, 134673, 240323, 240324, 86732, 86733, 240322, 240321, 134671, 134672, 240320, 240336, 240330, 240335, 240329, 240334, 240328));
DELETE FROM `creature_addon` WHERE (`guid` IN (240311, 240312, 240307, 240310, 91587, 84440, 240313, 84441, 240315, 240316, 240317, 240326, 134674, 240325, 134673, 240323, 240324, 86732, 86733, 240322, 240321, 134671, 134672, 240320, 240336, 240330, 240335, 240329, 240334, 240328));
DELETE FROM `game_event_creature` WHERE (`guid` IN (240311, 240312, 240307, 240310, 91587, 84440, 240313, 84441, 240315, 240316, 240317, 240326, 134674, 240325, 134673, 240323, 240324, 86732, 86733, 240322, 240321, 134671, 134672, 240320, 240336, 240330, 240335, 240329, 240334, 240328));
-- spawn commoners for all relevant events
DELETE FROM `game_event_creature` WHERE `guid` IN (SELECT `guid` FROM `creature` WHERE `id1` IN (@CID1, @CID2, @CID3, @CID4, @CID5, @CID6, @CID7, @CID8, @CID9, @CID10, @CID11)) AND `eventEntry` in (@GEVENT1, @GEVENT2, @GEVENT3, @GEVENT4, @GEVENT5, @GEVENT6, @GEVENT7, @GEVENT8, @GEVENT9, @GEVENT10, @GEVENT11);
INSERT INTO `game_event_creature` (SELECT @GEVENT1 , `guid` FROM `creature` WHERE `id1` IN (@CID1, @CID2, @CID3, @CID4, @CID5, @CID6, @CID7, @CID8, @CID9, @CID10, @CID11));
INSERT INTO `game_event_creature` (SELECT @GEVENT2 , `guid` FROM `creature` WHERE `id1` IN (@CID1, @CID2, @CID3, @CID4, @CID5, @CID6, @CID7, @CID8, @CID9, @CID10, @CID11));
INSERT INTO `game_event_creature` (SELECT @GEVENT3 , `guid` FROM `creature` WHERE `id1` IN (@CID1, @CID2, @CID3, @CID4, @CID5, @CID6, @CID7, @CID8, @CID9, @CID10, @CID11));
INSERT INTO `game_event_creature` (SELECT @GEVENT4 , `guid` FROM `creature` WHERE `id1` IN (@CID1, @CID2, @CID3, @CID4, @CID5, @CID6, @CID7, @CID8, @CID9, @CID10, @CID11));
INSERT INTO `game_event_creature` (SELECT @GEVENT5 , `guid` FROM `creature` WHERE `id1` IN (@CID1, @CID2, @CID3, @CID4, @CID5, @CID6, @CID7, @CID8, @CID9, @CID10, @CID11));
INSERT INTO `game_event_creature` (SELECT @GEVENT6 , `guid` FROM `creature` WHERE `id1` IN (@CID1, @CID2, @CID3, @CID4, @CID5, @CID6, @CID7, @CID8, @CID9, @CID10, @CID11));
INSERT INTO `game_event_creature` (SELECT @GEVENT7 , `guid` FROM `creature` WHERE `id1` IN (@CID1, @CID2, @CID3, @CID4, @CID5, @CID6, @CID7, @CID8, @CID9, @CID10, @CID11));
INSERT INTO `game_event_creature` (SELECT @GEVENT8 , `guid` FROM `creature` WHERE `id1` IN (@CID1, @CID2, @CID3, @CID4, @CID5, @CID6, @CID7, @CID8, @CID9, @CID10, @CID11));
INSERT INTO `game_event_creature` (SELECT @GEVENT9 , `guid` FROM `creature` WHERE `id1` IN (@CID1, @CID2, @CID3, @CID4, @CID5, @CID6, @CID7, @CID8, @CID9, @CID10, @CID11));
INSERT INTO `game_event_creature` (SELECT @GEVENT10, `guid` FROM `creature` WHERE `id1` IN (@CID1, @CID2, @CID3, @CID4, @CID5, @CID6, @CID7, @CID8, @CID9, @CID10, @CID11));
INSERT INTO `game_event_creature` (SELECT @GEVENT11, `guid` FROM `creature` WHERE `id1` IN (@CID1, @CID2, @CID3, @CID4, @CID5, @CID6, @CID7, @CID8, @CID9, @CID10, @CID11));

View File

@@ -0,0 +1,9 @@
-- DB update 2024_01_05_00 -> 2024_01_05_01
--
DELETE FROM `smart_scripts` WHERE `entryorguid` = 16977 AND `source_type` = 0;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param6`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(16977, 0, 0, 0, 0, 0, 100, 0, 0, 0, 2400, 3800, 0, 0, 11, 20823, 64, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Arch Mage Xintor - In Combat - Cast \'Fireball\''),
(16977, 0, 1, 0, 0, 0, 100, 0, 6000, 8000, 9000, 12000, 0, 0, 11, 15735, 64, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Arch Mage Xintor - In Combat - Cast \'Arcane Missiles\''),
(16977, 0, 2, 0, 2, 0, 100, 1, 0, 50, 0, 0, 0, 0, 11, 33245, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Arch Mage Xintor - Between 0-50% Health - Cast \'Ice Barrier\' (No Repeat)'),
(16977, 0, 3, 0, 2, 0, 100, 1, 0, 50, 0, 0, 0, 0, 11, 29458, 0, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, 0, 'Arch Mage Xintor - Between 0-50% Health - Cast \'Blizzard\' (No Repeat)'),
(16977, 0, 4, 0, 2, 0, 100, 1, 0, 15, 0, 0, 0, 0, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Arch Mage Xintor - Between 0-15% Health - Flee For Assist (No Repeat)');

View File

@@ -0,0 +1,221 @@
-- DB update 2024_01_05_01 -> 2024_01_05_02
-- Update creatures '(Master) Fire Eater' / '(Master) Flame Eater' with sniffed values
SET @CID1 := 25962; -- Fire Eater
SET @CID2 := 25994; -- Flame Eater
SET @CID3 := 25975; -- Master Fire Eater
SET @CID4 := 26113; -- Master Flame Eater
-- updated spawns
DELETE FROM `creature` WHERE (`id1` IN (@CID1, @CID2, @CID3, @CID4)) AND (`guid` IN (86644, 86645, 86646, 86703, 86704, 86705, 86706, 86707, 86708, 86709, 86710, 86711, 86712, 86713, 86714, 86715, 86896, 86897, 86901, 86924, 87086, 88899, 90486, 90492, 90493, 202719, 202745, 202756, 202763, 94421, 94475, 94477, 94485, 94486, 94487, 94488, 94489, 94509, 94510, 94511, 94512, 94514, 94515, 94516, 94517, 94519, 94520, 94521, 94522, 94524, 94525, 94526, 94527, 94528, 202769, 90509, 90510, 90512, 202751, 83242, 83243, 83244));
INSERT INTO `creature` (`guid`, `id1`, `map`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`, `CreateObject`, `Comment`) VALUES
(86644, @CID1, 530, 1, 1, 0, -1745.9759521484375, 5342.85791015625, -12.3448028564453125, 1.675516128540039062, 120, 0, 0, 0, 0, 0, "", 50063, 1, NULL),
(86645, @CID1, 530, 1, 1, 0, -1993.87158203125, 5482.45947265625, 3.155935287475585937, 4.468042850494384765, 120, 0, 0, 0, 0, 0, "", 50063, 1, NULL),
(86646, @CID1, 530, 1, 1, 0, -1826.0703125, 5567.6083984375, 3.048056364059448242, 5.969026088714599609, 120, 0, 0, 0, 0, 0, "", 50063, 1, NULL),
(86703, @CID1, 530, 1, 1, 0, -1908.94189453125, 5259.279296875, 5.262498378753662109, 2.548180580139160156, 120, 0, 0, 0, 0, 0, "", 50063, 1, NULL),
(86704, @CID1, 1, 1, 1, 0, -6782.27734375, 550.54339599609375, 2.976381301879882812, 5.829399585723876953, 120, 0, 0, 0, 0, 0, "", 50063, 1, NULL),
(86705, @CID1, 1, 1, 1, 0, -7239.2783203125, -3845.057861328125, 10.88845634460449218, 2.007128715515136718, 120, 0, 0, 0, 0, 0, "", 50063, 1, NULL),
(86706, @CID1, 1, 1, 1, 0, 6840.22509765625, -4752.13525390625, 698.13836669921875, 2.635447263717651367, 120, 0, 0, 0, 0, 0, "", 50063, 1, NULL),
(86707, @CID1, 1, 1, 1, 0, -3469.82421875, -4208.98681640625, 10.15573310852050781, 0.383972436189651489, 120, 0, 0, 0, 0, 0, "", 50063, 1, NULL),
(86708, @CID1, 0, 1, 1, 0, -623.26043701171875, -539.2100830078125, 34.8657684326171875, 3.159045934677124023, 120, 0, 0, 0, 0, 0, "", 50063, 1, NULL),
(86709, @CID1, 0, 1, 1, 0, 181.3682708740234375, -2115.44140625, 105.640899658203125, 2.199114799499511718, 120, 0, 0, 0, 0, 0, "", 50063, 1, NULL),
(86710, @CID1, 0, 1, 1, 0, -3434.942626953125, -951.55078125, 9.5114288330078125, 3.839724302291870117, 120, 0, 0, 0, 0, 0, "", 50063, 1, NULL),
(86711, @CID1, 0, 1, 1, 0, -14286.6689453125, 52.43147659301757812, 0.457084357738494873, 5.637413501739501953, 120, 0, 0, 0, 0, 0, "", 50063, 1, NULL),
(86712, @CID1, 0, 1, 1, 0, -1189.6522216796875, -2665.2802734375, 46.35194015502929687, 3.839724302291870117, 120, 0, 0, 0, 0, 0, "", 50063, 1, NULL),
(86713, @CID1, 0, 1, 1, 0, -10953.4951171875, -3227.94775390625, 41.18955230712890625, 3.839724302291870117, 120, 0, 0, 0, 0, 0, "", 50063, 1, NULL),
(86714, @CID1, 0, 1, 1, 0, -9379.8720703125, 18.91053581237792968, 62.1827239990234375, 5.113814830780029296, 120, 0, 0, 0, 0, 0, "", 50063, 1, NULL),
(86715, @CID1, 0, 1, 1, 0, -5429.65380859375, -495.51617431640625, 397.313995361328125, 3.577924966812133789, 120, 0, 0, 0, 0, 0, "", 50063, 1, NULL),
(86896, @CID1, 1, 1, 1, 0, 6306.48193359375, 518.79168701171875, 17.63333892822265625, 1.117010712623596191, 120, 0, 0, 0, 0, 0, "", 50063, 1, NULL),
(86897, @CID1, 0, 1, 1, 0, -9442.9501953125, -2125.0166015625, 67.40659332275390625, 4.206243515014648437, 120, 0, 0, 0, 0, 0, "", 50063, 1, NULL),
(86901, @CID1, 1, 1, 1, 0, 9784.5791015625, 1031.13134765625, 1298.8956298828125, 0.698131680488586425, 120, 0, 0, 0, 0, 0, "", 50063, 1, NULL),
(86924, @CID1, 1, 1, 1, 0, 2557.03076171875, -457.059417724609375, 109.3752365112304687, 4.78220224380493164, 120, 0, 0, 0, 0, 0, "", 50063, 1, NULL),
(87086, @CID1, 1, 1, 1, 0, -57.4059791564941406, 1250.4517822265625, 90.500701904296875, 4.590215682983398437, 120, 0, 0, 0, 0, 0, "", 50063, 1, NULL),
(88899, @CID1, 0, 1, 1, 0, -10636.5751953125, 1079.73388671875, 34.28116607666015625, 5.916666030883789062, 120, 0, 0, 0, 0, 0, "", 50063, 1, NULL),
(90486, @CID1, 0, 1, 1, 0, -10685.1884765625, -1154.982421875, 25.7005615234375, 5.916666030883789062, 120, 0, 0, 0, 0, 0, "", 50063, 1, NULL),
(90492, @CID1, 0, 1, 1, 0, -5250.96728515625, -2878.25, 339.173065185546875, 5.044001579284667968, 120, 0, 0, 0, 0, 0, "", 50063, 1, NULL),
(90493, @CID1, 530, 1, 1, 0, -513.5137939453125, 2334.37548828125, 38.27595901489257812, 0.506145477294921875, 120, 0, 0, 0, 0, 0, "", 50063, 1, NULL),
--
(202719, @CID2, 1, 1, 1, 0, 140.0614166259765625, -4733.56689453125, 15.6395721435546875, 0.436332315206527709, 120, 0, 0, 0, 0, 0, "", 50172, 1, NULL),
(202745, @CID2, 530, 1, 1, 0, 9376.3642578125, -6782.64404296875, 13.99409675598144531, 1.553343057632446289, 120, 0, 0, 0, 0, 0, "", 50063, 1, NULL),
(202756, @CID2, 530, 1, 1, 0, 7679.875, -6828.62060546875, 78.5351104736328125, 1.553343057632446289, 120, 0, 0, 0, 0, 0, "", 50063, 1, NULL),
(202763, @CID2, 0, 1, 1, 0, 2283.596435546875, 437.621856689453125, 34.46454620361328125, 4.904375076293945312, 120, 0, 0, 0, 0, 0, "", 50063, 1, NULL),
(94421, @CID2, 530, 1, 1, 0, -1758.3138427734375, 5322.80224609375, -12.3448028564453125, 2.862339973449707031, 120, 0, 0, 0, 0, 0, "", 50063, 1, NULL),
(94475, @CID2, 1, 1, 1, 0, -7104.60400390625, -3660.681396484375, 11.02449989318847656, 0.471238881349563598, 120, 0, 0, 0, 0, 0, "", 50063, 1, NULL),
(94477, @CID2, 1, 1, 1, 0, -6985.00732421875, 911.05157470703125, 9.83533477783203125, 5.619960308074951171, 120, 0, 0, 0, 0, 0, "", 50063, 1, NULL),
(94485, @CID2, 1, 1, 1, 0, 1993.86962890625, -2345.348388671875, 90.174072265625, 2.740166902542114257, 120, 0, 0, 0, 0, 0, "", 50063, 1, NULL),
(94486, @CID2, 1, 1, 1, 0, -5518.40673828125, -2283.9384765625, -58.5534400939941406, 1.902408838272094726, 120, 0, 0, 0, 0, 0, "", 50063, 1, NULL),
(94487, @CID2, 530, 1, 1, 0, -2539.4326171875, 4266.70556640625, 17.14411163330078125, 5.969026088714599609, 120, 0, 0, 0, 0, 0, "", 50063, 1, NULL),
(94488, @CID2, 1, 1, 1, 0, -3110.917236328125, -2741.436767578125, 35.3230438232421875, 4.729842185974121093, 120, 0, 0, 0, 0, 0, "", 50172, 1, NULL),
(94489, @CID2, 0, 1, 1, 0, -14377.6064453125, 128.1366119384765625, 0.828836321830749511, 2.373647689819335937, 120, 0, 0, 0, 0, 0, "", 50063, 1, NULL),
(94509, @CID2, 0, 1, 1, 0, -1120.3016357421875, -3558.79052734375, 49.36658859252929687, 1.919862151145935058, 120, 0, 0, 0, 0, 0, "", 50063, 1, NULL),
(94510, @CID2, 0, 1, 1, 0, 597.7747802734375, 1352.1324462890625, 89.69438934326171875, 5.113814830780029296, 120, 0, 0, 0, 0, 0, "", 50063, 1, NULL),
(94511, @CID2, 530, 1, 1, 0, 30.01302146911621093, 2600.0234375, 70.590362548828125, 1.954768776893615722, 120, 0, 0, 0, 0, 0, "", 50063, 1, NULL),
(94512, @CID2, 1, 1, 1, 0, 945.23223876953125, 789.416259765625, 103.9687576293945312, 1.884955525398254394, 120, 0, 0, 0, 0, 0, "", 50063, 1, NULL),
(94514, @CID2, 1, 1, 1, 0, 6837.4384765625, -4570.779296875, 709.26275634765625, 4.415682792663574218, 120, 0, 0, 0, 0, 0, "", 50063, 1, NULL),
(94515, @CID2, 1, 1, 1, 0, -1845.5035400390625, 3050.37060546875, 1.173815369606018066, 6.056292533874511718, 120, 0, 0, 0, 0, 0, "", 50063, 1, NULL),
(94516, @CID2, 1, 1, 1, 0, -295.974395751953125, -2662.59521484375, 93.8076629638671875, 3.159045934677124023, 120, 0, 0, 0, 0, 0, "", 50063, 1, NULL),
(94517, @CID2, 0, 1, 1, 0, -10347.115234375, -3300.81591796875, 23.68109130859375, 3.473205089569091796, 120, 0, 0, 0, 0, 0, "", 50063, 1, NULL),
(94519, @CID2, 0, 1, 1, 0, -6681.29150390625, -2193.899658203125, 247.9558868408203125, 0.994837641716003417, 120, 0, 0, 0, 0, 0, "", 50063, 1, NULL),
(94520, @CID2, 0, 1, 1, 0, -7601.23779296875, -2059.778076171875, 131.111572265625, 2.460914134979248046, 120, 0, 0, 0, 0, 0, "", 50063, 1, NULL),
(94521, @CID2, 0, 1, 1, 0, -132.639923095703125, -814.95703125, 55.1647491455078125, 5.79449319839477539, 120, 0, 0, 0, 0, 0, "", 50063, 1, NULL),
(94522, @CID2, 530, 1, 1, 0, -1998.7164306640625, 5467.01171875, 3.084572315216064453, 1.361356854438781738, 120, 0, 0, 0, 0, 0, "", 50063, 1, NULL),
(94524, @CID2, 1, 1, 1, 0, -4585.4326171875, 423.634429931640625, 42.33415985107421875, 2.652900457382202148, 120, 0, 0, 0, 0, 0, "", 50063, 1, NULL),
(94525, @CID2, 0, 1, 1, 0, -466.787750244140625, -4532.076171875, 11.12673473358154296, 3.473205089569091796, 120, 0, 0, 0, 0, 0, "", 50063, 1, NULL),
(94526, @CID2, 530, 1, 1, 0, -1209.9293212890625, 7491.74853515625, 21.2173004150390625, 1.500983119010925292, 120, 0, 0, 0, 0, 0, "", 50063, 1, NULL),
(94527, @CID2, 530, 1, 1, 0, 214.8994140625, 7694.3974609375, 22.43832206726074218, 0.366519153118133544, 120, 0, 0, 0, 0, 0, "", 50063, 1, NULL),
(94528, @CID2, 530, 1, 1, 0, -1698.793212890625, 5363.455078125, 5.496259689331054687, 1.186823844909667968, 120, 0, 0, 0, 0, 0, "", 50063, 1, NULL),
--
(202769, @CID3, 530, 1, 1, 0, -3789.962158203125, -11498.6494140625, -134.59722900390625, 0.92502450942993164, 120, 0, 0, 0, 0, 0, "", 50063, 1, NULL),
(90509, @CID3, 1, 1, 1, 0, 8705.9580078125, 934.90509033203125, 14.87907695770263671, 1.029744267463684082, 120, 0, 0, 0, 0, 0, "", 50063, 1, NULL),
(90510, @CID3, 0, 1, 1, 0, -4701.4384765625, -1230.3599853515625, 501.74273681640625, 5.044001579284667968, 120, 0, 0, 0, 0, 0, "", 50063, 1, NULL),
(90512, @CID3, 0, 1, 1, 0, -8836.37109375, 851.8443603515625, 99.130828857421875, 4.817108631134033203, 120, 0, 0, 0, 0, 0, "", 50063, 1, NULL),
--
(202751, @CID4, 530, 1, 1, 0, 9811.28515625, -7242.42578125, 26.17952346801757812, 5.323254108428955078, 120, 0, 0, 0, 0, 0, "", 50063, 1, NULL),
(83242, @CID4, 1, 1, 1, 0, 1917.0208740234375, -4341.81103515625, 20.884979248046875, 1.319406032562255859, 120, 0, 0, 0, 0, 0, "", 50172, 1, NULL),
(83243, @CID4, 0, 1, 1, 0, 1823.745849609375, 212.4307708740234375, 60.20230865478515625, 6.230825424194335937, 120, 0, 0, 0, 0, 0, "", 50063, 1, NULL),
(83244, @CID4, 1, 1, 1, 0, -1033.9791259765625, 297.46527099609375, 135.8292694091796875, 2.146754980087280273, 120, 0, 0, 0, 0, 0, "", 50063, 1, NULL);
-- new spawns
DELETE FROM `creature` WHERE (`id1` = @CID1) AND (`guid` BETWEEN 25949 AND 25969);
INSERT INTO `creature` (`guid`, `id1`, `map`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`, `CreateObject`, `Comment`) VALUES
(25949, @CID1, 0, 1, 1, 0, -8247.701171875, -2608.94287109375, 133.23797607421875, 2.984513044357299804, 120, 0, 0, 0, 0, 0, "", 50063, 1, NULL),
(25950, @CID1, 0, 1, 1, 0, 1000.25421142578125, -1439.2823486328125, 63.2663421630859375, 2.129301786422729492, 120, 0, 0, 0, 0, 0, "", 50063, 1, NULL),
(25951, @CID1, 1, 1, 1, 0, -4404.103515625, 3464.067626953125, 12.77170848846435546, 4.660028934478759765, 120, 0, 0, 0, 0, 0, "", 50063, 1, NULL),
(25952, @CID1, 530, 1, 1, 0, -2217.41943359375, -11907.3349609375, 27.29673194885253906, 2.39110112190246582, 120, 0, 0, 0, 0, 0, "", 50063, 1, NULL),
(25953, @CID1, 530, 1, 1, 0, -2501.563232421875, 7537.86181640625, 0.207582324743270874, 2.373647689819335937, 120, 0, 0, 0, 0, 0, "", 50172, 1, NULL),
(25954, @CID1, 530, 1, 1, 0, -2993.3828125, 4138.361328125, 3.642248153686523437, 0.82521820068359375, 120, 0, 0, 0, 0, 0, "", 50063, 1, NULL),
(25955, @CID1, 530, 1, 1, 0, -2993.3828125, 4138.361328125, 3.642248153686523437, 5.916666030883789062, 120, 0, 0, 0, 0, 0, "", 50172, 1, NULL),
(25956, @CID1, 530, 1, 1, 0, -3964.368896484375, 2047.70166015625, 95.14804840087890625, 4.764749050140380859, 120, 0, 0, 0, 0, 0, "", 50063, 1, NULL),
(25957, @CID1, 530, 1, 1, 0, -4199.05322265625, -12309.142578125, 1.361616373062133789, 2.547147035598754882, 120, 0, 0, 0, 0, 0, "", 50172, 1, NULL),
(25958, @CID1, 530, 1, 1, 0, -4199.05322265625, -12309.142578125, 1.361616373062133789, 3.089232683181762695, 120, 0, 0, 0, 0, 0, "", 50063, 1, NULL),
(25959, @CID1, 530, 1, 1, 0, 194.7506256103515625, 6004.4755859375, 23.78290557861328125, 4.991641521453857421, 120, 0, 0, 0, 0, 0, "", 50063, 1, NULL),
(25960, @CID1, 530, 1, 1, 0, 2046.73046875, 6594.3212890625, 136.5183258056640625, 3.298672199249267578, 120, 0, 0, 0, 0, 0, "", 50063, 1, NULL),
(25961, @CID1, 530, 1, 1, 0, 3114.270751953125, 3725.49609375, 145.3680877685546875, 4.991641521453857421, 120, 0, 0, 0, 0, 0, "", 50063, 1, NULL),
(25962, @CID1, 571, 1, 1, 0, 2465.20068359375, -4902.65234375, 263.954345703125, 3.909537553787231445, 120, 0, 0, 0, 0, 0, "", 50172, 1, NULL),
(25963, @CID1, 571, 1, 1, 0, 3409.947021484375, -2891.848388671875, 201.504058837890625, 0.628318548202514648, 120, 0, 0, 0, 0, 0, "", 50172, 1, NULL),
(25964, @CID1, 571, 1, 1, 0, 3952.63623046875, -612.20245361328125, 241.0647430419921875, 3.40339207649230957, 120, 0, 0, 0, 0, 0, "", 50172, 1, NULL),
(25965, @CID1, 571, 1, 1, 0, 4139.98193359375, 5394.13720703125, 27.48514366149902343, 0.47833871841430664, 120, 0, 0, 0, 0, 0, "", 50172, 1, NULL),
(25966, @CID1, 571, 1, 1, 0, 5133.10009765625, -688.87725830078125, 171.35009765625, 4.328416347503662109, 120, 0, 0, 0, 0, 0, "", 50172, 1, NULL),
(25967, @CID1, 571, 1, 1, 0, 5360.294921875, 4860.79248046875, -193.595870971679687, 3.263765573501586914, 120, 0, 0, 0, 0, 0, "", 50172, 1, NULL),
(25968, @CID1, 571, 1, 1, 0, 5619.58935546875, -2623.2900390625, 292.501861572265625, 3.124139308929443359, 120, 0, 0, 0, 0, 0, "", 50172, 1, NULL),
(25969, @CID1, 571, 1, 1, 0, 6080.9951171875, -1118.5142822265625, 420.48370361328125, 4.328416347503662109, 120, 0, 0, 0, 0, 0, "", 50172, 1, NULL);
DELETE FROM `creature` WHERE (`id1` = @CID2) AND (`guid` BETWEEN 25972 AND 25983);
INSERT INTO `creature` (`guid`, `id1`, `map`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`, `CreateObject`, `Comment`) VALUES
(25972, @CID2, 1, 1, 1, 0, -2332.0849609375, -612.70587158203125, -8.21119880676269531, 2.635447263717651367, 120, 0, 0, 0, 0, 0, "", 50172, 1, NULL),
(25973, @CID2, 530, 1, 1, 0, -3057.362548828125, 2394.053466796875, 61.71112060546875, 0.366519153118133544, 120, 0, 0, 0, 0, 0, "", 50063, 1, NULL),
(25974, @CID2, 530, 1, 1, 0, 2272.961181640625, 6157.6171875, 138.1489105224609375, 4.86946868896484375, 120, 0, 0, 0, 0, 0, "", 50063, 1, NULL),
(25975, @CID2, 530, 1, 1, 0, 2912.708740234375, 3669.584716796875, 144.7509613037109375, 3.560471534729003906, 120, 0, 0, 0, 0, 0, "", 50063, 1, NULL),
(25976, @CID2, 571, 1, 1, 0, 2596.839111328125, -4337.15283203125, 276.518402099609375, 5.567600250244140625, 120, 0, 0, 0, 0, 0, "", 50172, 1, NULL),
(25977, @CID2, 571, 1, 1, 0, 3371.900634765625, -2132.343505859375, 124.9399566650390625, 4.921828269958496093, 120, 0, 0, 0, 0, 0, "", 50172, 1, NULL),
(25978, @CID2, 571, 1, 1, 0, 3768.180908203125, 1489.0999755859375, 91.460357666015625, 1.780235767364501953, 120, 0, 0, 0, 0, 0, "", 50172, 1, NULL),
(25979, @CID2, 571, 1, 1, 0, 4464.9248046875, 5622.599609375, 57.93022918701171875, 5.567600250244140625, 120, 0, 0, 0, 0, 0, "", 50172, 1, NULL),
(25980, @CID2, 571, 1, 1, 0, 5280.24658203125, -2775.583740234375, 292.501861572265625, 3.979350566864013671, 120, 0, 0, 0, 0, 0, "", 50172, 1, NULL),
(25981, @CID2, 571, 1, 1, 0, 5508.34228515625, 4874.22998046875, -198.178421020507812, 4.817108631134033203, 120, 0, 0, 0, 0, 0, "", 50172, 1, NULL),
(25982, @CID2, 571, 1, 1, 0, 5532.052734375, -725.14739990234375, 149.1902008056640625, 2.164208173751831054, 120, 0, 0, 0, 0, 0, "", 50172, 1, NULL),
(25983, @CID2, 571, 1, 1, 0, 6156.80322265625, -1029.747802734375, 409.1746826171875, 0.03490658476948738, 120, 0, 0, 0, 0, 0, "", 50172, 1, NULL);
-- remaining spawn (no sniffed values available)
-- only update equipment_id
UPDATE `creature` SET `equipment_id` = 0 WHERE `guid` = 94523;
-- clear equipment_template entries
-- equipment is beeing handled by SAI
DELETE FROM `creature_equip_template` WHERE (`CreatureID` IN (@CID1, @CID2, @CID3, @CID4));
-- enable all spawns for eventEntry 1
DELETE FROM `game_event_creature` WHERE (`eventEntry` = 1) AND (`guid` IN (SELECT `guid` FROM `creature` WHERE `id1` IN (@CID1, @CID2, @CID3, @CID4)));
INSERT INTO `game_event_creature` (SELECT 1, `guid` FROM `creature` WHERE `id1` IN (@CID1, @CID2, @CID3, @CID4));
-- add missing condition
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 13) AND (`SourceGroup` = 1) AND (`SourceEntry` = 45407) AND (`SourceId` = 0) AND (`ElseGroup` = 0) AND (`ConditionTypeOrReference` = 31) AND (`ConditionTarget` = 0) AND (`ConditionValue1` = 3) AND (`ConditionValue2` = 16781) AND (`ConditionValue3` = 0);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(13, 1, 45407, 0, 0, 31, 0, 3, 16781, 0, 0, 0, 0, '', '\'Reveler - Applause/Cheer\' targets \'Midsummer Celebrant\'');
-- SAI
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` in (@CID1, @CID2, @CID3, @CID4);
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` IN (@CID1, @CID2, @CID3, @CID4));
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param6`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(@CID1, 0, 0, 0, 60, 0, 100, 0, 0, 0, 100000, 120000, 0, 0, 88, @CID1 * 100, @CID1 * 100 + 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Fire Eater - On Update - Run Random Script'),
(@CID2, 0, 0, 0, 60, 0, 100, 0, 0, 0, 100000, 120000, 0, 0, 88, @CID2 * 100, @CID2 * 100 + 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Flame Eater - On Update - Run Random Script'),
(@CID3, 0, 0, 0, 60, 0, 100, 0, 0, 0, 100000, 120000, 0, 0, 88, @CID3 * 100, @CID3 * 100 + 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Master Fire Eater - On Update - Run Random Script'),
(@CID4, 0, 0, 0, 60, 0, 100, 0, 0, 0, 100000, 120000, 0, 0, 88, @CID4 * 100, @CID4 * 100 + 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Master Flame Eater - On Update - Run Random Script');
DELETE FROM `smart_scripts` WHERE (`source_type` = 9 AND `entryorguid` IN (@CID1 * 100, @CID1 * 100 + 1, @CID2 * 100, @CID2 * 100 + 1, @CID3 * 100, @CID3 * 100 + 1, @CID4 * 100, @CID4 * 100 + 1));
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param6`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(@CID1 * 100, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 71, 0, 0, 2200, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Fire Eater - Actionlist - Change Equipment'),
(@CID1 * 100, 9, 1, 0, 0, 0, 100, 0, 3000, 3000, 0, 0, 0, 0, 5, 92, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Fire Eater - Actionlist - Play Emote 92'),
(@CID1 * 100, 9, 2, 0, 0, 0, 100, 0, 3000, 3000, 0, 0, 0, 0, 11, 46332, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Fire Eater - Actionlist - Cast \'Midsummer Flame Breath\''),
(@CID1 * 100, 9, 3, 0, 0, 0, 100, 0, 6500, 6500, 0, 0, 0, 0, 11, 46332, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Fire Eater - Actionlist - Cast \'Midsummer Flame Breath\''),
(@CID1 * 100, 9, 4, 0, 0, 0, 100, 0, 6500, 6500, 0, 0, 0, 0, 11, 46332, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Fire Eater - Actionlist - Cast \'Midsummer Flame Breath\''),
(@CID1 * 100, 9, 5, 0, 0, 0, 100, 0, 6500, 6500, 0, 0, 0, 0, 11, 45407, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Fire Eater - Actionlist - Cast \'Reveler - Applause/Cheer\''),
(@CID1 * 100, 9, 6, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 66, 1, 0, 0, 0, 0, 0, 19, 16781, 0, 0, 0, 0, 0, 0, 0, 'Fire Eater - Actionlist - Set Orientation Closest Creature \'Midsummer Celebrant\''),
(@CID1 * 100, 9, 7, 0, 0, 0, 100, 0, 100, 100, 0, 0, 0, 0, 5, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Fire Eater - Actionlist - Play Emote 2'),
(@CID1 * 100, 9, 8, 0, 0, 0, 100, 0, 2000, 2000, 0, 0, 0, 0, 66, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Fire Eater - Actionlist - Set Orientation Home Position'),
(@CID1 * 100, 9, 10, 0, 0, 0, 100, 0, 3000, 3000, 0, 0, 0, 0, 71, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Fire Eater - Actionlist - Change Equipment'),
--
(@CID2 * 100, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 71, 0, 0, 2200, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Flame Eater - Actionlist - Change Equipment'),
(@CID2 * 100, 9, 1, 0, 0, 0, 100, 0, 3000, 3000, 0, 0, 0, 0, 5, 92, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Flame Eater - Actionlist - Play Emote 92'),
(@CID2 * 100, 9, 2, 0, 0, 0, 100, 0, 3000, 3000, 0, 0, 0, 0, 11, 46332, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Flame Eater - Actionlist - Cast \'Midsummer Flame Breath\''),
(@CID2 * 100, 9, 3, 0, 0, 0, 100, 0, 6500, 6500, 0, 0, 0, 0, 11, 46332, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Flame Eater - Actionlist - Cast \'Midsummer Flame Breath\''),
(@CID2 * 100, 9, 4, 0, 0, 0, 100, 0, 6500, 6500, 0, 0, 0, 0, 11, 46332, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Flame Eater - Actionlist - Cast \'Midsummer Flame Breath\''),
(@CID2 * 100, 9, 5, 0, 0, 0, 100, 0, 6500, 6500, 0, 0, 0, 0, 11, 45407, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Flame Eater - Actionlist - Cast \'Reveler - Applause/Cheer\''),
(@CID2 * 100, 9, 6, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 66, 1, 0, 0, 0, 0, 0, 19, 16781, 0, 0, 0, 0, 0, 0, 0, 'Flame Eater - Actionlist - Set Orientation Closest Creature \'Midsummer Celebrant\''),
(@CID2 * 100, 9, 7, 0, 0, 0, 100, 0, 100, 100, 0, 0, 0, 0, 5, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Flame Eater - Actionlist - Play Emote 2'),
(@CID2 * 100, 9, 8, 0, 0, 0, 100, 0, 2000, 2000, 0, 0, 0, 0, 66, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Flame Eater - Actionlist - Set Orientation Home Position'),
(@CID2 * 100, 9, 10, 0, 0, 0, 100, 0, 3000, 3000, 0, 0, 0, 0, 71, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Flame Eater - Actionlist - Change Equipment'),
--
(@CID3 * 100, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 71, 0, 0, 2200, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Master Fire Eater - Actionlist - Change Equipment'),
(@CID3 * 100, 9, 1, 0, 0, 0, 100, 0, 3000, 3000, 0, 0, 0, 0, 5, 92, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Master Fire Eater - Actionlist - Play Emote 92'),
(@CID3 * 100, 9, 2, 0, 0, 0, 100, 0, 3000, 3000, 0, 0, 0, 0, 11, 46332, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Master Fire Eater - Actionlist - Cast \'Midsummer Flame Breath\''),
(@CID3 * 100, 9, 3, 0, 0, 0, 100, 0, 6500, 6500, 0, 0, 0, 0, 11, 46332, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Master Fire Eater - Actionlist - Cast \'Midsummer Flame Breath\''),
(@CID3 * 100, 9, 4, 0, 0, 0, 100, 0, 6500, 6500, 0, 0, 0, 0, 11, 46332, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Master Fire Eater - Actionlist - Cast \'Midsummer Flame Breath\''),
(@CID3 * 100, 9, 5, 0, 0, 0, 100, 0, 6500, 6500, 0, 0, 0, 0, 11, 45407, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Master Fire Eater - Actionlist - Cast \'Reveler - Applause/Cheer\''),
(@CID3 * 100, 9, 6, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 66, 1, 0, 0, 0, 0, 0, 19, 16781, 0, 0, 0, 0, 0, 0, 0, 'Master Fire Eater - Actionlist - Set Orientation Closest Creature \'Midsummer Celebrant\''),
(@CID3 * 100, 9, 7, 0, 0, 0, 100, 0, 100, 100, 0, 0, 0, 0, 5, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Master Fire Eater - Actionlist - Play Emote 2'),
(@CID3 * 100, 9, 8, 0, 0, 0, 100, 0, 2000, 2000, 0, 0, 0, 0, 66, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Master Fire Eater - Actionlist - Set Orientation Home Position'),
(@CID3 * 100, 9, 10, 0, 0, 0, 100, 0, 3000, 3000, 0, 0, 0, 0, 71, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Master Fire Eater - Actionlist - Change Equipment'),
--
(@CID4 * 100, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 71, 0, 0, 2200, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Master Flame Eater - Actionlist - Change Equipment'),
(@CID4 * 100, 9, 1, 0, 0, 0, 100, 0, 3000, 3000, 0, 0, 0, 0, 5, 92, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Master Flame Eater - Actionlist - Play Emote 92'),
(@CID4 * 100, 9, 2, 0, 0, 0, 100, 0, 3000, 3000, 0, 0, 0, 0, 11, 46332, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Master Flame Eater - Actionlist - Cast \'Midsummer Flame Breath\''),
(@CID4 * 100, 9, 3, 0, 0, 0, 100, 0, 6500, 6500, 0, 0, 0, 0, 11, 46332, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Master Flame Eater - Actionlist - Cast \'Midsummer Flame Breath\''),
(@CID4 * 100, 9, 4, 0, 0, 0, 100, 0, 6500, 6500, 0, 0, 0, 0, 11, 46332, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Master Flame Eater - Actionlist - Cast \'Midsummer Flame Breath\''),
(@CID4 * 100, 9, 5, 0, 0, 0, 100, 0, 6500, 6500, 0, 0, 0, 0, 11, 45407, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Master Flame Eater - Actionlist - Cast \'Reveler - Applause/Cheer\''),
(@CID4 * 100, 9, 6, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 66, 1, 0, 0, 0, 0, 0, 19, 16781, 0, 0, 0, 0, 0, 0, 0, 'Master Flame Eater - Actionlist - Set Orientation Closest Creature \'Midsummer Celebrant\''),
(@CID4 * 100, 9, 7, 0, 0, 0, 100, 0, 100, 100, 0, 0, 0, 0, 5, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Master Flame Eater - Actionlist - Play Emote 2'),
(@CID4 * 100, 9, 8, 0, 0, 0, 100, 0, 2000, 2000, 0, 0, 0, 0, 66, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Master Flame Eater - Actionlist - Set Orientation Home Position'),
(@CID4 * 100, 9, 10, 0, 0, 0, 100, 0, 3000, 3000, 0, 0, 0, 0, 71, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Master Flame Eater - Actionlist - Change Equipment'),
--
(@CID1 * 100 + 1, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 71, 0, 0, 1906, 2081, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Fire Eater - Actionlist - Change Equipment'),
(@CID1 * 100 + 1, 9, 1, 0, 0, 0, 100, 0, 1500, 1500, 0, 0, 0, 0, 11, 46322, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Fire Eater - Actionlist - Cast \'NPC Juggle Torch (Juggling)\''),
(@CID1 * 100 + 1, 9, 2, 0, 0, 0, 100, 0, 14000, 14000, 0, 0, 0, 0, 11, 45407, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Fire Eater - Actionlist - Cast \'Reveler - Applause/Cheer\''),
(@CID1 * 100 + 1, 9, 3, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 66, 1, 0, 0, 0, 0, 0, 19, 16781, 0, 0, 0, 0, 0, 0, 0, 'Fire Eater - Actionlist - Set Orientation Closest Creature \'Midsummer Celebrant\''),
(@CID1 * 100 + 1, 9, 4, 0, 0, 0, 100, 0, 100, 100, 0, 0, 0, 0, 5, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Fire Eater - Actionlist - Play Emote 2'),
(@CID1 * 100 + 1, 9, 5, 0, 0, 0, 100, 0, 4200, 4200, 0, 0, 0, 0, 66, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Fire Eater - Actionlist - Set Orientation Home Position'),
(@CID1 * 100 + 1, 9, 6, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 71, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Fire Eater - Actionlist - Change Equipment'),
--
(@CID2 * 100 + 1, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 71, 0, 0, 1906, 2081, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Flame Eater - Actionlist - Change Equipment'),
(@CID2 * 100 + 1, 9, 1, 0, 0, 0, 100, 0, 1500, 1500, 0, 0, 0, 0, 11, 46322, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Flame Eater - Actionlist - Cast \'NPC Juggle Torch (Juggling)\''),
(@CID2 * 100 + 1, 9, 2, 0, 0, 0, 100, 0, 14000, 14000, 0, 0, 0, 0, 11, 45407, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Flame Eater - Actionlist - Cast \'Reveler - Applause/Cheer\''),
(@CID2 * 100 + 1, 9, 3, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 66, 1, 0, 0, 0, 0, 0, 19, 16781, 0, 0, 0, 0, 0, 0, 0, 'Flame Eater - Actionlist - Set Orientation Closest Creature \'Midsummer Celebrant\''),
(@CID2 * 100 + 1, 9, 4, 0, 0, 0, 100, 0, 100, 100, 0, 0, 0, 0, 5, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Flame Eater - Actionlist - Play Emote 2'),
(@CID2 * 100 + 1, 9, 5, 0, 0, 0, 100, 0, 4200, 4200, 0, 0, 0, 0, 66, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Flame Eater - Actionlist - Set Orientation Home Position'),
(@CID2 * 100 + 1, 9, 6, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 71, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Flame Eater - Actionlist - Change Equipment'),
--
(@CID3 * 100 + 1, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 71, 0, 0, 1906, 2081, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Master Fire Eater - Actionlist - Change Equipment'),
(@CID3 * 100 + 1, 9, 1, 0, 0, 0, 100, 0, 1500, 1500, 0, 0, 0, 0, 11, 46322, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Master Fire Eater - Actionlist - Cast \'NPC Juggle Torch (Juggling)\''),
(@CID3 * 100 + 1, 9, 2, 0, 0, 0, 100, 0, 14000, 14000, 0, 0, 0, 0, 11, 45407, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Master Fire Eater - Actionlist - Cast \'Reveler - Applause/Cheer\''),
(@CID3 * 100 + 1, 9, 3, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 66, 1, 0, 0, 0, 0, 0, 19, 16781, 0, 0, 0, 0, 0, 0, 0, 'Master Fire Eater - Actionlist - Set Orientation Closest Creature \'Midsummer Celebrant\''),
(@CID3 * 100 + 1, 9, 4, 0, 0, 0, 100, 0, 100, 100, 0, 0, 0, 0, 5, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Master Fire Eater - Actionlist - Play Emote 2'),
(@CID3 * 100 + 1, 9, 5, 0, 0, 0, 100, 0, 4200, 4200, 0, 0, 0, 0, 66, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Master Fire Eater - Actionlist - Set Orientation Home Position'),
(@CID3 * 100 + 1, 9, 6, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 71, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Master Fire Eater - Actionlist - Change Equipment'),
--
(@CID4 * 100 + 1, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 71, 0, 0, 1906, 2081, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Master Flame Eater - Actionlist - Change Equipment'),
(@CID4 * 100 + 1, 9, 1, 0, 0, 0, 100, 0, 1500, 1500, 0, 0, 0, 0, 11, 46322, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Master Flame Eater - Actionlist - Cast \'NPC Juggle Torch (Juggling)\''),
(@CID4 * 100 + 1, 9, 2, 0, 0, 0, 100, 0, 14000, 14000, 0, 0, 0, 0, 11, 45407, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Master Flame Eater - Actionlist - Cast \'Reveler - Applause/Cheer\''),
(@CID4 * 100 + 1, 9, 3, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 66, 1, 0, 0, 0, 0, 0, 19, 16781, 0, 0, 0, 0, 0, 0, 0, 'Master Flame Eater - Actionlist - Set Orientation Closest Creature \'Midsummer Celebrant\''),
(@CID4 * 100 + 1, 9, 4, 0, 0, 0, 100, 0, 100, 100, 0, 0, 0, 0, 5, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Master Flame Eater - Actionlist - Play Emote 2'),
(@CID4 * 100 + 1, 9, 5, 0, 0, 0, 100, 0, 4200, 4200, 0, 0, 0, 0, 66, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Master Flame Eater - Actionlist - Set Orientation Home Position'),
(@CID4 * 100 + 1, 9, 6, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 71, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Master Flame Eater - Actionlist - Change Equipment');

View File

@@ -0,0 +1,3 @@
-- DB update 2024_01_05_02 -> 2024_01_05_03
--
UPDATE `creature_template` SET `mechanic_immune_mask` = `mechanic_immune_mask` |131072 WHERE `entry` = 21875;

View File

@@ -0,0 +1,213 @@
-- DB update 2024_01_05_03 -> 2024_01_06_00
-- Update gameobject Caribou Trap' spawns with sniffed values
SET @GO1 := 187982;
SET @GO2 := 187995;
SET @GO3 := 187996;
SET @GO4 := 187997;
SET @GO5 := 187998;
SET @GO6 := 187999;
SET @GO7 := 188000;
SET @GO8 := 188001;
SET @GO9 := 188002;
SET @GO10 := 188003;
SET @GO11 := 188004;
SET @GO12 := 188005;
SET @GO13 := 188006;
SET @GO14 := 188007;
SET @GO15 := 188008;
DELETE FROM `gameobject` WHERE (`id` IN (@GO1 , @GO2 , @GO3 , @GO4 , @GO5 , @GO6 , @GO7 , @GO8 , @GO9 , @GO10, @GO11, @GO12, @GO13, @GO14, @GO15)) AND (`guid` IN (67649, 67650, 67651, 67652, 67654, 67656, 67658, 67660, 67662, 67664, 67666, 67668, 67670, 67672, 67674));
INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `ScriptName`, `VerifiedBuild`, `Comment`) VALUES
(67649, @GO1 , 571, 0, 0, 1, 1, 3117.048583984375, 5249.89306640625, 60.58690261840820312, 2.548179388046264648, 0, 0, 0.956304550170898437, 0.292372345924377441, 120, 255, 1, "", 50664, NULL),
(67650, @GO2 , 571, 0, 0, 1, 1, 3124.70751953125, 5314.42919921875, 54.23194122314453125, 1.535889506340026855, 0, 0, 0.694658279418945312, 0.719339847564697265, 120, 255, 1, "", 50664, NULL),
(67651, @GO3 , 571, 0, 0, 1, 1, 3084.696533203125, 5285.15380859375, 59.66245651245117187, 0.087265998125076293, 0, 0, 0.043619155883789062, 0.999048233032226562, 120, 255, 1, "", 52237, NULL),
(67652, @GO4 , 571, 0, 0, 1, 1, 3079.166748046875, 5340.39501953125, 58.0425567626953125, 1.361356139183044433, 0, 0, 0.629320144653320312, 0.77714616060256958, 120, 255, 1, "", 52237, NULL),
(67654, @GO5 , 571, 0, 0, 1, 1, 3062.737060546875, 5236.79052734375, 65.0161895751953125, 3.769911527633666992, 0, 0, -0.95105648040771484, 0.309017121791839599, 120, 255, 1, "", 52237, NULL),
(67656, @GO6 , 571, 0, 0, 1, 1, 3030.972900390625, 5270.9775390625, 61.4695587158203125, 4.502951622009277343, 0, 0, -0.7771453857421875, 0.629321098327636718, 120, 255, 1, "", 52237, NULL),
(67658, @GO7 , 571, 0, 0, 1, 1, 3043.903564453125, 5318.7685546875, 59.84929275512695312, 3.892086982727050781, 0, 0, -0.93041706085205078, 0.366502493619918823, 120, 255, 1, "", 52237, NULL),
(67660, @GO8 , 571, 0, 0, 1, 1, 3000.58203125, 5332.9013671875, 62.8029327392578125, 4.258606910705566406, 0, 0, -0.84804725646972656, 0.529920578002929687, 120, 255, 1, "", 52237, NULL),
(67662, @GO9 , 571, 0, 0, 1, 1, 2975.4111328125, 5288.84033203125, 61.54396438598632812, 0.715584874153137207, 0, 0, 0.350207328796386718, 0.936672210693359375, 120, 255, 1, "", 52237, NULL),
(67664, @GO10, 571, 0, 0, 1, 1, 2997.2783203125, 5228.3857421875, 62.96576690673828125, 1.535889506340026855, 0, 0, 0.694658279418945312, 0.719339847564697265, 120, 255, 1, "", 52237, NULL),
(67666, @GO11, 571, 0, 0, 1, 1, 2950.942626953125, 5246.1806640625, 60.91431427001953125, 4.468043327331542968, 0, 0, -0.7880105972290039, 0.615661680698394775, 120, 255, 1, "", 52237, NULL),
(67668, @GO12, 571, 0, 0, 1, 1, 2955.75439453125, 5329.66552734375, 63.11111831665039062, 5.462882041931152343, 0, 0, -0.39874839782714843, 0.917060375213623046, 120, 255, 1, "", 52237, NULL),
(67670, @GO13, 571, 0, 0, 1, 1, 2924.13720703125, 5295.95654296875, 60.57286834716796875, 0.331610709428787231, 0, 0, 0.16504669189453125, 0.986285746097564697, 120, 255, 1, "", 52237, NULL),
(67672, @GO14, 571, 0, 0, 1, 1, 2908.415283203125, 5216.09814453125, 63.61669158935546875, 2.844882726669311523, 0, 0, 0.989015579223632812, 0.147811368107795715, 120, 255, 1, "", 52237, NULL),
(67674, @GO15, 571, 0, 0, 1, 1, 2893.058837890625, 5260.7236328125, 60.23470687866210937, 2.076939344406127929, 0, 0, 0.861628532409667968, 0.50753939151763916, 120, 255, 1, "", 52237, NULL);
UPDATE `gameobject_template` SET `AIName` = 'SmartGameObjectAI' WHERE (`entry` IN (@GO1 , @GO2 , @GO3 , @GO4 , @GO5 , @GO6 , @GO7 , @GO8 , @GO9 , @GO10, @GO11, @GO12, @GO13, @GO14, @GO15));
-- SAI copied from 187982, only comments updated with Keira 3.5.4
DELETE FROM `smart_scripts` WHERE (`source_type` = 1 AND (`entryorguid` IN (@GO1 , @GO2 , @GO3 , @GO4 , @GO5 , @GO6 , @GO7 , @GO8 , @GO9 , @GO10, @GO11, @GO12, @GO13, @GO14, @GO15)));
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param6`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(@GO1 , 1, 0, 1, 64, 0, 100, 0, 1, 0, 0, 0, 0, 0, 50, 187983, 15, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Gossip Hello - Summon Gameobject \'High Quality Fur\''),
(@GO1 , 1, 1, 2, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 45, 1, 0, 0, 0, 0, 0, 19, 25835, 30, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Gossip Hello - Set Data 1 0'),
(@GO1 , 1, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 64, 1, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Gossip Hello - Store Targetlist'),
(@GO1 , 1, 3, 4, 38, 0, 100, 0, 2, 0, 0, 0, 0, 0, 118, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Data Set 2 0 - Set GO State To 0'),
(@GO1 , 1, 4, 5, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 67, 1, 5000, 5000, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Data Set 2 0 - Create Timed Event'),
(@GO1 , 1, 5, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 33, 25835, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Data Set 2 0 - Quest Credit \'null\''),
(@GO1 , 1, 6, 0, 59, 0, 100, 0, 1, 0, 0, 0, 0, 0, 99, 3, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Timed Event 1 Triggered - Set Lootstate Deactivated'),
--
(@GO2 , 1, 0, 1, 64, 0, 100, 0, 1, 0, 0, 0, 0, 0, 50, 187983, 15, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Gossip Hello - Summon Gameobject \'High Quality Fur\''),
(@GO2 , 1, 1, 2, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 45, 1, 0, 0, 0, 0, 0, 19, 25835, 30, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Gossip Hello - Set Data 1 0'),
(@GO2 , 1, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 64, 1, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Gossip Hello - Store Targetlist'),
(@GO2 , 1, 3, 4, 38, 0, 100, 0, 2, 0, 0, 0, 0, 0, 118, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Data Set 2 0 - Set GO State To 0'),
(@GO2 , 1, 4, 5, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 67, 1, 5000, 5000, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Data Set 2 0 - Create Timed Event'),
(@GO2 , 1, 5, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 33, 25835, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Data Set 2 0 - Quest Credit \'null\''),
(@GO2 , 1, 6, 0, 59, 0, 100, 0, 1, 0, 0, 0, 0, 0, 99, 3, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Timed Event 1 Triggered - Set Lootstate Deactivated'),
--
(@GO3 , 1, 0, 1, 64, 0, 100, 0, 1, 0, 0, 0, 0, 0, 50, 187983, 15, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Gossip Hello - Summon Gameobject \'High Quality Fur\''),
(@GO3 , 1, 1, 2, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 45, 1, 0, 0, 0, 0, 0, 19, 25835, 30, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Gossip Hello - Set Data 1 0'),
(@GO3 , 1, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 64, 1, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Gossip Hello - Store Targetlist'),
(@GO3 , 1, 3, 4, 38, 0, 100, 0, 2, 0, 0, 0, 0, 0, 118, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Data Set 2 0 - Set GO State To 0'),
(@GO3 , 1, 4, 5, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 67, 1, 5000, 5000, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Data Set 2 0 - Create Timed Event'),
(@GO3 , 1, 5, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 33, 25835, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Data Set 2 0 - Quest Credit \'null\''),
(@GO3 , 1, 6, 0, 59, 0, 100, 0, 1, 0, 0, 0, 0, 0, 99, 3, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Timed Event 1 Triggered - Set Lootstate Deactivated'),
--
(@GO4 , 1, 0, 1, 64, 0, 100, 0, 1, 0, 0, 0, 0, 0, 50, 187983, 15, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Gossip Hello - Summon Gameobject \'High Quality Fur\''),
(@GO4 , 1, 1, 2, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 45, 1, 0, 0, 0, 0, 0, 19, 25835, 30, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Gossip Hello - Set Data 1 0'),
(@GO4 , 1, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 64, 1, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Gossip Hello - Store Targetlist'),
(@GO4 , 1, 3, 4, 38, 0, 100, 0, 2, 0, 0, 0, 0, 0, 118, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Data Set 2 0 - Set GO State To 0'),
(@GO4 , 1, 4, 5, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 67, 1, 5000, 5000, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Data Set 2 0 - Create Timed Event'),
(@GO4 , 1, 5, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 33, 25835, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Data Set 2 0 - Quest Credit \'null\''),
(@GO4 , 1, 6, 0, 59, 0, 100, 0, 1, 0, 0, 0, 0, 0, 99, 3, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Timed Event 1 Triggered - Set Lootstate Deactivated'),
--
(@GO5 , 1, 0, 1, 64, 0, 100, 0, 1, 0, 0, 0, 0, 0, 50, 187983, 15, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Gossip Hello - Summon Gameobject \'High Quality Fur\''),
(@GO5 , 1, 1, 2, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 45, 1, 0, 0, 0, 0, 0, 19, 25835, 30, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Gossip Hello - Set Data 1 0'),
(@GO5 , 1, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 64, 1, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Gossip Hello - Store Targetlist'),
(@GO5 , 1, 3, 4, 38, 0, 100, 0, 2, 0, 0, 0, 0, 0, 118, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Data Set 2 0 - Set GO State To 0'),
(@GO5 , 1, 4, 5, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 67, 1, 5000, 5000, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Data Set 2 0 - Create Timed Event'),
(@GO5 , 1, 5, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 33, 25835, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Data Set 2 0 - Quest Credit \'null\''),
(@GO5 , 1, 6, 0, 59, 0, 100, 0, 1, 0, 0, 0, 0, 0, 99, 3, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Timed Event 1 Triggered - Set Lootstate Deactivated'),
--
(@GO6 , 1, 0, 1, 64, 0, 100, 0, 1, 0, 0, 0, 0, 0, 50, 187983, 15, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Gossip Hello - Summon Gameobject \'High Quality Fur\''),
(@GO6 , 1, 1, 2, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 45, 1, 0, 0, 0, 0, 0, 19, 25835, 30, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Gossip Hello - Set Data 1 0'),
(@GO6 , 1, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 64, 1, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Gossip Hello - Store Targetlist'),
(@GO6 , 1, 3, 4, 38, 0, 100, 0, 2, 0, 0, 0, 0, 0, 118, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Data Set 2 0 - Set GO State To 0'),
(@GO6 , 1, 4, 5, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 67, 1, 5000, 5000, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Data Set 2 0 - Create Timed Event'),
(@GO6 , 1, 5, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 33, 25835, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Data Set 2 0 - Quest Credit \'null\''),
(@GO6 , 1, 6, 0, 59, 0, 100, 0, 1, 0, 0, 0, 0, 0, 99, 3, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Timed Event 1 Triggered - Set Lootstate Deactivated'),
--
(@GO7 , 1, 0, 1, 64, 0, 100, 0, 1, 0, 0, 0, 0, 0, 50, 187983, 15, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Gossip Hello - Summon Gameobject \'High Quality Fur\''),
(@GO7 , 1, 1, 2, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 45, 1, 0, 0, 0, 0, 0, 19, 25835, 30, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Gossip Hello - Set Data 1 0'),
(@GO7 , 1, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 64, 1, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Gossip Hello - Store Targetlist'),
(@GO7 , 1, 3, 4, 38, 0, 100, 0, 2, 0, 0, 0, 0, 0, 118, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Data Set 2 0 - Set GO State To 0'),
(@GO7 , 1, 4, 5, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 67, 1, 5000, 5000, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Data Set 2 0 - Create Timed Event'),
(@GO7 , 1, 5, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 33, 25835, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Data Set 2 0 - Quest Credit \'null\''),
(@GO7 , 1, 6, 0, 59, 0, 100, 0, 1, 0, 0, 0, 0, 0, 99, 3, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Timed Event 1 Triggered - Set Lootstate Deactivated'),
--
(@GO8 , 1, 0, 1, 64, 0, 100, 0, 1, 0, 0, 0, 0, 0, 50, 187983, 15, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Gossip Hello - Summon Gameobject \'High Quality Fur\''),
(@GO8 , 1, 1, 2, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 45, 1, 0, 0, 0, 0, 0, 19, 25835, 30, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Gossip Hello - Set Data 1 0'),
(@GO8 , 1, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 64, 1, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Gossip Hello - Store Targetlist'),
(@GO8 , 1, 3, 4, 38, 0, 100, 0, 2, 0, 0, 0, 0, 0, 118, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Data Set 2 0 - Set GO State To 0'),
(@GO8 , 1, 4, 5, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 67, 1, 5000, 5000, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Data Set 2 0 - Create Timed Event'),
(@GO8 , 1, 5, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 33, 25835, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Data Set 2 0 - Quest Credit \'null\''),
(@GO8 , 1, 6, 0, 59, 0, 100, 0, 1, 0, 0, 0, 0, 0, 99, 3, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Timed Event 1 Triggered - Set Lootstate Deactivated'),
--
(@GO9 , 1, 0, 1, 64, 0, 100, 0, 1, 0, 0, 0, 0, 0, 50, 187983, 15, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Gossip Hello - Summon Gameobject \'High Quality Fur\''),
(@GO9 , 1, 1, 2, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 45, 1, 0, 0, 0, 0, 0, 19, 25835, 30, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Gossip Hello - Set Data 1 0'),
(@GO9 , 1, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 64, 1, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Gossip Hello - Store Targetlist'),
(@GO9 , 1, 3, 4, 38, 0, 100, 0, 2, 0, 0, 0, 0, 0, 118, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Data Set 2 0 - Set GO State To 0'),
(@GO9 , 1, 4, 5, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 67, 1, 5000, 5000, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Data Set 2 0 - Create Timed Event'),
(@GO9 , 1, 5, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 33, 25835, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Data Set 2 0 - Quest Credit \'null\''),
(@GO9 , 1, 6, 0, 59, 0, 100, 0, 1, 0, 0, 0, 0, 0, 99, 3, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Timed Event 1 Triggered - Set Lootstate Deactivated'),
--
(@GO10, 1, 0, 1, 64, 0, 100, 0, 1, 0, 0, 0, 0, 0, 50, 187983, 15, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Gossip Hello - Summon Gameobject \'High Quality Fur\''),
(@GO10, 1, 1, 2, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 45, 1, 0, 0, 0, 0, 0, 19, 25835, 30, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Gossip Hello - Set Data 1 0'),
(@GO10, 1, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 64, 1, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Gossip Hello - Store Targetlist'),
(@GO10, 1, 3, 4, 38, 0, 100, 0, 2, 0, 0, 0, 0, 0, 118, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Data Set 2 0 - Set GO State To 0'),
(@GO10, 1, 4, 5, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 67, 1, 5000, 5000, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Data Set 2 0 - Create Timed Event'),
(@GO10, 1, 5, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 33, 25835, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Data Set 2 0 - Quest Credit \'null\''),
(@GO10, 1, 6, 0, 59, 0, 100, 0, 1, 0, 0, 0, 0, 0, 99, 3, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Timed Event 1 Triggered - Set Lootstate Deactivated'),
--
(@GO11, 1, 0, 1, 64, 0, 100, 0, 1, 0, 0, 0, 0, 0, 50, 187983, 15, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Gossip Hello - Summon Gameobject \'High Quality Fur\''),
(@GO11, 1, 1, 2, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 45, 1, 0, 0, 0, 0, 0, 19, 25835, 30, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Gossip Hello - Set Data 1 0'),
(@GO11, 1, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 64, 1, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Gossip Hello - Store Targetlist'),
(@GO11, 1, 3, 4, 38, 0, 100, 0, 2, 0, 0, 0, 0, 0, 118, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Data Set 2 0 - Set GO State To 0'),
(@GO11, 1, 4, 5, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 67, 1, 5000, 5000, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Data Set 2 0 - Create Timed Event'),
(@GO11, 1, 5, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 33, 25835, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Data Set 2 0 - Quest Credit \'null\''),
(@GO11, 1, 6, 0, 59, 0, 100, 0, 1, 0, 0, 0, 0, 0, 99, 3, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Timed Event 1 Triggered - Set Lootstate Deactivated'),
--
(@GO12, 1, 0, 1, 64, 0, 100, 0, 1, 0, 0, 0, 0, 0, 50, 187983, 15, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Gossip Hello - Summon Gameobject \'High Quality Fur\''),
(@GO12, 1, 1, 2, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 45, 1, 0, 0, 0, 0, 0, 19, 25835, 30, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Gossip Hello - Set Data 1 0'),
(@GO12, 1, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 64, 1, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Gossip Hello - Store Targetlist'),
(@GO12, 1, 3, 4, 38, 0, 100, 0, 2, 0, 0, 0, 0, 0, 118, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Data Set 2 0 - Set GO State To 0'),
(@GO12, 1, 4, 5, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 67, 1, 5000, 5000, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Data Set 2 0 - Create Timed Event'),
(@GO12, 1, 5, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 33, 25835, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Data Set 2 0 - Quest Credit \'null\''),
(@GO12, 1, 6, 0, 59, 0, 100, 0, 1, 0, 0, 0, 0, 0, 99, 3, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Timed Event 1 Triggered - Set Lootstate Deactivated'),
--
(@GO13, 1, 0, 1, 64, 0, 100, 0, 1, 0, 0, 0, 0, 0, 50, 187983, 15, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Gossip Hello - Summon Gameobject \'High Quality Fur\''),
(@GO13, 1, 1, 2, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 45, 1, 0, 0, 0, 0, 0, 19, 25835, 30, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Gossip Hello - Set Data 1 0'),
(@GO13, 1, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 64, 1, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Gossip Hello - Store Targetlist'),
(@GO13, 1, 3, 4, 38, 0, 100, 0, 2, 0, 0, 0, 0, 0, 118, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Data Set 2 0 - Set GO State To 0'),
(@GO13, 1, 4, 5, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 67, 1, 5000, 5000, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Data Set 2 0 - Create Timed Event'),
(@GO13, 1, 5, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 33, 25835, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Data Set 2 0 - Quest Credit \'null\''),
(@GO13, 1, 6, 0, 59, 0, 100, 0, 1, 0, 0, 0, 0, 0, 99, 3, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Timed Event 1 Triggered - Set Lootstate Deactivated'),
--
(@GO14, 1, 0, 1, 64, 0, 100, 0, 1, 0, 0, 0, 0, 0, 50, 187983, 15, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Gossip Hello - Summon Gameobject \'High Quality Fur\''),
(@GO14, 1, 1, 2, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 45, 1, 0, 0, 0, 0, 0, 19, 25835, 30, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Gossip Hello - Set Data 1 0'),
(@GO14, 1, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 64, 1, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Gossip Hello - Store Targetlist'),
(@GO14, 1, 3, 4, 38, 0, 100, 0, 2, 0, 0, 0, 0, 0, 118, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Data Set 2 0 - Set GO State To 0'),
(@GO14, 1, 4, 5, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 67, 1, 5000, 5000, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Data Set 2 0 - Create Timed Event'),
(@GO14, 1, 5, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 33, 25835, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Data Set 2 0 - Quest Credit \'null\''),
(@GO14, 1, 6, 0, 59, 0, 100, 0, 1, 0, 0, 0, 0, 0, 99, 3, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Timed Event 1 Triggered - Set Lootstate Deactivated'),
--
(@GO15, 1, 0, 1, 64, 0, 100, 0, 1, 0, 0, 0, 0, 0, 50, 187983, 15, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Gossip Hello - Summon Gameobject \'High Quality Fur\''),
(@GO15, 1, 1, 2, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 45, 1, 0, 0, 0, 0, 0, 19, 25835, 30, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Gossip Hello - Set Data 1 0'),
(@GO15, 1, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 64, 1, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Gossip Hello - Store Targetlist'),
(@GO15, 1, 3, 4, 38, 0, 100, 0, 2, 0, 0, 0, 0, 0, 118, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Data Set 2 0 - Set GO State To 0'),
(@GO15, 1, 4, 5, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 67, 1, 5000, 5000, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Data Set 2 0 - Create Timed Event'),
(@GO15, 1, 5, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 33, 25835, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Data Set 2 0 - Quest Credit \'null\''),
(@GO15, 1, 6, 0, 59, 0, 100, 0, 1, 0, 0, 0, 0, 0, 99, 3, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Caribou Trap - On Timed Event 1 Triggered - Set Lootstate Deactivated');
-- conditions copied from gameobject 187982
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 17) AND (`SourceEntry` = 46085) AND (`ConditionTypeOrReference` = 30) AND (`ConditionValue1` IN (@GO1 , @GO2 , @GO3 , @GO4 , @GO5 , @GO6 , @GO7 , @GO8 , @GO9 , @GO10, @GO11, @GO12, @GO13, @GO14, @GO15));
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(17, 0, 46085, 0, 0 , 30, 0, @GO1 , 2, 0, 0, 22, 0, '', 'Requires \'Caribou Trap\' Nearby'),
(17, 0, 46085, 0, 1 , 30, 0, @GO2 , 2, 0, 0, 22, 0, '', 'Requires \'Caribou Trap\' Nearby'),
(17, 0, 46085, 0, 2 , 30, 0, @GO3 , 2, 0, 0, 22, 0, '', 'Requires \'Caribou Trap\' Nearby'),
(17, 0, 46085, 0, 3 , 30, 0, @GO4 , 2, 0, 0, 22, 0, '', 'Requires \'Caribou Trap\' Nearby'),
(17, 0, 46085, 0, 4 , 30, 0, @GO5 , 2, 0, 0, 22, 0, '', 'Requires \'Caribou Trap\' Nearby'),
(17, 0, 46085, 0, 5 , 30, 0, @GO6 , 2, 0, 0, 22, 0, '', 'Requires \'Caribou Trap\' Nearby'),
(17, 0, 46085, 0, 6 , 30, 0, @GO7 , 2, 0, 0, 22, 0, '', 'Requires \'Caribou Trap\' Nearby'),
(17, 0, 46085, 0, 7 , 30, 0, @GO8 , 2, 0, 0, 22, 0, '', 'Requires \'Caribou Trap\' Nearby'),
(17, 0, 46085, 0, 8 , 30, 0, @GO9 , 2, 0, 0, 22, 0, '', 'Requires \'Caribou Trap\' Nearby'),
(17, 0, 46085, 0, 9 , 30, 0, @GO10, 2, 0, 0, 22, 0, '', 'Requires \'Caribou Trap\' Nearby'),
(17, 0, 46085, 0, 10, 30, 0, @GO11, 2, 0, 0, 22, 0, '', 'Requires \'Caribou Trap\' Nearby'),
(17, 0, 46085, 0, 11, 30, 0, @GO12, 2, 0, 0, 22, 0, '', 'Requires \'Caribou Trap\' Nearby'),
(17, 0, 46085, 0, 12, 30, 0, @GO13, 2, 0, 0, 22, 0, '', 'Requires \'Caribou Trap\' Nearby'),
(17, 0, 46085, 0, 13, 30, 0, @GO14, 2, 0, 0, 22, 0, '', 'Requires \'Caribou Trap\' Nearby'),
(17, 0, 46085, 0, 14, 30, 0, @GO15, 2, 0, 0, 22, 0, '', 'Requires \'Caribou Trap\' Nearby');
-- update SAI of creature 25835 , also comments updated with Keira 3.5.4
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 25835;
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 25835);
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param6`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(25835, 0, 0, 1, 38, 0, 100, 1, 1, 0, 0, 0, 0, 0, 69, 1, 0, 0, 0, 0, 0, 20, 187983, 30, 0, 0, 1, 0, 0, 0, 'Nesingwary Trapper - On Data Set 1 0 - Move To Closest Creature \'High Quality Fur\' (No Repeat)'),
(25835, 0, 1, 0, 61, 0, 100, 512, 0, 0, 0, 0, 0, 0, 47, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Nesingwary Trapper - On Data Set 1 0 - Set Visibility On (No Repeat)'),
(25835, 0, 2, 3, 11, 0, 100, 512, 0, 0, 0, 0, 0, 0, 47, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Nesingwary Trapper - On Respawn - Set Visibility Off'),
(25835, 0, 3, 0, 61, 0, 100, 512, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Nesingwary Trapper - On Respawn - Set Reactstate Passive'),
(25835, 0, 4, 0, 34, 0, 100, 512, 8, 1, 0, 0, 0, 0, 80, 2583500, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Nesingwary Trapper - On Reached Point 1 - Run Script');
DELETE FROM `smart_scripts` WHERE (`source_type` = 9 AND `entryorguid` = 2583500);
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param6`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(2583500, 9, 0 , 0, 0, 0, 100, 0, 100, 100, 0, 0, 0, 0, 66, 0, 0, 0, 0, 0, 0, 20, 187983, 5, 0, 0, 0, 0, 0, 0, 'Nesingwary Trapper - Actionlist - Set Orientation Closest Creature \'High Quality Fur\''),
(2583500, 9, 1 , 0, 0, 0, 100, 0, 2000, 2000, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Nesingwary Trapper - Actionlist - Say Line 0'),
(2583500, 9, 2 , 0, 0, 0, 100, 0, 2000, 2000, 0, 0, 0, 0, 90, 8, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Nesingwary Trapper - Actionlist - Set Flag Standstate Kneel'),
(2583500, 9, 3 , 0, 0, 0, 100, 0, 1000, 1000, 0, 0, 0, 0, 45, 2, 0, 0, 0, 0, 0, 20, @GO1 , 5, 0, 0, 0, 0, 0, 0, 'Nesingwary Trapper - Actionlist - Set Data 2 0'),
(2583500, 9, 4 , 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 45, 2, 0, 0, 0, 0, 0, 20, @GO2 , 5, 0, 0, 0, 0, 0, 0, 'Nesingwary Trapper - Actionlist - Set Data 2 0'),
(2583500, 9, 5 , 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 45, 2, 0, 0, 0, 0, 0, 20, @GO3 , 5, 0, 0, 0, 0, 0, 0, 'Nesingwary Trapper - Actionlist - Set Data 2 0'),
(2583500, 9, 6 , 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 45, 2, 0, 0, 0, 0, 0, 20, @GO4 , 5, 0, 0, 0, 0, 0, 0, 'Nesingwary Trapper - Actionlist - Set Data 2 0'),
(2583500, 9, 7 , 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 45, 2, 0, 0, 0, 0, 0, 20, @GO5 , 5, 0, 0, 0, 0, 0, 0, 'Nesingwary Trapper - Actionlist - Set Data 2 0'),
(2583500, 9, 8 , 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 45, 2, 0, 0, 0, 0, 0, 20, @GO6 , 5, 0, 0, 0, 0, 0, 0, 'Nesingwary Trapper - Actionlist - Set Data 2 0'),
(2583500, 9, 9 , 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 45, 2, 0, 0, 0, 0, 0, 20, @GO7 , 5, 0, 0, 0, 0, 0, 0, 'Nesingwary Trapper - Actionlist - Set Data 2 0'),
(2583500, 9, 10, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 45, 2, 0, 0, 0, 0, 0, 20, @GO8 , 5, 0, 0, 0, 0, 0, 0, 'Nesingwary Trapper - Actionlist - Set Data 2 0'),
(2583500, 9, 11, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 45, 2, 0, 0, 0, 0, 0, 20, @GO9 , 5, 0, 0, 0, 0, 0, 0, 'Nesingwary Trapper - Actionlist - Set Data 2 0'),
(2583500, 9, 12, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 45, 2, 0, 0, 0, 0, 0, 20, @GO10, 5, 0, 0, 0, 0, 0, 0, 'Nesingwary Trapper - Actionlist - Set Data 2 0'),
(2583500, 9, 13, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 45, 2, 0, 0, 0, 0, 0, 20, @GO11, 5, 0, 0, 0, 0, 0, 0, 'Nesingwary Trapper - Actionlist - Set Data 2 0'),
(2583500, 9, 14, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 45, 2, 0, 0, 0, 0, 0, 20, @GO12, 5, 0, 0, 0, 0, 0, 0, 'Nesingwary Trapper - Actionlist - Set Data 2 0'),
(2583500, 9, 15, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 45, 2, 0, 0, 0, 0, 0, 20, @GO13, 5, 0, 0, 0, 0, 0, 0, 'Nesingwary Trapper - Actionlist - Set Data 2 0'),
(2583500, 9, 16, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 45, 2, 0, 0, 0, 0, 0, 20, @GO14, 5, 0, 0, 0, 0, 0, 0, 'Nesingwary Trapper - Actionlist - Set Data 2 0'),
(2583500, 9, 17, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 45, 2, 0, 0, 0, 0, 0, 20, @GO15, 5, 0, 0, 0, 0, 0, 0, 'Nesingwary Trapper - Actionlist - Set Data 2 0'),
(2583500, 9, 18, 0, 0, 0, 100, 0, 500, 500, 0, 0, 0, 0, 37, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Nesingwary Trapper - Actionlist - Kill Self'),
(2583500, 9, 19, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 5000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Nesingwary Trapper - Actionlist - Despawn In 5000 ms');

View File

@@ -2744,7 +2744,6 @@ Quests.IgnoreAutoComplete = 0
# Rate.RewardBonusMoney
# Description: Allows to further tweak the amount of extra money rewarded by quests when the player
# is at MaxPlayerLevel (this amount is specified in quest_template.RewardBonusMoney).
# NOTE: the final amount will also affected by Rate.Drop.Money
# Default: 1
Rate.RewardBonusMoney = 1

View File

@@ -252,7 +252,7 @@ int32 Quest::GetRewOrReqMoney(uint8 playerLevel) const
}
}
return static_cast<int32>(rewardedMoney * sWorld->getRate(RATE_DROP_MONEY));
return static_cast<int32>(rewardedMoney * sWorld->getRate(RATE_REWARD_BONUS_MONEY));
}
uint32 Quest::GetRewMoneyMaxLevel() const
@@ -260,7 +260,7 @@ uint32 Quest::GetRewMoneyMaxLevel() const
if (HasFlag(QUEST_FLAGS_NO_MONEY_FROM_XP))
return 0;
return static_cast<int32>(RewardBonusMoney * sWorld->getRate(RATE_REWARD_BONUS_MONEY) * sWorld->getRate(RATE_DROP_MONEY));
return static_cast<int32>(RewardBonusMoney * sWorld->getRate(RATE_REWARD_BONUS_MONEY));
}
bool Quest::IsAutoAccept() const