From 3e0d33ff29810a1cbde5d4ead4f3c23dc4556941 Mon Sep 17 00:00:00 2001 From: luis Date: Thu, 3 Sep 2026 19:13:45 -0300 Subject: [PATCH] quests --- .../world/master/2026_09_03_02_world.sql | 206 ++++++++++++++++++ 1 file changed, 206 insertions(+) create mode 100644 sql/updates/world/master/2026_09_03_02_world.sql diff --git a/sql/updates/world/master/2026_09_03_02_world.sql b/sql/updates/world/master/2026_09_03_02_world.sql new file mode 100644 index 000000000..ac58d5359 --- /dev/null +++ b/sql/updates/world/master/2026_09_03_02_world.sql @@ -0,0 +1,206 @@ +DELETE FROM `areatrigger_template` WHERE (`IsCustom`=0 AND `Id` IN (41249,42865,41254,41889,41134,42014,42239,41290,40552,40887,41562,41637)); +INSERT INTO `areatrigger_template` (`Id`, `IsCustom`, `VerifiedBuild`) VALUES +(41249, 0, 69587), +(42865, 0, 69587), +(41254, 0, 69587), +(41889, 0, 69587), +(41134, 0, 69587), +(42014, 0, 69587), +(42239, 0, 69587), +(41290, 0, 69587), +(40552, 0, 69587), +(40887, 0, 69587), +(41562, 0, 69587), +(41637, 0, 69587); + + +DELETE FROM `areatrigger_create_properties` WHERE (`IsCustom`=0 AND `Id` IN (40661,40825,41154,39016,39690,39870)); +INSERT INTO `areatrigger_create_properties` (`Id`, `IsCustom`, `AreaTriggerId`, `IsAreatriggerCustom`, `Flags`, `MoveCurveId`, `ScaleCurveId`, `MorphCurveId`, `FacingCurveId`, `AnimId`, `AnimKitId`, `DecalPropertiesId`, `SpellForVisuals`, `TimeToTargetScale`, `Speed`, `Shape`, `ShapeData0`, `ShapeData1`, `ShapeData2`, `ShapeData3`, `ShapeData4`, `ShapeData5`, `ShapeData6`, `ShapeData7`, `VerifiedBuild`) VALUES +(40661, 0, 41889, 0, 6, 0, 98100, 0, 0, -1, 0, 827, NULL, 600000, 10, 0, 5, 5, 0, 0, 0, 0, 0, 0, 69587), -- Spell: 1269218 (Mirrored Rend) +(40825, 0, 42014, 0, 2, 0, 0, 0, 0, -1, 0, 0, NULL, 0, 10, 0, 12.5, 12.5, 0, 0, 0, 0, 0, 0, 69587), -- Spell: 1271977 ([DNT] Visibility) +(41154, 0, 42239, 0, 4, 0, 96897, 0, 0, -1, 0, 0, NULL, 6000, 10, 0, 60, 60, 0, 0, 0, 0, 0, 0, 69587), -- Spell: 1278137 (Divine Guile) +(39016, 0, 40552, 0, 0, 0, 0, 0, 0, -1, 0, 0, NULL, 18000, 10, 3, 0, 0, 0, 0, 0, 0, 0, 0, 69587), -- Spell: 1247984 (Lightscar Flare) +(39690, 0, 41562, 0, 4, 0, 91536, 0, 0, -1, 0, 823, NULL, 25000, 10, 4, 4.5, 4.5, 6, 6, 0.300000011920928955, 0.300000011920928955, 0, 0, 69587), -- Spell: 1262088 (Flux Collapse) +(39870, 0, 41249, 0, 2, 0, 0, 0, 0, -1, 0, 0, NULL, 0, 10, 4, 2, 2, 10, 10, 0.300000011920928955, 0.300000011920928955, 0, 0, 69587); -- Spell: 1257078 (Corespark Surge) + +DELETE FROM `areatrigger_create_properties_polygon_vertex` WHERE (`AreaTriggerCreatePropertiesId`=39016 AND `IsCustom`=0 AND `Idx`=0) OR (`AreaTriggerCreatePropertiesId`=39016 AND `IsCustom`=0 AND `Idx`=1) OR (`AreaTriggerCreatePropertiesId`=39016 AND `IsCustom`=0 AND `Idx`=2) OR (`AreaTriggerCreatePropertiesId`=39016 AND `IsCustom`=0 AND `Idx`=3); +INSERT INTO `areatrigger_create_properties_polygon_vertex` (`AreaTriggerCreatePropertiesId`, `IsCustom`, `Idx`, `VerticeX`, `VerticeY`, `VerticeTargetX`, `VerticeTargetY`, `VerifiedBuild`) VALUES +(39016, 0, 0, -30, 8, NULL, NULL, 69587), -- Spell: 1247984 (Lightscar Flare) +(39016, 0, 1, -30, -8, NULL, NULL, 69587), -- Spell: 1247984 (Lightscar Flare) +(39016, 0, 2, 0.100000001490116119, -2, NULL, NULL, 69587), -- Spell: 1247984 (Lightscar Flare) +(39016, 0, 3, 0.100000001490116119, 2, NULL, NULL, 69587); -- Spell: 1247984 (Lightscar Flare) + + + +DELETE FROM `ui_map_quest_line` WHERE (`UIMapId`=2556 AND `QuestLineId`=5962); +INSERT INTO `ui_map_quest_line` (`UIMapId`, `QuestLineId`, `VerifiedBuild`) VALUES +(2556, 5962, 69587); + + +DELETE FROM `world_quest_template` WHERE `QuestID`=59234; +INSERT INTO `world_quest_template` (`QuestID`, `Duration`, `VariableID`, `Value`) VALUES +(59234, 86400, 18433, 1); -- Mixing A Mess + + +DELETE FROM `creature_template_difficulty` WHERE (`DifficultyID`=1 AND `Entry` IN (248499,251568,260032,255700,255698,256215,255179,251031,248506,251850,255133,251878,251852,250775,254386,248769,251853,248502,248501,248706,248363,228224,256090,250299,255033,259569,228226,252825,254485,241647,254948,248708,260462,254459,254947,248922,254949,254926,241542,248354,252938,241539,241643,241645,249711,251830,241644,254227,254932,241660,251621,254928,253386,241546,248373,249096,252852,252870,252903,249087,249970,248498,248487,258604,255836,254220,165189,254222,254225,241642)); +INSERT INTO `creature_template_difficulty` (`Entry`, `DifficultyID`, `HealthScalingExpansion`, `HealthModifier`, `ManaModifier`, `CreatureDifficultyID`, `TypeFlags`, `TypeFlags2`, `TypeFlags3`) VALUES +(248499, 1, 11, 10, 1, 328036, 0x4, 0, 0), -- Decimus +(251568, 1, 11, 2.5, 1, 332386, 0x4, 128, 0), -- Fractured Image +(260032, 1, 11, 1, 1, 343225, 0x41000400, 144, 0), -- Brilliant Dispersion +(255700, 1, 11, 1, 1, 336908, 0x40000000, 0, 0), -- Portal +(255698, 1, 11, 1, 1, 336906, 0x40000000, 0, 0), -- Portal +(256215, 1, 9, 1, 1, 339255, 0x40200048, 162, 0), -- Path Helper +(255179, 1, 11, 7, 1, 336094, 0x200048, 2147483776, 0), -- Fractured Image +(251031, 1, 11, 1.20000004768371582, 1, 330647, 0x200040, 128, 0), -- Grand Nullifier +(248506, 1, 11, 8.5, 1, 328043, 0x200048, 2147483648, 0), -- Dreadflail +(251850, 1, 11, 3, 1, 332674, 0x60208058, 67108868, 0), -- Voidwalker +(255133, 1, 11, 7, 1, 336048, 0x60208058, 67108868, 0), -- Fractured Image +(251878, 1, 11, 5, 1, 332702, 0x60208058, 67108868, 0), -- Voidcaller +(251852, 1, 11, 2, 1, 332676, 0x60208058, 67108868, 0), -- Nullifier +(250775, 1, 11, 0.649999976158142089, 1, 330372, 0x0, 0, 0), -- Dusk Fright +(254386, 1, 11, 1, 1, 335291, 0x40000448, 0, 0), -- Champion's Spear +(248769, 1, 11, 0.5, 1, 328330, 0x0, 0, 0), -- Smudge +(251853, 1, 11, 5, 1, 332677, 0x200048, 0, 0), -- Grand Nullifier +(248502, 1, 11, 7.40000009536743164, 1, 328039, 0x200048, 2147483648, 0), -- Null Sentinel +(248501, 1, 11, 2.099999904632568359, 1, 328038, 0x200048, 0, 0), -- Reformed Voidling +(248706, 1, 11, 2, 1, 328267, 0x200048, 0, 0), -- Cursed Voidcaller +(248363, 1, 11, 1, 1, 327901, 0x0, 0, 0), -- Energy Flow +(228224, 1, 11, 45, 1, 279409, 0x1000C00, 4194304, 0), -- Fenryr +(256090, 1, 9, 1, 1, 339130, 0x40200048, 162, 0), -- Path Helper +(250299, 1, 11, 1, 1, 329892, 0x41000400, 144, 0), -- [DNT] Conduit Stalker +(255033, 1, 11, 1, 1, 335942, 0x1000400, 144, 0), -- Broken Pipe +(259569, 1, 11, 0.75, 1, 342751, 0x200048, 67108864, 0), -- Mana Battery +(228226, 1, 11, 45, 1, 279411, 0x1000C00, 4194304, 0), -- Hati +(252825, 1, 11, 0.75, 1, 333678, 0x200048, 67108864, 0), -- Mana Battery +(254485, 1, 11, 1, 1, 335390, 0x1000400, 16, 0), -- Corespark Pylon +(241647, 1, 11, 6, 1, 320907, 0x200048, 0, 0), -- Flux Engineer +(254948, 1, 11, 1, 1, 335855, 0x0, 0, 0), -- Mana Feeder +(248708, 1, 11, 2.5, 1, 328269, 0x0, 0, 0), -- Nexus Adept +(260462, 1, 11, 1, 1, 343669, 0x1002400, 16, 0), -- Beast +(254459, 1, 11, 1, 1, 335364, 0x1000400, 16, 0), -- Broken Pipe +(254947, 1, 11, 1, 1, 335854, 0x0, 0, 0), -- Unbound Void +(248922, 1, 11, 1, 1, 328488, 0x40000010, 6, 0), -- Vantacite Conduit +(254949, 1, 11, 0.200000002980232238, 1, 335856, 0x0, 0, 0), -- Flarefly +(254926, 1, 11, 4.25, 1, 335832, 0x200048, 0, 0), -- Lightwrought +(241542, 1, 11, 100, 1, 320802, 0x200060, 12416, 0), -- Corewarden Nysarra +(248354, 1, 11, 1, 1, 327899, 0x40000010, 6, 0), -- Manacite Conduit +(252938, 1, 11, 1, 1, 333794, 0x41000400, 144, 0), -- [DNT] Orb Stalker +(241539, 1, 11, 31.5, 1, 320799, 0x200068, 128, 0), -- Kasreth +(241643, 1, 11, 5.199999809265136718, 1, 320903, 0x0, 0, 0), -- Shadowguard Defender +(241645, 1, 11, 4, 1, 320905, 0x200048, 0, 0), -- Hollowsoul Scrounger +(249711, 1, 11, 2.20000004768371582, 1, 329299, 0x0, 0, 0), -- Core Technician +(251830, 1, 11, 25, 1, 332654, 0x60208058, 67108870, 0), -- Null Barrier +(241644, 1, 11, 4.800000190734863281, 1, 320904, 0x200048, 0, 0), -- Corewright Arcanist +(254227, 1, 11, 240, 1, 335149, 0x200068, 0, 0), -- Corewarden Nysarra +(254932, 1, 11, 1.75, 1, 335839, 0x200048, 0, 0), -- Radiant Swarm +(241660, 1, 11, 7.25, 1, 320920, 0x200048, 2147483648, 0), -- Duskfright Herald +(251621, 1, 11, 1, 1, 332439, 0x41000400, 16, 0), -- Core +(254928, 1, 11, 2.5, 1, 335834, 0x200048, 0, 0), -- Flarebat +(253386, 1, 11, 5, 1, 334271, 0x200048, 0, 0), -- Entropy Pool +(241546, 1, 11, 40, 1, 320806, 0x20006C, 128, 2), -- Lothraxion +(248373, 1, 11, 9, 1, 327911, 0x200048, 2147483649, 0), -- Circuit Seer +(249096, 1, 11, 1, 1, 328664, 0x1000400, 16, 0), -- [DNT] Stalker +(252852, 1, 11, 3, 1, 333705, 0x60200058, 67108870, 0), -- Corespark Conduit +(252870, 1, 11, 1, 1, 333727, 0x40000400, 1094, 0), -- Arcane Tripwire +(252903, 1, 11, 4.199999809265136718, 1, 333760, 0x200048, 0, 0), -- Nascent Dreadflail +(249087, 1, 11, 40, 1, 328654, 0x4, 128, 0), -- Lothraxion +(249970, 1, 11, 1, 1, 329563, 0x10, 118490118, 0), -- Core Access Power +(248498, 1, 11, 10, 1, 328035, 0x4, 0, 0), -- Alleria Windrunner +(248487, 1, 11, 10, 1, 328024, 0x4, 0, 0), -- Arator +(258604, 1, 11, 1, 1, 341706, 0x40200048, 2, 0), -- Void Portal +(255836, 1, 11, 1, 1, 338872, 0x40200048, 34, 0), -- Helper +(254220, 1, 11, 4.199999809265136718, 1, 335142, 0x60200048, 67108864, 0), -- Duskwraith +(165189, 1, 0, 1.5, 1, 185731, 0x1, 0, 0), -- Generic Hunter Pet +(254222, 1, 11, 4.199999809265136718, 1, 335144, 0x60200048, 67108864, 0), -- Voidwalker +(254225, 1, 11, 6.5, 1, 335147, 0x60200048, 67108864, 0), -- Shadowguard Defender +(241642, 1, 11, 7.300000190734863281, 1, 320902, 0x200048, 2147483648, 0); -- Lingering Image + +UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=11, `HealthModifier`=45, `CreatureDifficultyID`=285691, `TypeFlags`=0x1000C00, `TypeFlags2`=4194304 WHERE (`Entry`=234018 AND `DifficultyID`=1); -- Bear +UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=11, `HealthModifier`=1, `CreatureDifficultyID`=285869, `TypeFlags`=0x1000400, `TypeFlags2`=16 WHERE (`Entry`=234170 AND `DifficultyID`=1); -- Wyvern + + +UPDATE `creature_model_info` SET `VerifiedBuild`=69587 WHERE `DisplayID` IN (124899, 114596, 114583, 137251, 137513, 114589, 137956, 141002, 137240, 131526, 131624, 131529, 114588, 121467, 131533, 121468, 137629, 131487, 126373, 137247, 131532, 137245, 136427, 136617, 114584, 123953, 121955, 139564, 140804, 131510, 132030, 136884, 131528, 131486, 131625, 70903, 138549, 131511, 131525, 138559, 137705, 137452, 131484, 138268, 140814, 131531, 124777, 140255, 130197, 130196, 131485, 140945); +UPDATE `creature_model_info` SET `BoundingRadius`=2.080123186111450195, `CombatReach`=0.500000059604644775, `VerifiedBuild`=69587 WHERE `DisplayID`=138657; + + +UPDATE `creature_template_model` SET `VerifiedBuild`=69587 WHERE (`Idx`=0 AND `CreatureID` IN (248499,251568,260032,255700,255698,256215,255179,251031,248506,251850,255133,251878,251852,250775,254386,248769,251853,248502,248501,248706,248363,228224,256090,250299,255033,259569,228226,252825,254485,241647,254948,248708,260462,254459,255261,254947,248922,254949,254926,241542,248354,252938,241539,241643,241645,249711,251830,241644,254227,254932,241660,251621,254928,253386,241546,248373,249096,252852,252870,252903,249087,249970,248498,248487,258604,255836,254220,254222,254225,241642)) OR (`Idx`=1 AND `CreatureID` IN (251568,260032,256215,251852,248363,256090,254948,248708,260462,255261,248922,248354,241643,254932,251621,241546,252870,249087,249970,255836,254225)) OR (`Idx`=3 AND `CreatureID` IN (260462,255261)) OR (`Idx`=2 AND `CreatureID` IN (260462,255261)) OR (`Idx`=8 AND `CreatureID`=255261) OR (`Idx`=7 AND `CreatureID`=255261) OR (`Idx`=6 AND `CreatureID`=255261) OR (`Idx`=5 AND `CreatureID`=255261) OR (`Idx`=4 AND `CreatureID`=255261); +UPDATE `creature_template_model` SET `CreatureDisplayID`=11686, `VerifiedBuild`=69587 WHERE (`Idx`=1 AND `CreatureID` IN (255700,255698)); -- Portal +UPDATE `creature_template_model` SET `CreatureDisplayID`=11686, `VerifiedBuild`=69587 WHERE (`CreatureID`=250299 AND `Idx`=1); -- [DNT] Conduit Stalker +UPDATE `creature_template_model` SET `CreatureDisplayID`=11686, `VerifiedBuild`=69587 WHERE (`Idx`=1 AND `CreatureID` IN (255033,254459)); -- Broken Pipe +UPDATE `creature_template_model` SET `CreatureDisplayID`=11686, `VerifiedBuild`=69587 WHERE (`CreatureID`=254485 AND `Idx`=1); -- Corespark Pylon +UPDATE `creature_template_model` SET `CreatureDisplayID`=11686, `VerifiedBuild`=69587 WHERE (`CreatureID`=252938 AND `Idx`=1); -- [DNT] Orb Stalker +UPDATE `creature_template_model` SET `CreatureDisplayID`=11686, `VerifiedBuild`=69587 WHERE (`CreatureID`=253386 AND `Idx`=1); -- Entropy Pool +UPDATE `creature_template_model` SET `CreatureDisplayID`=11686, `VerifiedBuild`=69587 WHERE (`CreatureID`=249096 AND `Idx`=1); -- [DNT] Stalker +UPDATE `creature_template_model` SET `CreatureDisplayID`=11686, `VerifiedBuild`=69587 WHERE (`CreatureID`=258604 AND `Idx`=1); -- Void Portal + +DELETE FROM `creature_questitem` WHERE (`CreatureEntry`=241542 AND `DifficultyID`=1 AND `Idx`=0) OR (`CreatureEntry`=241539 AND `DifficultyID`=1 AND `Idx`=0) OR (`CreatureEntry`=254227 AND `DifficultyID`=1 AND `Idx`=0) OR (`CreatureEntry`=241546 AND `DifficultyID`=1 AND `Idx`=7) OR (`CreatureEntry`=241546 AND `DifficultyID`=1 AND `Idx`=6) OR (`CreatureEntry`=241546 AND `DifficultyID`=1 AND `Idx`=5) OR (`CreatureEntry`=241546 AND `DifficultyID`=1 AND `Idx`=4) OR (`CreatureEntry`=241546 AND `DifficultyID`=1 AND `Idx`=3) OR (`CreatureEntry`=241546 AND `DifficultyID`=1 AND `Idx`=2) OR (`CreatureEntry`=241546 AND `DifficultyID`=1 AND `Idx`=1) OR (`CreatureEntry`=241546 AND `DifficultyID`=1 AND `Idx`=0); +INSERT INTO `creature_questitem` (`CreatureEntry`, `DifficultyID`, `Idx`, `ItemId`, `VerifiedBuild`) VALUES +(241542, 1, 0, 279573, 69587), -- Corewarden Nysarra +(241539, 1, 0, 279573, 69587), -- Kasreth +(254227, 1, 0, 279573, 69587), -- Corewarden Nysarra +(241546, 1, 7, 279573, 69587), -- Lothraxion +(241546, 1, 6, 274581, 69587), -- Lothraxion +(241546, 1, 5, 274583, 69587), -- Lothraxion +(241546, 1, 4, 274581, 69587), -- Lothraxion +(241546, 1, 3, 274584, 69587), -- Lothraxion +(241546, 1, 2, 274582, 69587), -- Lothraxion +(241546, 1, 1, 274585, 69587), -- Lothraxion +(241546, 1, 0, 274580, 69587); -- Lothraxion + +UPDATE `quest_template_addon` SET `PrevQuestID`=67700 WHERE `ID`=70124; +UPDATE `quest_template_addon` SET `PrevQuestID`=67700, `NextQuestID`=0 WHERE `ID`=70123; +UPDATE `quest_template_addon` SET `NextQuestID`=70122 WHERE `ID`=67700; +UPDATE `quest_template_addon` SET `PrevQuestID`=70122 WHERE `ID`=70125; +UPDATE `quest_template_addon` SET `NextQuestID`=0 WHERE `ID`=70124; + +UPDATE `creature_queststarter` SET `id`=189077 WHERE `id`=189022 AND `quest`=70122; +REPLACE INTO `creature_template_gossip` (`CreatureID`, `MenuID`, `VerifiedBuild`) VALUES (189055, 189055, 58911); +REPLACE INTO `gossip_menu` (`MenuID`, `TextID`, `VerifiedBuild`) VALUES (189055, 7778, 0); + + +SET @CGUID := 730674; +DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+9; +INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `terrainSwapMap`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES +(@CGUID+0, 193812, 0, 1519, 4411, '0', 0, 0, 0, -1, 0, 0, -8526.16, 1057.26, 59.9717, 0.344791, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0), +(@CGUID+1, 189763, 0, 1519, 4411, '0', 0, 0, 0, -1, 0, 0, -8521.51, 1058.39, 59.9683, 3.59634, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0), +(@CGUID+2, 198393, 0, 1519, 4411, '0', 0, 0, 0, -1, 0, 0, -8475.52, 1029.11, 59.682, 0.953969, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0), +(@CGUID+3, 198393, 0, 1519, 4411, '0', 0, 0, 0, -1, 0, 0, -8472.64, 1033.45, 59.633, 3.86308, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0), +(@CGUID+4, 198393, 0, 1519, 4411, '0', 0, 0, 0, -1, 0, 0, -8481.93, 1034.08, 59.8119, 1.24614, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0), +(@CGUID+5, 198393, 0, 1519, 4411, '0', 0, 0, 0, -1, 0, 0, -8480.51, 1037.63, 59.7626, 3.97445, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0), +(@CGUID+6, 198383, 0, 1519, 4411, '0', 0, 0, 0, -1, 0, 0, -8396.15, 1060.25, 31.6306, 3.2488, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0), +(@CGUID+7, 198383, 0, 1519, 4411, '0', 0, 0, 0, -1, 0, 0, -8399.6, 1058.57, 31.6306, 1.52407, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0), +(@CGUID+8, 189077, 0, 1519, 4411, '0', 0, 0, 0, -1, 0, 1, -8641.09, 1328.69, 5.23258, 5.22206, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0), +(@CGUID+9, 189602, 0, 1519, 6292, '0', 0, 0, 0, -1, 0, 0, -8312.75, 337.696, 155.348, 5.30608, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); + + + +UPDATE `quest_template_addon` SET `PrevQuestID`=66577 WHERE `ID`=72240; + +REPLACE INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `action_param_string`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_param_string`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES (189763, 0, 0, 1, '', 62, 0, 100, 0, 28056, 0, 0, 0, 0, '', 33, 189771, 0, 0, 0, 0, 0, 0, NULL, 7, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'On player opened gossip - Gossip player: Give kill credit Kill Credit: Recruit Scholars (189771)'); +REPLACE INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `action_param_string`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_param_string`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES (189763, 0, 1, 0, '', 61, 0, 100, 0, 0, 0, 0, 0, 0, '', 1, 0, 0, 0, 0, 0, 0, 0, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'Speak'); + +DELETE FROM ``smart_scripts` WHERE `entryorguid`=198401 AND `source_type`=0 AND `id`=0 AND `link`=0; +UPDATE `creature_template` SET `faction`=35 WHERE `entry`=198393; + +DELETE FROM `smart_scripts` WHERE `entryorguid`=189767 AND `source_type`=0 AND `id`=0 AND `link`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid`=189765 AND `source_type`=0 AND `id`=0 AND `link`=0; + +DELETE FROM `gossip_menu_option` WHERE `MenuID`=28626 AND `OptionID`=1; +DELETE FROM `smart_scripts` WHERE `entryorguid`=193450 AND `source_type`=0 AND `id`=0 AND `link`=0; +UPDATE `gameobject_template` SET `displayId`=4393 WHERE `entry`=466766; + +REPLACE INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `action_param_string`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_param_string`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES (70056, 12, 1, 0, '', 46, 0, 100, 0, 0, 0, 0, 0, 0, '', 33, 194133, 0, 0, 0, 0, 0, 0, NULL, 7, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'Killcredit'); +REPLACE INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `action_param_string`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_param_string`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES (70056, 12, 0, 0, '', 46, 0, 100, 0, 0, 0, 0, 0, 0, '', 33, 194131, 0, 0, 0, 0, 0, 0, NULL, 7, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'Killcredit'); +REPLACE INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `action_param_string`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_param_string`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES (70056, 12, 2, 0, '', 46, 0, 100, 0, 0, 0, 0, 0, 0, '', 33, 188954, 0, 0, 0, 0, 0, 0, NULL, 7, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'Killxredit'); + +REPLACE INTO `areatrigger` (`SpawnId`, `AreaTriggerCreatePropertiesId`, `IsCustom`, `MapId`, `SpawnDifficulties`, `PosX`, `PosY`, `PosZ`, `Orientation`, `PhaseUseFlags`, `PhaseId`, `PhaseGroup`, `ScriptName`, `Comment`, `VerifiedBuild`) VALUES (70057, 70057, 1, 2444, '0', 3740.95, -1903.91, 6.76741, 2.62483, 1, 0, 0, 'SmartAreaTriggerAI', NULL, 0); +REPLACE INTO `areatrigger_create_properties` (`Id`, `IsCustom`, `AreaTriggerId`, `IsAreatriggerCustom`, `Flags`, `MoveCurveId`, `ScaleCurveId`, `MorphCurveId`, `FacingCurveId`, `AnimId`, `AnimKitId`, `DecalPropertiesId`, `SpellForVisuals`, `TimeToTargetScale`, `Speed`, `SpeedIsTime`, `Shape`, `ShapeData0`, `ShapeData1`, `ShapeData2`, `ShapeData3`, `ShapeData4`, `ShapeData5`, `ShapeData6`, `ShapeData7`, `ScriptName`, `VerifiedBuild`) VALUES (70057, 1, 70057, 1, 0, 0, 0, 0, 0, -1, 0, 0, NULL, 0, 1, 0, 0, 10, 10, 0, 0, 0, 0, 0, 0, '', 0); +REPLACE INTO `areatrigger_template` (`Id`, `IsCustom`, `Flags`, `ActionSetId`, `ActionSetFlags`, `VerifiedBuild`) VALUES (70057, 1, 0, 0, 0, 0); + +DELETE FROM `smart_scripts` WHERE `entryorguid`=466766; +REPLACE INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `action_param_string`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_param_string`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES (466766, 1, 2, 3, '', 61, 0, 100, 0, 0, 0, 0, 0, 0, '', 33, 194133, 0, 0, 0, 0, 0, 0, NULL, 7, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'Killcredit'); +REPLACE INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `action_param_string`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_param_string`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES (466766, 1, 3, 0, '', 61, 0, 100, 0, 0, 0, 0, 0, 0, '', 33, 188954, 0, 0, 0, 0, 0, 0, NULL, 7, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'killcrediz'); +REPLACE INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `action_param_string`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_param_string`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES (466766, 1, 1, 2, '', 61, 0, 100, 0, 0, 0, 0, 0, 0, '', 62, 2444, 0, 0, 0, 0, 0, 0, NULL, 7, 0, 0, 0, 0, NULL, 3722.3, -1894.95, 5.8845, 2.72104, 'Tele'); +REPLACE INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `action_param_string`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_param_string`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES (466766, 1, 0, 1, '', 64, 0, 100, 0, 0, 0, 0, 0, 0, '', 33, 194131, 0, 0, 0, 0, 0, 0, NULL, 7, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'Killcredit'); + +