fix(DB/smart_scripts): Improved redrige mountains (#3613)

This commit is contained in:
Knindza
2020-11-08 23:40:03 +01:00
committed by GitHub
parent 34751b96cf
commit e5fc4fcabd

View File

@@ -0,0 +1,17 @@
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1603642864767142300');
/*
* Zone: Redrige Mountains
* Update by Knindza | <www.azerothcore.org>
* Copyright (C) <www.shadowburn.net> & <www.lichbane.com>
*/
/* SMARTSCRIPT */
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 14273;
DELETE FROM `smart_scripts` WHERE (source_type = 0 AND entryorguid = 14273);
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
(14273, 0, 0, 0, 0, 0, 100, 0, 3100, 4700, 9600, 12700, 11, 9483, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Boulderheart - In Combat - Cast \'9483\'');
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 14272;
DELETE FROM `smart_scripts` WHERE (source_type = 0 AND entryorguid = 14272);
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
(14272, 0, 0, 0, 0, 0, 100, 0, 2800, 3400, 9600, 11200, 11, 8873, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Snarlflare - In Combat - Cast \'8873\'');