fix(DB/smart_scripts): Improved Alterac Mountains (#3625)

This commit is contained in:
Knindza 2020-11-13 03:56:26 +01:00 committed by GitHub
parent 57ef047990
commit 1cae3835d5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,33 @@
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1603644190044708500');
/*
* Zone: Alterac Mountains
* Update by Knindza | <www.azerothcore.org>
* Copyright (C) <www.shadowburn.net> & <www.lichbane.com>
*/
/* SMARTSCRIPT */
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 2320;
DELETE FROM `smart_scripts` WHERE (source_type = 0 AND entryorguid = 2320);
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
(2320, 0, 0, 0, 0, 0, 100, 0, 2500, 3000, 6500, 7000, 11, 18797, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Nagaz - In Combat - Cast \'18797\'');
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 14223;
DELETE FROM `smart_scripts` WHERE (source_type = 0 AND entryorguid = 14223);
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
(14223, 0, 0, 0, 2, 0, 100, 1, 10, 40, 0, 0, 11, 26064, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Cranky Benj - Between 10-40% Health - Cast \'26064\' (No Repeat)');
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 2351;
DELETE FROM `smart_scripts` WHERE (source_type = 0 AND entryorguid = 2351);
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
(2351, 0, 0, 0, 0, 0, 100, 0, 2200, 2600, 7400, 8100, 11, 31279, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Gray Bear - In Combat - Cast \'31279\'');
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 2779;
DELETE FROM `smart_scripts` WHERE (source_type = 0 AND entryorguid = 2779);
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
(2779, 0, 0, 0, 4, 0, 100, 1, 0, 0, 0, 0, 11, 43107, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Prince Nazjak - On Aggro - Cast \'43107\' (No Repeat)'),
(2779, 0, 1, 0, 0, 0, 100, 0, 3800, 5400, 10900, 13100, 11, 17687, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Prince Nazjak - In Combat - Cast \'17687\'');
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 2578;
DELETE FROM `smart_scripts` WHERE (source_type = 0 AND entryorguid = 2578);
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
(2578, 0, 0, 0, 0, 0, 100, 0, 2300, 3000, 8400, 9100, 11, 51772, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Young Mesa Buzzard - In Combat - Cast \'51772\'');