diff --git a/sql/updates/world/master/2025_08_31_00_world.sql b/sql/updates/world/master/2025_08_31_00_world.sql new file mode 100644 index 000000000..500dfd900 --- /dev/null +++ b/sql/updates/world/master/2025_08_31_00_world.sql @@ -0,0 +1,142 @@ +SET @CGUID := 10006837; +SET @OGUID := 10001697; + +SET @ATID := 163; + +SET @NPCTEXTID := 600127; + +-- Creature +DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+0; +INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `PhaseId`, `PhaseGroup`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES +(@CGUID+0, 231919, 1643, 9042, 9575, '0', 24836, 0, 0, 0, 2519.23095703125, -769.3975830078125, 39.56610107421875, 0.777139186859130859, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 62801); -- Botanist Alaenra (Area: Rosaline's Apiary - Difficulty: 0) CreateObject1 (Auras: 466711 - Create Area Trigger [DNT]) +DELETE FROM `creature_addon` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+0; +INSERT INTO `creature_addon` (`guid`, `PathId`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES +(@CGUID+0, 0, 0, 8, 0, 0, 1, 0, 0, 0, 0, 0, 0, '466711'); -- Botanist Alaenra - 466711 - Create Area Trigger [DNT] + +-- GameObject +DELETE FROM `gameobject` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+0; +INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `PhaseId`, `PhaseGroup`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `VerifiedBuild`) VALUES +(@OGUID+0, 474242, 2738, 15336, 15792, '0', 24796, 0, 1331.578125, -1045.7066650390625, -97.1038818359375, 1.35928809642791748, 0, 0, 0.628516197204589843, 0.777796447277069091, 120, 255, 1, 62801); -- Portal to Stormsong Valley (Area: The Oasis - Difficulty: 0) CreateObject1 +DELETE FROM `gameobject_addon` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+0; +INSERT INTO `gameobject_addon` (`guid`, `parent_rotation0`, `parent_rotation1`, `parent_rotation2`, `parent_rotation3`, `WorldEffectID`, `AIAnimKitID`) VALUES +(@OGUID+0, 0, 0, 0, 1, 2100, 24311); -- Portal to Stormsong Valley + +-- Serverside Areatrigger +DELETE FROM `areatrigger_template` WHERE `Id`=@ATID+0 AND `IsCustom`=1; +INSERT INTO `areatrigger_template` (`Id`, `IsCustom`, `Flags`, `ActionSetId`, `ActionSetFlags`, `VerifiedBuild`) VALUES +(@ATID+0, 1, 1, 0, 0, 0); + +DELETE FROM areatrigger_create_properties WHERE Id=34963 AND IsCustom=0; +INSERT INTO areatrigger_create_properties (Id, IsCustom, AreaTriggerId, IsAreatriggerCustom, Flags, MoveCurveId, ScaleCurveId, MorphCurveId, FacingCurveId, AnimId, AnimKitId, DecalPropertiesId, SpellForVisuals, TimeToTargetScale, Shape, ShapeData0, ShapeData1, ShapeData2, ShapeData3, ShapeData4, ShapeData5, ShapeData6, ShapeData7, ScriptName, VerifiedBuild) VALUES +(34963, 0, @ATID+0, 1, 4, 0, 0, 0, 0, -1, 0, 0, NULL, 0, 0, 15, 15, 0, 0, 0, 0, 0, 0, 'SmartAreaTriggerAI', 0); + +-- Template +UPDATE `creature_template` SET `faction`=35, `npcflag`=3, `BaseAttackTime`=2000, `unit_flags`=0x300, `unit_flags2`=0x800 WHERE `entry`=231919; -- Botanist Alaenra + +DELETE FROM `gameobject_template` WHERE `entry`=474242; +INSERT INTO `gameobject_template` (`entry`, `type`, `displayId`, `name`, `IconName`, `castBarCaption`, `unk1`, `size`, `Data0`, `Data1`, `Data2`, `Data3`, `Data4`, `Data5`, `Data6`, `Data7`, `Data8`, `Data9`, `Data10`, `Data11`, `Data12`, `Data13`, `Data14`, `Data15`, `Data16`, `Data17`, `Data18`, `Data19`, `Data20`, `Data21`, `Data22`, `Data23`, `Data24`, `Data25`, `Data26`, `Data27`, `Data28`, `Data29`, `Data30`, `Data31`, `Data32`, `Data33`, `Data34`, `ContentTuningId`, `VerifiedBuild`) VALUES +(474242, 10, 63415, 'Portal to Stormsong Valley', 'questinteract', 'Activating', '', 1.299999952316284179, 93, 0, 0, 1, 0, 0, 0, 0, 0, 0, 466678, 0, 0, 0, 129851, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3007, 62801); -- Portal to Stormsong Valley + +-- Difficulty +DELETE FROM `creature_template_difficulty` WHERE (`DifficultyID`=0 AND `Entry` = 231919); +INSERT INTO `creature_template_difficulty` (`Entry`, `DifficultyID`, `LevelScalingDeltaMin`, `LevelScalingDeltaMax`, `ContentTuningID`, `StaticFlags1`, `StaticFlags2`, `StaticFlags3`, `StaticFlags4`, `StaticFlags5`, `StaticFlags6`, `StaticFlags7`, `StaticFlags8`, `VerifiedBuild`) VALUES +(231919, 0, 0, 0, 3007, 0x10000000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 62801); -- 231919 (Botanist Alaenra) - CanSwim + +UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=10, `CreatureDifficultyID`=283264 WHERE (`Entry`=231919 AND `DifficultyID`=0); -- Botanist Alaenra + +-- Model +DELETE FROM `creature_model_info` WHERE `DisplayID`=123088; +INSERT INTO `creature_model_info` (`DisplayID`, `BoundingRadius`, `CombatReach`, `DisplayID_Other_Gender`, `VerifiedBuild`) VALUES +(123088, 0.382999986410140991, 1.5, 0, 62801); + +-- Phasing +DELETE FROM `phase_name` WHERE `ID` IN (24796,24836); +INSERT INTO `phase_name` (`ID`, `Name`) VALUES +(24796, 'Cosmetic - Portal to Stormsong Valley in The Oasis'), +(24836, 'Cosmetic - See Botanist Alaenra kneel at Rosalines Apiary'); + +DELETE FROM `phase_area` WHERE `PhaseId` IN (24796,24836); +INSERT INTO `phase_area` (`AreaId`, `PhaseId`, `Comment`) VALUES +(15792, 24796, 'Portal to Stormsong Valley in The Oasis'), +(9042, 24836, 'See Botanist Alaenra kneel at Rosalines Apiary'); + +DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId`=26 AND `SourceGroup` IN (24796,24836) AND `SourceEntry` = 0); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `Comment`) VALUE +(26, 24796, 0, 0, 0, 47, 0, 85075, 2|8|64, 0, 0, 'Apply Phase 24796 if Quest 85075 is in progress | complete | rewarded'), +(26, 24836, 0, 0, 0, 47, 0, 85075, 2|8|64, 0, 0, 'Apply Phase 24796 if Quest 85075 is in progress | complete | rewarded'); + +-- Conversation +DELETE FROM `conversation_template` WHERE `Id`=27023; +INSERT INTO `conversation_template` (`Id`, `FirstLineID`, `TextureKitId`, `VerifiedBuild`) VALUES +(27023, 73841, 0, 62801); + +DELETE FROM `conversation_actors` WHERE (`ConversationId`=27023 AND `Idx`=0); +INSERT INTO `conversation_actors` (`ConversationId`, `ConversationActorId`, `ConversationActorGuid`, `Idx`, `CreatureId`, `CreatureDisplayInfoId`, `NoActorObject`, `ActivePlayerObject`, `VerifiedBuild`) VALUES +(27023, 102228, 10006795, 0, 0, 0, 0, 0, 62801); -- Full: 0x2042255640E2630000088600003060C1 Creature/0 R4233/S2182 Map: 2738 (K'aresh) Entry: 231820 (Ve'nari) Low: 3170497 + +DELETE FROM `conversation_line_template` WHERE `Id` IN (78546, 73841); +INSERT INTO `conversation_line_template` (`Id`, `UiCameraID`, `ActorIdx`, `Flags`, `ChatType`, `VerifiedBuild`) VALUES +(78546, 0, 0, 0, 0, 62801), +(73841, 0, 0, 0, 0, 62801); + +-- Gossip +DELETE FROM `creature_template_gossip` WHERE (`CreatureID`=231919 AND `MenuID`=36982); +INSERT INTO `creature_template_gossip` (`CreatureID`, `MenuID`, `VerifiedBuild`) VALUES +(231919, 36982, 62801); -- Botanist Alaenra + +DELETE FROM `npc_text` WHERE `ID` BETWEEN @NPCTEXTID+0 AND @NPCTEXTID+3; +INSERT INTO `npc_text` (`ID`, `Probability0`, `Probability1`, `Probability2`, `Probability3`, `Probability4`, `Probability5`, `Probability6`, `Probability7`, `BroadcastTextId0`, `BroadcastTextId1`, `BroadcastTextId2`, `BroadcastTextId3`, `BroadcastTextId4`, `BroadcastTextId5`, `BroadcastTextId6`, `BroadcastTextId7`, `VerifiedBuild`) VALUES +(@NPCTEXTID+0, 1, 0, 0, 0, 0, 0, 0, 0, 275682, 0, 0, 0, 0, 0, 0, 0, 62801), -- 231919 (Botanist Alaenra) +(@NPCTEXTID+1, 1, 0, 0, 0, 0, 0, 0, 0, 275680, 0, 0, 0, 0, 0, 0, 0, 62801), -- 231919 (Botanist Alaenra) +(@NPCTEXTID+2, 1, 0, 0, 0, 0, 0, 0, 0, 275678, 0, 0, 0, 0, 0, 0, 0, 62801), -- 231919 (Botanist Alaenra) +(@NPCTEXTID+3, 1, 0, 0, 0, 0, 0, 0, 0, 275673, 0, 0, 0, 0, 0, 0, 0, 62801); -- 231919 (Botanist Alaenra) + +DELETE FROM `gossip_menu` WHERE (`MenuID`=36979 AND `TextID`=@NPCTEXTID+0) OR (`MenuID`=36980 AND `TextID`=@NPCTEXTID+1) OR (`MenuID`=36981 AND `TextID`=@NPCTEXTID+2) OR (`MenuID`=36982 AND `TextID`=@NPCTEXTID+3); +INSERT INTO `gossip_menu` (`MenuID`, `TextID`, `VerifiedBuild`) VALUES +(36979, @NPCTEXTID+0, 62801), -- 231919 (Botanist Alaenra) +(36980, @NPCTEXTID+1, 62801), -- 231919 (Botanist Alaenra) +(36981, @NPCTEXTID+2, 62801), -- 231919 (Botanist Alaenra) +(36982, @NPCTEXTID+3, 62801); -- 231919 (Botanist Alaenra) + +DELETE FROM `gossip_menu_option` WHERE (`OptionID`=0 AND `MenuID` IN (36979,36980,36982,36981)); +INSERT INTO `gossip_menu_option` (`MenuID`, `GossipOptionID`, `OptionID`, `OptionNpc`, `OptionText`, `OptionBroadcastTextID`, `Language`, `Flags`, `ActionMenuID`, `ActionPoiID`, `GossipNpcOptionID`, `BoxCoded`, `BoxMoney`, `BoxText`, `BoxBroadcastTextID`, `SpellID`, `OverrideIconID`, `VerifiedBuild`) VALUES +(36979, 125077, 0, 0, 'Let\'s save some bees.', 0, 0, 0, 36982, 0, NULL, 0, 0, NULL, 0, NULL, NULL, 62801), +(36980, 125074, 0, 0, 'K\'aresh.', 76407, 0, 0, 36979, 0, NULL, 0, 0, NULL, 0, NULL, NULL, 62801), +(36982, 125076, 0, 0, 'To get bees.', 0, 0, 0, 36981, 0, NULL, 0, 0, NULL, 0, NULL, NULL, 62801), +(36981, 125075, 0, 0, 'I really need bees.', 0, 0, 0, 36980, 0, NULL, 0, 0, NULL, 0, NULL, NULL, 62801); + +-- Spelltarget +DELETE FROM `spell_target_position` WHERE (`ID`=466678 AND `EffectIndex`=0 AND `OrderIndex`=0); +INSERT INTO `spell_target_position` (`ID`, `EffectIndex`, `OrderIndex`, `MapID`, `PositionX`, `PositionY`, `PositionZ`, `VerifiedBuild`) VALUES +(466678, 0, 0, 1643, 2529.449951171875, -759.8599853515625, 36.34000015258789062, 62801); -- Spell: 466678 (Portal to Stormsong Valley) Effect 0: 15 (SPELL_EFFECT_RITUAL_ACTIVATE_PORTAL) + +-- Quest +DELETE FROM `quest_details` WHERE `ID`=85075; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(85075, 1, 0, 0, 0, 0, 0, 0, 0, 62801); -- To Stormsong + +DELETE FROM `creature_queststarter` WHERE (`id`=231820 AND `quest`=85075); +INSERT INTO `creature_queststarter` (`id`, `quest`, `VerifiedBuild`) VALUES +(231820, 85075, 62801); -- To Stormsong offered by Ve'nari + +DELETE FROM `creature_questender` WHERE (`id`=231919 AND `quest`=85075); +INSERT INTO `creature_questender` (`id`, `quest`, `VerifiedBuild`) VALUES +(231919, 85075, 62801); -- To Stormsong ended by Botanist Alaenra + +DELETE FROM `quest_template_addon` WHERE `ID` = 85075; +INSERT INTO `quest_template_addon` (`ID`, `MaxLevel`, `AllowableClasses`, `SourceSpellID`, `PrevQuestID`, `NextQuestID`, `ExclusiveGroup`, `BreadcrumbForQuestId`, `RewardMailTemplateID`, `RewardMailDelay`, `RequiredSkillID`, `RequiredSkillPoints`, `RequiredMinRepFaction`, `RequiredMaxRepFaction`, `RequiredMinRepValue`, `RequiredMaxRepValue`, `ProvidedItemCount`, `SpecialFlags`, `ScriptName`) VALUES +(85075, 0, 0, 0, 87340, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ''); + +-- Ve'nari smart ai +SET @ENTRY := 231820; +UPDATE `creature_template` SET `AIName` = 'SmartAI', `ScriptName` = '' WHERE `entry` = @ENTRY; +DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryOrGuid` = @ENTRY; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`, `Difficulties`) VALUES +(@ENTRY, 0, 0, 0, 19, 0, 100, 0, 87339, 0, 0, 0, 0, 143, 28311, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'On player accepted quest Ongoing Activities (87339) - Player who accepted quest: Start conversation (28311) Actors<> (first line 77832)', ''), +(@ENTRY, 0, 1, 0, 19, 0, 100, 0, 87340, 0, 0, 0, 0, 143, 28316, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'On player accepted quest Junk Mail (87340) - Player who accepted quest: Start conversation (28316) Actors<> (first line 77849)', ''), +(@ENTRY, 0, 2, 0, 19, 0, 100, 0, 85075, 0, 0, 0, 0, 143, 27023, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'On player accepted quest To Stormsong (85075) - Player who accepted quest: Start conversation 27023', ''); + +SET @ENTRY := @ATID+0; +DELETE FROM `smart_scripts` WHERE `source_type` = 12 AND `entryOrGuid` = @ENTRY; +INSERT 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 +(@ATID+0, 12, 0, 0, '', 46, 0, 100, 0, 0, 0, 0, 0, 0, '', 33, 231923, 0, 0, 0, 0, 0, 0, NULL, 7, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'On trigger - reward Credit 231923 to Invoker'); diff --git a/sql/updates/world/master/2025_08_31_01_world.sql b/sql/updates/world/master/2025_08_31_01_world.sql new file mode 100644 index 000000000..37d850683 --- /dev/null +++ b/sql/updates/world/master/2025_08_31_01_world.sql @@ -0,0 +1,16 @@ +-- Hunter +DELETE FROM `playercreateinfo_action` WHERE (`race`=1 AND `class`=3 AND `button`=10) OR (`race`=2 AND `class`=3 AND `button`=10) OR (`race`=3 AND `class`=3 AND `button`=10) OR (`race`=4 AND `class`=3 AND `button`=10) OR (`race`=5 AND `class`=3 AND `button`=10) OR (`race`=6 AND `class`=3 AND `button`=10) OR (`race`=7 AND `class`=3 AND `button`=10) OR (`race`=8 AND `class`=3 AND `button`=10) OR (`race`=9 AND `class`=3 AND `button`=10) OR (`race`=10 AND `class`=3 AND `button`=10) OR (`race`=11 AND `class`=3 AND `button`=10) OR (`race`=22 AND `class`=3 AND `button`=10) OR (`race`=24 AND `class`=3 AND `button`=10); +INSERT INTO `playercreateinfo_action` (`race`, `class`, `button`, `action`, `type`) VALUES +(1, 3, 10, 1231411, 0), -- Recuperate +(2, 3, 10, 1231411, 0), -- Recuperate +(3, 3, 10, 1231411, 0), -- Recuperate +(4, 3, 10, 1231411, 0), -- Recuperate +(5, 3, 10, 1231411, 0), -- Recuperate +(6, 3, 10, 1231411, 0), -- Recuperate +(7, 3, 10, 1231411, 0), -- Recuperate +(8, 3, 10, 1231411, 0), -- Recuperate +(9, 3, 10, 1231411, 0), -- Recuperate +(10, 3, 10, 1231411, 0), -- Recuperate +(11, 3, 10, 1231411, 0), -- Recuperate +(22, 3, 10, 1231411, 0), -- Recuperate +(24, 3, 10, 1231411, 0); -- Recuperate diff --git a/sql/updates/world/master/2025_08_31_02_world.sql b/sql/updates/world/master/2025_08_31_02_world.sql new file mode 100644 index 000000000..e6c18f212 --- /dev/null +++ b/sql/updates/world/master/2025_08_31_02_world.sql @@ -0,0 +1,16 @@ +-- Class Monk +DELETE FROM `playercreateinfo_action` WHERE (`race`=1 AND `class`=10 AND `button`=10) OR (`race`=2 AND `class`=10 AND `button`=10) OR (`race`=3 AND `class`=10 AND `button`=10) OR (`race`=4 AND `class`=10 AND `button`=10) OR (`race`=5 AND `class`=10 AND `button`=10) OR (`race`=6 AND `class`=10 AND `button`=10) OR (`race`=7 AND `class`=10 AND `button`=10) OR (`race`=8 AND `class`=10 AND `button`=10) OR (`race`=9 AND `class`=10 AND `button`=9) OR (`race`=10 AND `class`=10 AND `button`=10) OR (`race`=11 AND `class`=10 AND `button`=10) OR (`race`=22 AND `class`=10 AND `button`=9) OR (`race`=24 AND `class`=10 AND `button`=10); +INSERT INTO `playercreateinfo_action` (`race`, `class`, `button`, `action`, `type`) VALUES +(1, 10, 10, 1231411, 0), -- Recuperate +(2, 10, 10, 1231411, 0), -- Recuperate +(3, 10, 10, 1231411, 0), -- Recuperate +(4, 10, 10, 1231411, 0), -- Recuperate +(5, 10, 10, 1231411, 0), -- Recuperate +(6, 10, 10, 1231411, 0), -- Recuperate +(7, 10, 10, 1231411, 0), -- Recuperate +(8, 10, 10, 1231411, 0), -- Recuperate +(9, 10, 9, 1231411, 0), -- Recuperate +(10, 10, 10, 1231411, 0), -- Recuperate +(11, 10, 10, 1231411, 0), -- Recuperate +(22, 10, 9, 1231411, 0), -- Recuperate +(24, 10, 10, 1231411, 0); -- Recuperate diff --git a/sql/updates/world/master/2025_08_31_03_world.sql b/sql/updates/world/master/2025_08_31_03_world.sql new file mode 100644 index 000000000..add5c66d3 --- /dev/null +++ b/sql/updates/world/master/2025_08_31_03_world.sql @@ -0,0 +1,17 @@ +UPDATE `gameobject_template` SET `scriptname` = 'go_master_surveyor' WHERE `entry` = 233664; + +-- Condition +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 25 AND `SourceGroup` = 0 AND `SourceEntry` = 1152; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `Comment`) VALUES +(25, 0, 1152, 0, 0, 47, 0, 36793, 66, 0, 0, 'TerrainSwap to 1152 if Quest: 36793 is complete/rewarded'); + +-- Spawntracking +DELETE FROM `spawn_tracking` WHERE `SpawnTrackingId`=920544; +INSERT INTO `spawn_tracking` (`SpawnTrackingId`, `SpawnType`, `SpawnId`, `QuestObjectiveIds`) VALUES +(920544, 1, 395673, '272928'); + +DELETE FROM `spawn_tracking_state` WHERE `SpawnType`=1 AND `SpawnId`=920544; +INSERT INTO `spawn_tracking_state` (`SpawnType`, `SpawnId`, `State`, `Visible`, `StateSpellVisualId`, `StateAnimId`, `StateAnimKitId`, `StateWorldEffects`) VALUES +(1, 920544, 0, 0, NULL, NULL, NULL, NULL), +(1, 920544, 1, 1, NULL, NULL, NULL, NULL), +(1, 920544, 2, 0, NULL, NULL, NULL, NULL); diff --git a/sql/updates/world/master/2025_08_31_04_world.sql b/sql/updates/world/master/2025_08_31_04_world.sql new file mode 100644 index 000000000..a7a179f42 --- /dev/null +++ b/sql/updates/world/master/2025_08_31_04_world.sql @@ -0,0 +1,3 @@ +DELETE FROM `spell_script_names` WHERE `ScriptName`='spell_mage_scorch'; +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(2948, 'spell_mage_scorch'); diff --git a/sql/updates/world/master/2025_08_31_05_world.sql b/sql/updates/world/master/2025_08_31_05_world.sql new file mode 100644 index 000000000..380198666 --- /dev/null +++ b/sql/updates/world/master/2025_08_31_05_world.sql @@ -0,0 +1 @@ +DELETE FROM `spell_script_names` WHERE `spell_id`=188290 AND `ScriptName`='spell_dk_death_and_decay_increase_targets'; diff --git a/sql/updates/world/master/2025_08_31_06_world.sql b/sql/updates/world/master/2025_08_31_06_world.sql new file mode 100644 index 000000000..1aac4c1a1 --- /dev/null +++ b/sql/updates/world/master/2025_08_31_06_world.sql @@ -0,0 +1,7 @@ +DELETE FROM `spell_proc` WHERE `SpellId` IN (473520); +INSERT INTO `spell_proc` (`SpellId`,`SchoolMask`,`SpellFamilyName`,`SpellFamilyMask0`,`SpellFamilyMask1`,`SpellFamilyMask2`,`SpellFamilyMask3`,`ProcFlags`,`ProcFlags2`,`SpellTypeMask`,`SpellPhaseMask`,`HitMask`,`AttributesMask`,`DisableEffectsMask`,`ProcsPerMinute`,`Chance`,`Cooldown`,`Charges`) VALUES +(473520,0x00,9,0x00000000,0x80000000,0x00000000,0x00000000,0x0,0x0,0x0,0x1,0x0,0x0,0x0,0,0,0,0); -- Shrapnel Shot + +DELETE FROM `spell_script_names` WHERE `ScriptName`='spell_hun_shrapnel_shot'; +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(473520, 'spell_hun_shrapnel_shot'); diff --git a/sql/updates/world/master/2025_08_31_07_world.sql b/sql/updates/world/master/2025_08_31_07_world.sql new file mode 100644 index 000000000..11b694bf7 --- /dev/null +++ b/sql/updates/world/master/2025_08_31_07_world.sql @@ -0,0 +1,63 @@ +-- Creature templates +UPDATE `creature_template` SET `BaseAttackTime`=2000, `unit_flags`=0x2000200, `unit_flags2`=0x4000800, `unit_flags3`=0x1000000, `VehicleId`=2479, `flags_extra`=`flags_extra`|128 WHERE `entry`=66640; -- Rappelling Rope +UPDATE `creature_template` SET `AIName`='', `ScriptName`='npc_rappelling_rope' WHERE `entry`=66640; + +DELETE FROM `creature_template_addon` WHERE `entry`=66640; +INSERT INTO `creature_template_addon` (`entry`, `PathId`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES +(66640, 0, 0, 0, 3, 0, 1, 0, 0, 2353, 0, 0, 0, ''); -- 66640 (Rappelling Rope) + +-- Vehicle data +DELETE FROM `vehicle_template` WHERE `creatureId`=66640; +INSERT INTO `vehicle_template` (`creatureId`, `despawnDelayMs`, `Pitch`, `CustomFlags`) VALUES +(66640, 0, NULL, 0x1); + +-- Difficulties +UPDATE `creature_template_difficulty` SET `ContentTuningID`=57, `StaticFlags1`=0x20000000, `VerifiedBuild`=61265 WHERE (`Entry`=66640 AND `DifficultyID`=0); -- 66640 (Rappelling Rope) - Floating +DELETE FROM `creature_template_difficulty` WHERE `Entry` IN (66640) AND `DifficultyID`!=0; + +-- Quests +DELETE FROM `quest_template_addon` WHERE `ID`=31766; +INSERT INTO `quest_template_addon` (`ID`, `MaxLevel`, `AllowableClasses`, `SourceSpellID`, `PrevQuestID`, `NextQuestID`, `ExclusiveGroup`, `BreadcrumbForQuestId`, `RewardMailTemplateID`, `RewardMailDelay`, `RequiredSkillID`, `RequiredSkillPoints`, `RequiredMinRepFaction`, `RequiredMaxRepFaction`, `RequiredMinRepValue`, `RequiredMaxRepValue`, `ProvidedItemCount`, `SpecialFlags`, `ScriptName`) VALUES +(31766, 0, 0, 0, 31765, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ''); + +UPDATE `quest_poi` SET `VerifiedBuild`=61265 WHERE (`QuestID`=31766 AND `BlobIndex`=0 AND `Idx1`=2) OR (`QuestID`=31766 AND `BlobIndex`=0 AND `Idx1`=1) OR (`QuestID`=31766 AND `BlobIndex`=0 AND `Idx1`=0) OR (`QuestID`=83492 AND `BlobIndex`=0 AND `Idx1`=0) OR (`QuestID`=32009 AND `BlobIndex`=0 AND `Idx1`=1) OR (`QuestID`=32009 AND `BlobIndex`=0 AND `Idx1`=0) OR (`QuestID`=32008 AND `BlobIndex`=0 AND `Idx1`=1) OR (`QuestID`=32008 AND `BlobIndex`=0 AND `Idx1`=0) OR (`QuestID`=75874 AND `BlobIndex`=0 AND `Idx1`=0) OR (`QuestID`=65656 AND `BlobIndex`=1 AND `Idx1`=5) OR (`QuestID`=65656 AND `BlobIndex`=0 AND `Idx1`=4) OR (`QuestID`=65656 AND `BlobIndex`=1 AND `Idx1`=3) OR (`QuestID`=65656 AND `BlobIndex`=0 AND `Idx1`=2) OR (`QuestID`=65656 AND `BlobIndex`=1 AND `Idx1`=1) OR (`QuestID`=65656 AND `BlobIndex`=0 AND `Idx1`=0) OR (`QuestID`=53435 AND `BlobIndex`=0 AND `Idx1`=1) OR (`QuestID`=53435 AND `BlobIndex`=0 AND `Idx1`=0) OR (`QuestID`=50604 AND `BlobIndex`=0 AND `Idx1`=1) OR (`QuestID`=50604 AND `BlobIndex`=0 AND `Idx1`=0) OR (`QuestID`=50603 AND `BlobIndex`=0 AND `Idx1`=0) OR (`QuestID`=50562 AND `BlobIndex`=0 AND `Idx1`=0) OR (`QuestID`=49930 AND `BlobIndex`=0 AND `Idx1`=1) OR (`QuestID`=49930 AND `BlobIndex`=0 AND `Idx1`=0) OR (`QuestID`=27442 AND `BlobIndex`=0 AND `Idx1`=1) OR (`QuestID`=27442 AND `BlobIndex`=0 AND `Idx1`=0) OR (`QuestID`=13124 AND `BlobIndex`=0 AND `Idx1`=0); +UPDATE `quest_poi_points` SET `VerifiedBuild`=61265 WHERE (`QuestID`=31766 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=31766 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=31766 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=83492 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=32009 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=32009 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=32008 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=32008 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=75874 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=65656 AND `Idx1`=5 AND `Idx2`=0) OR (`QuestID`=65656 AND `Idx1`=4 AND `Idx2`=0) OR (`QuestID`=65656 AND `Idx1`=3 AND `Idx2`=0) OR (`QuestID`=65656 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=65656 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=65656 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=53435 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=53435 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=50604 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=50604 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=50603 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=50562 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=49930 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=49930 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=27442 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=27442 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=13124 AND `Idx1`=0 AND `Idx2`=0); + +DELETE FROM `quest_details` WHERE `ID`=31766; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES +(31766, 1, 0, 0, 0, 0, 0, 0, 0, 61265); -- Touching Ground + +DELETE FROM `quest_request_items` WHERE `ID`=31766; +INSERT INTO `quest_request_items` (`ID`, `EmoteOnComplete`, `EmoteOnIncomplete`, `EmoteOnCompleteDelay`, `EmoteOnIncompleteDelay`, `CompletionText`, `VerifiedBuild`) VALUES +(31766, 0, 0, 0, 0, 'What?', 61265); -- Touching Ground + +DELETE FROM `quest_offer_reward` WHERE `ID`=31766; +INSERT INTO `quest_offer_reward` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `RewardText`, `VerifiedBuild`) VALUES +(31766, 1, 0, 0, 0, 0, 0, 0, 0, 'There you are!$b$bI was starting to worry we''d have to charge in and have all the fun without you.', 61265); -- Touching Ground + +UPDATE `creature_queststarter` SET `VerifiedBuild`=61265 WHERE (`id`=66667 AND `quest`=31766); + +UPDATE `creature_questender` SET `VerifiedBuild`=61265 WHERE (`id`=66190 AND `quest`=31766); + +-- Spells +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry`=130970; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(13, 1, 130970, 0, 0, 31, 0, 3, 40789, 0, 0, 0, 0, '', 'Spell "Rappelling Rope Aura" targets Generic Controller Bunny (CSA)'); + +DELETE FROM `serverside_spell` WHERE `Id`=130999; +INSERT INTO `serverside_spell` (`Id`, `DifficultyID`, `CategoryId`, `Dispel`, `Mechanic`, `Attributes`, `AttributesEx`, `AttributesEx2`, `AttributesEx3`, `AttributesEx4`, `AttributesEx5`, `AttributesEx6`, `AttributesEx7`, `AttributesEx8`, `AttributesEx9`, `AttributesEx10`, `AttributesEx11`, `AttributesEx12`, `AttributesEx13`, `AttributesEx14`, `AttributesEx15`, `Stances`, `StancesNot`, `Targets`, `TargetCreatureType`, `RequiresSpellFocus`, `FacingCasterFlags`, `CasterAuraState`, `TargetAuraState`, `ExcludeCasterAuraState`, `ExcludeTargetAuraState`, `CasterAuraSpell`, `TargetAuraSpell`, `ExcludeCasterAuraSpell`, `ExcludeTargetAuraSpell`, `CasterAuraType`, `TargetAuraType`, `ExcludeCasterAuraType`, `ExcludeTargetAuraType`, `CastingTimeIndex`, `RecoveryTime`, `CategoryRecoveryTime`, `StartRecoveryCategory`, `StartRecoveryTime`, `InterruptFlags`, `AuraInterruptFlags1`, `AuraInterruptFlags2`, `ChannelInterruptFlags1`, `ChannelInterruptFlags2`, `ProcFlags`, `ProcFlags2`, `ProcChance`, `ProcCharges`, `ProcCooldown`, `ProcBasePPM`, `MaxLevel`, `BaseLevel`, `SpellLevel`, `DurationIndex`, `RangeIndex`, `Speed`, `LaunchDelay`, `StackAmount`, `EquippedItemClass`, `EquippedItemSubClassMask`, `EquippedItemInventoryTypeMask`, `ContentTuningId`, `SpellName`, `ConeAngle`, `ConeWidth`, `MaxTargetLevel`, `MaxAffectedTargets`, `SpellFamilyName`, `SpellFamilyFlags1`, `SpellFamilyFlags2`, `SpellFamilyFlags3`, `SpellFamilyFlags4`, `DmgClass`, `PreventionType`, `AreaGroupId`, `SchoolMask`, `ChargeCategoryId`) VALUES +(130999,0,0,0,0,0x29800100,0x10000020,0x4005,0x10100000,0x80,0x60008,0x21600,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,21,13,0,0,0,-1,0,0,0,'Rappelling Rope Credit',0,0,0,0,0,0,0,0,0,0,0,0,1,0); + +DELETE FROM `serverside_spell_effect` WHERE `SpellID`=130999; +INSERT INTO `serverside_spell_effect` (`SpellID`, `EffectIndex`, `DifficultyID`, `Effect`, `EffectAura`, `EffectAmplitude`, `EffectAttributes`, `EffectAuraPeriod`, `EffectBonusCoefficient`, `EffectChainAmplitude`, `EffectChainTargets`, `EffectItemType`, `EffectMechanic`, `EffectPointsPerResource`, `EffectPosFacing`, `EffectRealPointsPerLevel`, `EffectTriggerSpell`, `BonusCoefficientFromAP`, `PvpMultiplier`, `Coefficient`, `Variance`, `ResourceCoefficient`, `GroupSizeBasePointsCoefficient`, `EffectBasePoints`, `EffectMiscValue1`, `EffectMiscValue2`, `EffectRadiusIndex1`, `EffectRadiusIndex2`, `EffectSpellClassMask1`, `EffectSpellClassMask2`, `EffectSpellClassMask3`, `EffectSpellClassMask4`, `ImplicitTarget1`, `ImplicitTarget2`) VALUES +(130999,0,0,134,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,66646,0,0,0,0,0,0,0,1,0); + +DELETE FROM `spell_script_names` WHERE `ScriptName` IN ('spell_rappelling_rope', 'spell_rappelling_rope_aura'); +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(130960, 'spell_rappelling_rope'), +(130970, 'spell_rappelling_rope_aura'); + +-- Misc +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=34 AND `SourceEntry`=18902; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ConditionStringValue1`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(34, 0, 18902, 0, 0, 47, 0, 31766, 2 | 8, 0, '', 0, 0, 0, '', 'Satisfy player condition if quest 31766 is taken | completed'); diff --git a/sql/updates/world/master/2025_09_01_00_world.sql b/sql/updates/world/master/2025_09_01_00_world.sql new file mode 100644 index 000000000..5647cf49f --- /dev/null +++ b/sql/updates/world/master/2025_09_01_00_world.sql @@ -0,0 +1,3 @@ +DELETE FROM `trinity_string` WHERE `entry`=810; +INSERT INTO `trinity_string` (`entry`,`content_default`) VALUES +(810,'Tab %u'); diff --git a/sql/updates/world/master/2025_09_01_01_world.sql b/sql/updates/world/master/2025_09_01_01_world.sql new file mode 100644 index 000000000..073432b56 --- /dev/null +++ b/sql/updates/world/master/2025_09_01_01_world.sql @@ -0,0 +1,8 @@ +DELETE FROM `spell_script_names` WHERE `ScriptName` = 'spell_warr_cold_steel_hot_blood_bloodthirst'; +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(23881, 'spell_warr_cold_steel_hot_blood_bloodthirst'), +(335096, 'spell_warr_cold_steel_hot_blood_bloodthirst'); + +DELETE FROM `spell_proc` WHERE `SpellId` IN (383959); +INSERT INTO `spell_proc` (`SpellId`,`SchoolMask`,`SpellFamilyName`,`SpellFamilyMask0`,`SpellFamilyMask1`,`SpellFamilyMask2`,`SpellFamilyMask3`,`ProcFlags`,`ProcFlags2`,`SpellTypeMask`,`SpellPhaseMask`,`HitMask`,`AttributesMask`,`DisableEffectsMask`,`ProcsPerMinute`,`Chance`,`Cooldown`,`Charges`) VALUES +(383959,0x01,4,0x00000000,0x00000400,0x00000000,0x00000000,0x0,0x0,0x1,0x2,0x2,0x0,0x0,0,0,0,0); -- Cold Steel, Hot Blood