This commit is contained in:
luis
2026-07-28 03:41:01 -03:00
parent f1547bf73a
commit 960807768e
@@ -0,0 +1,49 @@
UPDATE `creature_template` SET `ScriptName`='npc_brann_bronzebeard_delves' WHERE `entry`=210759;
UPDATE `quest_objectives` SET `Type`=0 WHERE `ID`=455367;
-- Reno Jackson smart ai
SET @ENTRY := 226250;
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, 64, 0, 100, 0, 0, 0, 0, 0, 0, 33, 226250, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'On player opened gossip - Gossip player: Give kill credit Reno Jackson (226250)', '');
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 22 AND `SourceEntry` = 226250 AND `SourceId` = 0;
SET @ENTRY := 208070;
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, 64, 0, 100, 0, 0, 0, 0, 0, 0, 33, 208070, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'On player opened gossip - Gossip player: Give kill credit Reno Jackson (208070)', '');
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 22 AND `SourceEntry` = 208070 AND `SourceId` = 0;
UPDATE `quest_objectives` SET `Type`=0 WHERE `ID`=455368;
DELETE FROM `quest_template_addon` WHERE `ID` IN (81595, 81596, 83500, 84224);
INSERT INTO `quest_template_addon` (`ID`, `PrevQuestID`, `NextQuestId`) VALUES
(81595, 0, 81596),
(81596, 81595, 83500),
(83500, 81596, 84224),
(84224, 83500, 0);
DELETE FROM `creature` WHERE `guid`=729449;
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 (729449, 226763, 2552, 14771, 14771, '0', 0, 0, 0, -1, 0, 0, 2682.66, -2527.85, 220.897, 4.31632, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0);
-- Naleidea Rivergleam smart ai
SET @ENTRY := 226763;
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, 64, 0, 100, 0, 0, 0, 0, 0, 0, 33, 226763, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'On player opened gossip - Gossip player: Give kill credit Naleidea Rivergleam (226763)', '');
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 22 AND `SourceEntry` = 226763 AND `SourceId` = 0;
DELETE FROM `delve_template` WHERE `id`=5;
INSERT INTO `delve_template` (`id`, `mapId`, `scenarioId`, `mapChallengeModeId`, `zoneId`, `factionId`, `gossipMenuId`, `lfgDungeonsId`, `broadcastTextId`, `firstTierGossipOptionId`, `entryX`, `entryY`, `entryZ`, `entryO`, `exitX`, `exitY`, `exitZ`, `exitO`, `activeScenarioId`, `rewardScenarioId`, `worldState26903`, `companionSpawnX`, `companionSpawnY`, `companionSpawnZ`, `companionSpawnO`) VALUES (5, 2682, 2411, 0, 15001, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -130.993, 15.722, 8.108, 0);
UPDATE `delve_template` SET `lfgDungeonsId`=2437 WHERE `id`=1;