fix(DB/Creature): skills/movement to Razorbeak Gryphon and Razorbeak Skylord (#7026)

I added the skills Rend Flesh and Wing Flap on both of them as the source indicates

- Closes #6798
This commit is contained in:
Asthalor
2021-07-23 15:04:37 +02:00
committed by GitHub
parent c7dd99f7c3
commit 9e1c8b3fad

View File

@@ -0,0 +1,27 @@
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1626690253021473300');
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` IN ( 2658, 2659);
-- Added Rend Flesh and Wing Flap on Razorbeak Gryphon
DELETE FROM `smart_scripts` WHERE (`entryorguid` = 2658) AND (`source_type` = 0) AND (`id` IN (0, 1));
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`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(2658, 0, 0, 0, 0, 0, 100, 0, 1000, 2000, 14000, 14000, 0, 11, 3147, 0, 1, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Razorbeak Gryphon - In Combat - Cast \'Rend Flesh\' Every 14 seconds'),
(2658, 0, 1, 0, 0, 0, 100, 0, 5000, 6000, 10000, 10000, 0, 11, 11019, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Razorbeak Gryphon - In Combat - Cast \'Wing Flap\' Every 10 seconds');
-- Added Rend Flesh and Wing Flap on Razorbeak Skylord
DELETE FROM `smart_scripts` WHERE (`entryorguid` = 2659) AND (`source_type` = 0) AND (`id` IN (0, 1));
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`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(2659, 0, 0, 0, 0, 0, 100, 0, 1000, 2000, 14000, 14000, 0, 11, 3147, 0, 1, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Razorbeak Gryphon - In Combat - Cast \'Rend Flesh\' Every 14 seconds'),
(2659, 0, 1, 0, 0, 0, 100, 0, 5000, 6000, 10000, 10000, 0, 11, 11019, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Razorbeak Gryphon - In Combat - Cast \'Wing Flap\' Every 10 seconds');
-- Added movement for Razorbeak Gryphon
UPDATE `creature` SET `wander_distance` = 5, `MovementType` = 1 WHERE `guid` = 93550;
-- Added movement for Razorbeak Skylord
UPDATE `creature` SET `wander_distance` = 5, `MovementType` = 1 WHERE `guid` = 93612;
UPDATE `creature` SET `wander_distance` = 10, `MovementType` = 1 WHERE `guid` = 93615;