The-Cataclysm-Preservation-Project / TrinityCore

Archived repository for WoW 4.3.4.15595. The project will be reworked for Cataclysm Classic as an official new branch of TrinityCore at https://github.com/TrinityCore/TrinityCore
GNU General Public License v2.0
237 stars 97 forks source link

Kezahn Island - Startarea Fixes #312

Closed JustZerooo closed 2 years ago

JustZerooo commented 2 years ago
-- This was a randomly moved training dummy that has no place there!
DELETE FROM `creature` WHERE `guid` = 251604;

 -- Fizz Lighter smart ai
SET @ENTRY := 34689;
DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryOrGuid` = @ENTRY;
UPDATE `creature_template` SET `AIName` = 'SmartAI', `ScriptName` = '' WHERE `entry` = @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`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(@ENTRY, 0, 0, 0, 1, 0, 100, 0, 5000, 5000, 6000, 6000, 11, 69608, 0, 0, 0, 0, 0, 19, 34696, 100, 0, 0, 0, 0, 0, 'Every 6 seconds (5s initially) (OOC) - Self: Cast spell 69608 on Closest alive creature Evol Fingers (34696) in 100 yards'),
(@ENTRY, 0, 1, 0, 64, 0, 100, 0, 0, 0, 0, 0, 10, 1, 3, 5, 6, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'On player opened gossip - Self: Play random emote: 1, 3, 5, 6,');

DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 22 AND `SourceEntry` = 34689 AND `SourceId` = 0;

 -- Evol Fingers smart ai
SET @ENTRY := 34696;
DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryOrGuid` = @ENTRY;
UPDATE `creature_template` SET `AIName` = 'SmartAI', `ScriptName` = '' WHERE `entry` = @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`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(@ENTRY, 0, 0, 0, 1, 0, 100, 1, 3000, 5000, 0, 0, 11, 11939, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Time between 3 - 5 seconds (OOC) - Self: Cast spell 11939 on Self'),
(@ENTRY, 0, 1, 0, 1, 0, 100, 0, 5000, 5000, 6000, 6000, 11, 69607, 0, 0, 0, 0, 0, 19, 34689, 100, 0, 0, 0, 0, 0, 'Every 6 seconds (5s initially) (OOC) - Self: Cast spell 69607 on Closest alive creature Fizz Lighter (34689) in 100 yards'),
(@ENTRY, 0, 2, 0, 64, 0, 100, 0, 0, 0, 0, 0, 10, 1, 3, 5, 6, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'On player opened gossip - Self: Play random emote: 1, 3, 5, 6,');

DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 22 AND `SourceEntry` = 34696 AND `SourceId` = 0;

DELETE FROM `creature_addon` WHERE `guid` IN(251721, 251716);
INSERT INTO `creature_addon` (`guid`, `bytes2`, `emote`) VALUES
('251721', '1', '375'),
('251716', '1', '375');

TrinityCore rev. 1ecaa9ab5ff8 2022-01-06 00:17:02 +0100