fix(DB/smart_scripts): Improved Wetlands (#3622)

This commit is contained in:
Knindza
2020-11-12 20:41:18 +01:00
committed by GitHub
parent 740d459b3a
commit 6fd4860902

View File

@@ -0,0 +1,33 @@
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1603644044194630800');
/*
* Zone: Wetlands
* Update by Knindza | <www.azerothcore.org>
* Copyright (C) <www.shadowburn.net> & <www.lichbane.com>
*/
/* SMARTSCRIPT */
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 5683;
DELETE FROM `smart_scripts` WHERE (source_type = 0 AND entryorguid = 5683);
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
(5683, 0, 0, 0, 0, 0, 100, 0, 2700, 3400, 8900, 9600, 11, 3391, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Comar Villard - In Combat - Cast \'3391\''),
(5683, 0, 1, 0, 2, 0, 100, 1, 5, 30, 0, 0, 11, 12540, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Comar Villard - Between 5-30% Health - Cast \'12540\' (No Repeat)');
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 1400;
DELETE FROM `smart_scripts` WHERE (source_type = 0 AND entryorguid = 1400);
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
(1400, 0, 0, 0, 4, 0, 100, 1, 0, 0, 0, 0, 11, 50433, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Wetlands Crocolisk - On Aggro - Cast \'50433\' (No Repeat)');
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 1020;
DELETE FROM `smart_scripts` WHERE (source_type = 0 AND entryorguid = 1020);
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
(1020, 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, 'Mottled Raptor - In Combat - Cast \'51772\'');
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 1039;
DELETE FROM `smart_scripts` WHERE (source_type = 0 AND entryorguid = 1039);
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
(1039, 0, 0, 0, 0, 0, 100, 0, 3800, 6900, 13800, 15700, 11, 3391, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Fen Dweller - In Combat - Cast \'3391\'');
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 1417;
DELETE FROM `smart_scripts` WHERE (source_type = 0 AND entryorguid = 1417);
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
(1417, 0, 0, 0, 4, 0, 100, 1, 0, 0, 0, 0, 11, 50433, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Young Wetlands Crocolisk - On Aggro - Cast \'50433\' (No Repeat)');