mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-27 15:46:24 +00:00
fix(DB/SAI): Teldrassil missing SAI (#1750)
* Added SAI for creatures in Teldrassil
This commit is contained in:
@@ -0,0 +1,55 @@
|
||||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1556033550219221000');
|
||||
|
||||
-- Creating a new SmartAI script for [Creature] ENTRY 1998 (name: Webwood Lurker)
|
||||
|
||||
-- Table creature_template
|
||||
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 1998;
|
||||
|
||||
-- Table smart_scripts
|
||||
DELETE FROM `smart_scripts` WHERE (source_type = 0 AND entryorguid = 1998);
|
||||
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
|
||||
(1998, 0, 0, 0, 0, 0, 100, 0, 2300, 2300, 17600, 17600, 11, 744, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Webwood Lurker - In Combat - Cast \'744\'');
|
||||
|
||||
-- Creating a new SmartAI script for [Creature] ENTRY 2008 (name: Gnarlpine Warrior)
|
||||
|
||||
-- Table creature_template
|
||||
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 2008;
|
||||
|
||||
-- Table smart_scripts
|
||||
DELETE FROM `smart_scripts` WHERE (source_type = 0 AND entryorguid = 2008);
|
||||
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
|
||||
(2008, 0, 0, 0, 0, 0, 100, 0, 3300, 3300, 15800, 15800, 11, 11976, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Gnarlpine Warrior - In Combat - Cast \'11976\'');
|
||||
|
||||
|
||||
-- Creating a new SmartAI script for [Creature] ENTRY 2025 (name: Timberling Bark Ripper)
|
||||
|
||||
-- Table creature_template
|
||||
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 2025;
|
||||
|
||||
-- Table smart_scripts
|
||||
DELETE FROM `smart_scripts` WHERE (source_type = 0 AND entryorguid = 2025);
|
||||
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
|
||||
(2025, 0, 0, 0, 0, 0, 50, 0, 3700, 3700, 14100, 14100, 11, 6016, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Timberling Bark Ripper - In Combat - Cast \'6016\'');
|
||||
|
||||
|
||||
-- Creating a new SmartAI script for [Creature] ENTRY 1999 (name: Webwood Venomfang)
|
||||
|
||||
-- Table creature_template
|
||||
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 1999;
|
||||
|
||||
-- Table smart_scripts
|
||||
DELETE FROM `smart_scripts` WHERE (source_type = 0 AND entryorguid = 1999);
|
||||
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
|
||||
(1999, 0, 0, 0, 0, 0, 100, 0, 3100, 3100, 18200, 18200, 11, 744, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Webwood Venomfang - In Combat - Cast \'744\'');
|
||||
|
||||
-- Creating a new SmartAI script for [Creature] ENTRY 2001 (name: Giant Webwood Spider)
|
||||
|
||||
-- Table creature_template
|
||||
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 2001;
|
||||
|
||||
-- Table smart_scripts
|
||||
DELETE FROM `smart_scripts` WHERE (source_type = 0 AND entryorguid = 2001);
|
||||
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
|
||||
(2001, 0, 0, 0, 11, 0, 100, 0, 0, 0, 0, 0, 11, 6752, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Giant Webwood Spider - On Respawn - Cast \'6752\''),
|
||||
(2001, 0, 1, 0, 0, 0, 100, 0, 6000, 6000, 12800, 12800, 11, 744, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Giant Webwood Spider - In Combat - Cast \'744\''),
|
||||
(2001, 0, 2, 0, 0, 0, 100, 0, 7500, 7500, 15000, 15000, 11, 745, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Giant Webwood Spider - In Combat - Cast \'745\'');
|
||||
Reference in New Issue
Block a user