fix(DB/Creature): Silithus (#3249)

This commit is contained in:
Knindza
2020-08-26 18:47:36 +02:00
committed by GitHub
parent b33652046a
commit e6b49e4ae0

View File

@@ -0,0 +1,42 @@
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1596557480665706400');
/*
* Zone: Silithus
* Update by Knindza | <www.azerothcore.org>
* Copyright (C) <www.shadowburn.net> & <www.lichbane.com>
*/
/* SMARTSCRIPT */
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 11721;
DELETE FROM `smart_scripts` WHERE (source_type = 0 AND entryorguid = 11721);
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
(11721, 0, 0, 0, 0, 0, 100, 0, 2700, 3200, 32700, 33200, 11, 744, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Hive\'Ashi Worker - In Combat - Cast \'744\'');
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 11724;
DELETE FROM `smart_scripts` WHERE (source_type = 0 AND entryorguid = 11724);
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
(11724, 0, 0, 0, 0, 0, 100, 0, 2600, 3300, 9600, 12400, 11, 3391, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Hive\'Ashi Swarmer - In Combat - Cast \'3391\'');
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 11698;
DELETE FROM `smart_scripts` WHERE (source_type = 0 AND entryorguid = 11698);
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
(11698, 0, 0, 0, 0, 0, 100, 0, 2400, 3900, 12400, 13900, 11, 13496, 32, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Hive\'Ashi Stinger - In Combat - Cast \'13496\'');
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 12199;
DELETE FROM `smart_scripts` WHERE (source_type = 0 AND entryorguid = 12199);
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
(12199, 0, 0, 0, 4, 0, 100, 0, 0, 0, 0, 0, 11, 24313, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Shade of Ambermoon - On Aggro - Cast \'24313\'');
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 11731;
DELETE FROM `smart_scripts` WHERE (source_type = 0 AND entryorguid = 11731);
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
(11731, 0, 0, 0, 2, 0, 100, 1, 30, 60, 0, 0, 11, 29506, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Hive\'Regal Burrower - Between 30-60% Health - Cast \'29506\' (No Repeat)');
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 11726;
DELETE FROM `smart_scripts` WHERE (source_type = 0 AND entryorguid = 11726);
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
(11726, 0, 0, 0, 0, 0, 100, 0, 2700, 3600, 11700, 14300, 11, 14120, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Hive\'Zora Tunneler - In Combat - Cast \'14120\'');
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 11725;
DELETE FROM `smart_scripts` WHERE (source_type = 0 AND entryorguid = 11725);
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
(11725, 0, 0, 0, 0, 0, 100, 0, 2700, 3800, 9600, 12800, 11, 3391, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Hive\'Zora Waywatcher - In Combat - Cast \'3391\'');