prev commit sql

This commit is contained in:
luis
2026-09-22 11:05:33 -03:00
parent b76377791b
commit 4995d2ad14
@@ -0,0 +1,132 @@
UPDATE `creature_template` SET `ScriptName` = 'boss_gorgroth' WHERE `entry` = 156814;
UPDATE `creature_template` SET `ScriptName` = 'boss_ravnyr' WHERE `entry` = 156501;
DELETE FROM `creature_text` WHERE `CreatureID` IN (156814, 156501);
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `SoundPlayType`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(156814, 0, 0, 'Ravnyr will destroy you all!', 14, 0, 100, 0, 0, 0, 0, 0, 0, 'Gor''groth - Aggro'),
(156814, 1, 0, 'We... will be... the final sacrifice!', 14, 0, 100, 0, 0, 0, 0, 0, 0, 'Gor''groth - Sacrifice'),
(156501, 0, 0, 'Foolish ogre! You have given me nowhere near enough power!', 14, 0, 100, 0, 0, 0, 0, 0, 0, 'Ravnyr - Aggro'),
(156501, 1, 0, 'Pathetic mortals. Your deaths will nourish me!', 14, 0, 100, 0, 0, 0, 0, 0, 0, 'Ravnyr - Slay');
-- Amirdrassil, Vault of the Incarnates (Sennarth) and De Other Side script bindings.
-- Without ScriptName the creature AI never runs. Without instance_template.script the encounter state is not saved.
UPDATE `creature_template` SET `ScriptName` = 'boss_gnarlroot' WHERE `entry` = 209333;
UPDATE `creature_template` SET `ScriptName` = 'boss_igira_the_cruel' WHERE `entry` = 200926;
UPDATE `creature_template` SET `ScriptName` = 'boss_volcoross' WHERE `entry` = 208478;
UPDATE `creature_template` SET `ScriptName` = 'boss_urctos' WHERE `entry` = 208363;
UPDATE `creature_template` SET `ScriptName` = 'boss_aerwynn' WHERE `entry` = 208365;
UPDATE `creature_template` SET `ScriptName` = 'boss_pip' WHERE `entry` = 208367;
UPDATE `creature_template` SET `ScriptName` = 'boss_larodar_keeper_of_the_flame' WHERE `entry` = 208445;
UPDATE `creature_template` SET `ScriptName` = 'boss_nymue_weaver_of_the_cycle' WHERE `entry` = 206172;
UPDATE `creature_template` SET `ScriptName` = 'boss_smolderon' WHERE `entry` = 200927;
UPDATE `creature_template` SET `ScriptName` = 'boss_tindral_sageswift_seer_of_the_flame' WHERE `entry` = 209090;
UPDATE `creature_template` SET `ScriptName` = 'boss_fyrakk_the_blazing' WHERE `entry` = 204931;
UPDATE `instance_template` SET `script` = 'instance_amirdrassil_the_dreams_hope' WHERE `map` = 2549;
INSERT INTO `instance_template` (`map`, `parent`, `script`, `insideResurrection`)
SELECT 2549, 0, 'instance_amirdrassil_the_dreams_hope', 0 FROM DUAL
WHERE NOT EXISTS (SELECT 1 FROM `instance_template` WHERE `map` = 2549);
UPDATE `creature_template` SET `ScriptName` = 'boss_sennarth' WHERE `entry` = 187967;
UPDATE `instance_template` SET `script` = 'instance_vault_of_the_incarnates' WHERE `map` = 2522;
INSERT INTO `instance_template` (`map`, `parent`, `script`, `insideResurrection`)
SELECT 2522, 0, 'instance_vault_of_the_incarnates', 0 FROM DUAL
WHERE NOT EXISTS (SELECT 1 FROM `instance_template` WHERE `map` = 2522);
UPDATE `creature_template` SET `ScriptName` = 'boss_hakkar_the_soulflayer_os' WHERE `entry` = 164558;
UPDATE `creature_template` SET `ScriptName` = 'boss_the_manastorms' WHERE `entry` IN (164556, 164555);
UPDATE `creature_template` SET `ScriptName` = 'boss_dealer_xyexa' WHERE `entry` = 164450;
UPDATE `creature_template` SET `ScriptName` = 'boss_muehzala' WHERE `entry` = 166608;
UPDATE `instance_template` SET `script` = 'instance_de_other_side' WHERE `map` = 2291;
INSERT INTO `instance_template` (`map`, `parent`, `script`, `insideResurrection`)
SELECT 2291, 0, 'instance_de_other_side', 0 FROM DUAL
WHERE NOT EXISTS (SELECT 1 FROM `instance_template` WHERE `map` = 2291);
REPLACE INTO `areatrigger_create_properties_orbit` (`AreaTriggerCreatePropertiesId`, `IsCustom`, `ExtraTimeForBlending`, `CircleRadius`, `BlendFromRadius`, `InitialAngle`, `ZOffset`, `CounterClockwise`, `CanLoop`, `VerifiedBuild`) VALUES
(31874, 0, 0, 15, 14.99997234344482421, 1.714424490928649902, 0, 0, 0, 69875); -- Spell: 433766 (Eye of the Swarm)
INSERT IGNORE INTO `conversation_actors` (`ConversationId`, `ConversationActorId`, `Idx`, `CreatureId`, `CreatureDisplayInfoId`, `NoActorObject`, `ActivePlayerObject`, `VerifiedBuild`) VALUES
(115723), -- Full: 0x2041F14C80D25BC001257E000032727D Creature/0 R4220/S75134 Map: 2660 (Ara-Kara, City of Echoes) Entry: 215407 (Ki'katal the Harvester) Low: 3306109
(15668, 76253, 0, 162804, 115723, 0, 0, 69875), -- Full: 0x203B1915C09EFD000420300000326EA9 Creature/0 R3782/S270384 Map: 2222 (The Shadowlands) Entry: 162804 (Ve'nari) Low: 3305129
(26371, 96026, 0, 215405, 115723, 0, 0, 69875),
(15664, 76253, 0, 162804, 95004, 0, 0, 69875),
(15663, 76253, 0, 162804, 95004, 0, 0, 69875),
(15662, 76253, 0, 162804, 95004, 0, 0, 69875),
(15507, 76253, 0, 0, 0, 0, 0, 69875), -- Full: 0x0
(15665, 76253, 0, 162804, 95004, 0, 0, 69875),
(16869, 73604, 0, 175559, 101866, 0, 0, 69875);
DELETE FROM `conversation_line_template` WHERE `Id`=42683;
INSERT INTO `conversation_line_template` (`Id`, `UiCameraID`, `ActorIdx`, `Flags`, `ChatType`, `VerifiedBuild`) VALUES
(42683, 1588, 0, 0, 0, 69875);
DELETE FROM `conversation_template` WHERE `Id` IN (25181, 26371, 15507, 15665, 15664, 15663, 15662, 15668);
INSERT INTO `conversation_template` (`Id`, `FirstLineID`, `TextureKitId`, `VerifiedBuild`) VALUES
(25181, 68556, 0, 69875),
(26371, 71951, 0, 69875),
(15507, 38903, 0, 69875),
(15665, 39300, 0, 69875),
(15664, 39299, 0, 69875),
(15663, 39298, 0, 69875),
(15662, 39297, 0, 69875),
(15668, 39303, 0, 69875);
UPDATE `conversation_template` SET `FirstLineID`=42683 WHERE `Id`=16869;
DELETE FROM `world_quest_template` WHERE `QuestID` IN (58981 /*Hardened Hive*/, 54601 /*Ragebeak*/, 64974 /*Clean Up, Automa Aisle*/, 51467 /*Hyo'gi*/, 64854 /*Trappings of Success*/, 82964 /*Hillhelm Family: Uncle's Eye*/, 82963 /*Hillhelm Family: Lil Piggy*/, 51588 /*Familiar Foes*/, 56386 /*Elderspawn of Nalaada*/, 51461 /*Deathcap*/, 52200 /*Turtle Tactics*/, 55825 /*Bounty: A Few Fathom Rays*/, 65252 /*Stomp It Now*/, 58990 /*Titanus Egg*/, 65177 /*Fruit of the Bloom*/, 82995 /*Nerubian Device*/, 82966 /*Hillhelm Family: Unusual Potato*/, 51385 /*A Supply of Stingers*/, 82961 /*Hillhelm Family: The Chicken*/);
INSERT INTO `world_quest_template` (`QuestID`, `Duration`, `VariableID`, `Value`) VALUES
(58981, 86400, 18721, 1), -- Hardened Hive
(54601, 86400, 16889, 1), -- Ragebeak
(64974, 86400, 21351, 1), -- Clean Up, Automa Aisle
(51467, 86400, 15239, 1), -- Hyo'gi
(64854, 86400, 21241, 1), -- Trappings of Success
(82964, 604800, 23011, 1), -- Hillhelm Family: Uncle's Eye
(82963, 604800, 23011, 1), -- Hillhelm Family: Lil Piggy
(51588, 86400, 15490, 1), -- Familiar Foes
(56386, 86400, 17787, 6), -- Elderspawn of Nalaada
(51461, 86400, 15237, 1), -- Deathcap
(52200, 86400, 15660, 1), -- Turtle Tactics
(55825, 86400, 17520, 1), -- Bounty: A Few Fathom Rays
(65252, 86400, 21377, 1), -- Stomp It Now
(58990, 86400, 18722, 1), -- Titanus Egg
(65177, 86400, 21353, 1), -- Fruit of the Bloom
(82995, 604800, 23011, 1), -- Nerubian Device
(82966, 604800, 23011, 1), -- Hillhelm Family: Unusual Potato
(51385, 86400, 15206, 1), -- A Supply of Stingers
(82961, 604800, 23011, 1); -- Hillhelm Family: The Chicken
DELETE FROM `creature_template_difficulty` WHERE (`DifficultyID`=205 AND `Entry` IN (224552,218324,217533,216413,216293,216336,253060));
INSERT INTO `creature_template_difficulty` (`Entry`, `DifficultyID`, `HealthScalingExpansion`, `HealthModifier`, `ManaModifier`, `CreatureDifficultyID`, `TypeFlags`, `TypeFlags2`, `TypeFlags3`) VALUES
(224552, 205, 10, 1500, 1, 275475, 0x0, 67108928, 0), -- Rasha'nan
(218324, 205, 10, 10, 1, 267828, 0x200048, 2147483648, 0), -- Nakt
(217533, 205, 10, 12, 1, 267026, 0x200048, 2147483648, 0), -- Atik
(216413, 205, 10, 1, 1, 265899, 0x60000010, 6, 0), -- [DNT] Spawner
(216293, 205, 10, 4.5, 1, 265779, 0x200048, 0, 0), -- Trilling Attendant
(216336, 205, 10, 1.279999971389770507, 1, 265822, 0x200048, 0, 0), -- Ravenous Crawler
(253060, 205, 11, 1, 1, 333916, 0x0, 0, 0); -- El-ahrairah
DELETE FROM `creature_template_difficulty` WHERE (`DifficultyID`=205 AND `Entry` IN (253060,216293,218324,217533,224552,216413,216336));
INSERT INTO `creature_template_difficulty` (`Entry`, `DifficultyID`, `LevelScalingDeltaMin`, `LevelScalingDeltaMax`, `ContentTuningID`, `StaticFlags1`, `StaticFlags2`, `StaticFlags3`, `StaticFlags4`, `StaticFlags5`, `StaticFlags6`, `StaticFlags7`, `StaticFlags8`, `VerifiedBuild`) VALUES
(253060, 205, 0, 0, 181, 0x100, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 69875), -- 253060 (El-ahrairah) - Sessile
(216293, 205, 0, 0, 2893, 0x10000000, 0x0, 0x0, 0x2000000, 0x0, 0x0, 0x0, 0x0, 69875), -- 216293 (Trilling Attendant) - CanSwim - HideInCombatLog
(218324, 205, 1, 1, 2893, 0x10000100, 0x0, 0x0, 0x2000000, 0x0, 0x0, 0x0, 0x0, 69875), -- 218324 (Nakt) - Sessile, CanSwim - HideInCombatLog
(217533, 205, 1, 1, 2893, 0x10000100, 0x0, 0x0, 0x2000000, 0x0, 0x0, 0x0, 0x0, 69875), -- 217533 (Atik) - Sessile, CanSwim - HideInCombatLog
(224552, 205, 3, 3, 2893, 0x30000000, 0x0, 0x4, 0x0, 0x1, 0x0, 0x0, 0x0, 69875), -- 224552 (Rasha'nan) - CanSwim, Floating - DoNotFadeIn - UntargetableByClient
(216413, 205, 0, 0, 2893, 0x100, 0x0, 0x0, 0x0, 0x1, 0x0, 0x0, 0x0, 69875), -- 216413 ([DNT] Spawner) - Sessile - UntargetableByClient
(216336, 205, 0, 0, 2893, 0x10000000, 0x0, 0x4, 0x2000000, 0x0, 0x0, 0x0, 0x0, 69875); -- 216336 (Ravenous Crawler) - CanSwim - DoNotFadeIn - HideInCombatLog
UPDATE `creature_model_info` SET `BoundingRadius`=3.728271484375, `CombatReach`=3 WHERE `DisplayID`=114552;
UPDATE `creature_model_info` SET `BoundingRadius`=0.310000002384185791, `CombatReach`=1 WHERE `DisplayID`=24107;
UPDATE `creature_model_info` SET `BoundingRadius`=1.256006956100463867, `CombatReach`=1 WHERE `DisplayID`=96826;
UPDATE `creature_template_model` SET `CreatureDisplayID`=11686 WHERE (`Idx`=1 AND `CreatureID` IN (179114,247012,180358,180347,70528,177525)) OR (`Idx`=0 AND `CreatureID` IN (43499,216413));
UPDATE `creature_template_model` SET `CreatureDisplayID`=27823 WHERE (`Idx`=1 AND `CreatureID` IN (230874,253060,172631,180633));