mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-21 20:56:23 +00:00
chore(DB): import pending SQL update file
Referenced commit(s): dbd78936bf
This commit is contained in:
305
data/sql/updates/db_world/2021_02_25_00.sql
Normal file
305
data/sql/updates/db_world/2021_02_25_00.sql
Normal file
@@ -0,0 +1,305 @@
|
||||
-- DB update 2021_02_21_06 -> 2021_02_25_00
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2021_02_21_06';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2021_02_21_06 2021_02_25_00 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1613848536903926000'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
|
||||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1613848536903926000');
|
||||
-- -------------------------------------Sparklematic Animation---------------------------------
|
||||
-- The Sparklematic 5200 SAI
|
||||
SET @ENTRY := 142487;
|
||||
UPDATE `gameobject_template` SET `AIName` = "SmartGameObjectAI" WHERE `entry` = @ENTRY;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid` = @ENTRY AND `source_type` = 1;
|
||||
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`,`event_param5`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_param4`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
|
||||
(@ENTRY,1,0,0,20,0,100,0,0,0,0,0,0,93,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"The Sparklematic 5200 - On Quest Finished - Send Custom Animation 0");
|
||||
|
||||
|
||||
-- The Sparklematic 5200 SAI
|
||||
SET @ENTRY := 175084;
|
||||
UPDATE `gameobject_template` SET `AIName` = "SmartGameObjectAI" WHERE `entry` = @ENTRY;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid` = @ENTRY AND `source_type` = 1;
|
||||
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`,`event_param5`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_param4`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
|
||||
(@ENTRY,1,0,0,20,0,100,0,0,0,0,0,0,93,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"The Sparklematic 5200 - On Quest Finished - Send Custom Animation 0");
|
||||
|
||||
|
||||
-- The Sparklematic 5200 SAI
|
||||
SET @ENTRY := 175085;
|
||||
UPDATE `gameobject_template` SET `AIName` = "SmartGameObjectAI" WHERE `entry` = @ENTRY;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid` = @ENTRY AND `source_type` = 1;
|
||||
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`,`event_param5`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_param4`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
|
||||
(@ENTRY,1,0,0,20,0,100,0,0,0,0,0,0,93,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"The Sparklematic 5200 - On Quest Finished - Send Custom Animation 0");
|
||||
|
||||
|
||||
UPDATE `creature_loot_template` SET `QuestRequired` = 0 WHERE `Item` = 9308;
|
||||
|
||||
|
||||
-- -------------------------------------------Creature Fixes------------------------------------------
|
||||
-- Caverndeep Burrower SAI
|
||||
SET @ENTRY := 6206;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid` = @ENTRY AND `source_type` = 0 AND `id` = 2;
|
||||
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`,`event_param5`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_param4`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
|
||||
(6206,0,2,0,8,0,100,0,9798,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,'Caverndeep Burrower - On Spell Hit - Say Line 0');
|
||||
|
||||
DELETE FROM `creature_text` WHERE `CreatureID` = @ENTRY;
|
||||
INSERT INTO `creature_text` (`CreatureID`,`GroupID`,`ID`,`Text`,`Type`,`Language`,`Probability`,`Emote`,`Duration`,`Sound`,`BroadcastTextId`,`TextRange`,`comment`) VALUES
|
||||
(@ENTRY,0,0,'%s is splashed by the blood and becomes irradiated!',16,0,100,0,0,0,3367,0,'Caverndeep Burrower ');
|
||||
|
||||
|
||||
-- Caverndeep Ambusher SAI
|
||||
SET @ENTRY := 6207;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid` = @ENTRY AND `source_type` = 0 AND `id` = 2;
|
||||
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`,`event_param5`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_param4`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
|
||||
(@ENTRY,0,2,0,8,0,100,0,9798,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,'Caverndeep Ambusher - On Spell Hit - Say Line 0');
|
||||
|
||||
DELETE FROM `creature_text` WHERE `CreatureID` = @ENTRY;
|
||||
INSERT INTO `creature_text` (`CreatureID`,`GroupID`,`ID`,`Text`,`Type`,`Language`,`Probability`,`Emote`,`Duration`,`Sound`,`BroadcastTextId`,`TextRange`,`comment`) VALUES
|
||||
(@ENTRY,0,0,'%s is splashed by the blood and becomes irradiated!',16,0,100,0,0,0,3367,0,'Caverndeep Ambusher');
|
||||
|
||||
|
||||
-- Caverndeep Invader SAI
|
||||
SET @ENTRY := 6208;
|
||||
UPDATE `creature_template` SET `AIName` = "SmartAI" WHERE `entry` = @ENTRY;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid` = @ENTRY AND `source_type` = 0;
|
||||
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`,`event_param5`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_param4`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
|
||||
(@ENTRY,0,0,0,8,0,100,0,9798,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"Caverndeep Invader - On Spellhit 'Radiation' - Say Line 0"),
|
||||
(@ENTRY,0,1,0,2,0,100,1,0,15,0,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"Caverndeep Invader - Between 0-15% Health - Flee For Assist (No Repeat)");
|
||||
|
||||
|
||||
-- Caverndeep Looter SAI
|
||||
SET @ENTRY := 6209;
|
||||
UPDATE `creature_template` SET `AIName` = "SmartAI" WHERE `entry` = @ENTRY;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid` = @ENTRY AND `source_type` = 0 AND `id` = 1;
|
||||
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`,`event_param5`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_param4`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
|
||||
(@ENTRY,0,1,0,8,0,100,0,9798,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"Caverndeep Looter - On Spellhit 'Radiation' - Say Line 0");
|
||||
|
||||
|
||||
-- Caverndeep Pillager SAI
|
||||
SET @ENTRY := 6210;
|
||||
UPDATE `creature_template` SET `AIName` = "SmartAI" WHERE `entry` = @ENTRY;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid` = @ENTRY AND `source_type` = 0;
|
||||
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`,`event_param5`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_param4`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
|
||||
(@ENTRY,0,0,0,25,0,100,0,0,0,0,0,0,11,8876,32,0,0,0,0,1,0,0,0,0,0,0,0,0,"Caverndeep Pillager - On Reset - Cast 'Thrash'"),
|
||||
(@ENTRY,0,1,0,9,0,100,0,0,5,24500,24500,0,11,1777,0,0,0,0,0,2,0,0,0,0,0,0,0,0,"Caverndeep Pillager - Within 0-5 Range - Cast 'Gouge'"),
|
||||
(@ENTRY,0,2,0,8,0,100,0,9798,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"Caverndeep Pillager - On Spellhit 'Radiation' - Say Line 0"),
|
||||
(@ENTRY,0,3,0,2,0,100,1,0,15,0,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"Caverndeep Pillager - Between 0-15% Health - Flee For Assist (No Repeat)");
|
||||
|
||||
|
||||
-- Caverndeep Reaver SAI
|
||||
SET @ENTRY := 6211;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid` = @ENTRY AND `source_type` = 0 AND `id` = 3;
|
||||
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`,`event_param5`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_param4`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
|
||||
(@ENTRY,0,3,0,8,0,100,0,9798,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,'Caverndeep Reaver - On Spell Hit - Say Line 0');
|
||||
|
||||
|
||||
-- Dark Iron Agent SAI
|
||||
SET @ENTRY := 6212;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid` = @ENTRY AND `source_type` = 0 AND `id` >= 1;
|
||||
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`,`event_param5`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_param4`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
|
||||
(@ENTRY,0,1,0,4,0,40,0,0,0,0,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"Dark Iron Agent - On Aggro - Say Line 1"),
|
||||
(@ENTRY,0,2,0,8,0,100,0,9798,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"Dark Iron Agent - On Spellhit 'Radiation' - Say Line 0");
|
||||
|
||||
DELETE FROM `creature_text` WHERE `CreatureID` = @ENTRY AND `GroupID` = 0 AND `id` = 0;
|
||||
INSERT INTO `creature_text` (`CreatureID`,`GroupID`,`ID`,`Text`,`Type`,`Language`,`Probability`,`Emote`,`Duration`,`Sound`,`BroadcastTextId`,`TextRange`,`comment`) VALUES
|
||||
(@ENTRY,0,0,'%s is splashed by the blood and becomes irradiated!',16,0,100,0,0,0,3367,0,'Dark Iron Agent');
|
||||
|
||||
|
||||
-- Irradiated Invader SAI -- Add abilities,visualspells and texts
|
||||
SET @ENTRY := 6213;
|
||||
UPDATE `creature_template` SET `AIName` = "SmartAI" WHERE `entry` = @ENTRY;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid` = @ENTRY AND `source_type` = 0;
|
||||
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`,`event_param5`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_param4`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
|
||||
(@ENTRY,0,0,0,25,0,100,0,0,0,0,0,0,11,9769,0,0,0,0,0,0,0,0,0,0,0,0,0,0,"Irradiated Invader - On Reset - Cast 'Radiation'"),
|
||||
(@ENTRY,0,1,0,25,0,100,0,0,0,0,0,0,11,21862,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"Irradiated Invader - On Reset - Cast 'Radiation'"),
|
||||
(@ENTRY,0,2,0,0,0,100,0,3600,7200,3600,7200,0,11,9771,0,0,0,0,0,2,0,0,0,0,0,0,0,0,"Irradiated Invader - In Combat - Cast 'Radiation Bolt'"),
|
||||
(@ENTRY,0,3,4,6,0,100,0,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"Irradiated Invader - On Just Died - Say Line 0"),
|
||||
(@ENTRY,0,4,0,61,0,100,0,0,0,0,0,0,11,9798,2,0,0,0,0,1,0,0,0,0,0,0,0,0,"Irradiated Invader - On Just Died - Cast 'Radiation'");
|
||||
|
||||
|
||||
-- Addled Leper
|
||||
SET @ENTRY := 6221;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid` = @ENTRY AND `source_type` = 0 AND `id` = 6;
|
||||
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`,`event_param5`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_param4`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
|
||||
(@ENTRY,0,6,0,4,0,40,0,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"Addled Leper - On Aggro - Say Line 0");
|
||||
|
||||
|
||||
-- Leprous Technician SAI
|
||||
SET @ENTRY := 6222;
|
||||
UPDATE `creature_template` SET `AIName` = "SmartAI" WHERE `entry` = @ENTRY;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid` = @ENTRY AND `source_type` = 0;
|
||||
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`,`event_param5`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_param4`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
|
||||
(@ENTRY,0,0,0,4,0,30,0,0,0,0,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,'Leprous Technician - On Aggro - Say Line 1'),
|
||||
(@ENTRY,0,1,0,0,0,100,0,5000,12000,9000,18000,0,11,12024,0,0,0,0,0,2,0,0,0,0,0,0,0,0,'Leprous Technician - In Combat - Cast Net'),
|
||||
(@ENTRY,0,2,0,0,0,100,0,5000,12000,9000,18000,0,11,13398,0,0,0,0,0,5,30,0,0,0,0,0,0,0,'Leprous Technician - In Combat - Cast Throw Wrench'),
|
||||
(@ENTRY,0,3,0,1,0,100,0,10000,45000,30000,70000,0,11,10348,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"Leprous Technician - Out of Combat - Cast 'Tune Up'"),
|
||||
(@ENTRY,0,4,0,8,0,100,0,9798,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"Leprous Technician - On Spellhit 'Radiation' - Say Line 0");
|
||||
|
||||
DELETE FROM `creature_text` WHERE `CreatureID` = @ENTRY;
|
||||
INSERT INTO `creature_text` (`CreatureID`,`GroupID`,`ID`,`Text`,`Type`,`Language`,`Probability`,`Emote`,`Duration`,`Sound`,`BroadcastTextId`,`TextRange`,`comment`) VALUES
|
||||
(@ENTRY,0,0,'%s is splashed by the blood and becomes irradiated!',16,0,100,0,0,0,3367,0,'Leprous Technician'),
|
||||
(@ENTRY,1,0,'No gnome will be left behind.',12,7,100,0,0,0,2422,0,'Leprous Technician'),
|
||||
(@ENTRY,1,1,'The troggs...they never stop coming. Die trogg! Die!',12,7,100,0,0,0,2423,0,'Leprous Technician'),
|
||||
(@ENTRY,1,2,'This sickness clouds my vision,but I know you must be a trogg. Die foul invader!',12,7,100,0,0,0,2424,0,'Leprous Technician'),
|
||||
(@ENTRY,1,3,'A foul trogg if ever I saw one. Die!',12,7,100,0,0,0,2425,0,'Leprous Technician');
|
||||
|
||||
|
||||
-- Leprous Defender SAI
|
||||
SET @ENTRY := 6223;
|
||||
UPDATE `creature_template` SET `AIName` = "SmartAI" WHERE `entry` = @ENTRY;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid` = @ENTRY AND `source_type` = 0;
|
||||
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`,`event_param5`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_param4`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
|
||||
(@ENTRY,0,0,0,4,0,30,0,0,0,0,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,'Leprous Defender - On Aggro - Say Line 1'),
|
||||
(@ENTRY,0,1,0,0,0,100,0,500,1000,2000,2500,0,11,6660,64,0,0,0,0,2,0,0,0,0,0,0,0,0,'Leprous Defender - In Combat - Cast Shoot'),
|
||||
(@ENTRY,0,2,0,0,0,100,0,5000,12000,9000,18000,0,11,14443,0,0,0,0,0,2,0,0,0,0,0,0,0,0,'Leprous Defender - In Combat - Cast Multi-Shot'),
|
||||
(@ENTRY,0,3,0,8,0,100,0,9798,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"Leprous Defender - On Spellhit 'Radiation' - Say Line 0");
|
||||
|
||||
|
||||
DELETE FROM `creature_text` WHERE `CreatureID` = @ENTRY;
|
||||
INSERT INTO `creature_text` (`CreatureID`,`GroupID`,`ID`,`Text`,`Type`,`Language`,`Probability`,`Emote`,`Duration`,`Sound`,`BroadcastTextId`,`TextRange`,`comment`) VALUES
|
||||
(@ENTRY,0,0,'%s is splashed by the blood and becomes irradiated!',16,0,100,0,0,0,3367,0,'Leprous Defender'),
|
||||
(@ENTRY,1,0,'No gnome will be left behind.',12,7,100,0,0,0,2422,0,'Leprous Defender'),
|
||||
(@ENTRY,1,1,'The troggs...they never stop coming. Die trogg! Die!',12,7,100,0,0,0,2423,0,'Leprous Defender'),
|
||||
(@ENTRY,1,2,'This sickness clouds my vision,but I know you must be a trogg. Die foul invader!',12,7,100,0,0,0,2424,0,'Leprous Defender'),
|
||||
(@ENTRY,1,3,'A foul trogg if ever I saw one. Die!',12,7,100,0,0,0,2425,0,'Leprous Defender');
|
||||
|
||||
|
||||
-- Leprous Machinesmith SAI
|
||||
SET @ENTRY := 6224;
|
||||
UPDATE `creature_template` SET `AIName` = "SmartAI" WHERE `entry` = @ENTRY;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid` = @ENTRY AND `source_type` = 0;
|
||||
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`,`event_param5`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_param4`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
|
||||
(@ENTRY,0,0,0,4,0,30,0,0,0,0,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,'Leprous Machinesmith - On Aggro - Say Line 1'),
|
||||
(@ENTRY,0,1,0,0,0,100,0,4000,5000,20000,25000,0,11,10732,0,0,0,0,0,19,6224,50,0,0,0,0,0,0,'Leprous Machinesmith - In Combat - Cast Supercharge'),
|
||||
(@ENTRY,0,2,0,0,0,100,0,2000,5000,4000,6000,0,11,13398,64,0,0,0,0,21,30,0,0,0,0,0,0,0,'Leprous Machinesmith - In Combat - Cast Throw Wrench'),
|
||||
(@ENTRY,0,3,0,2,0,100,1,0,90,0,0,0,11,10348,0,0,0,0,0,1,0,0,0,0,0,0,0,0,'Leprous Machinesmith - Between 0-90% Health - Cast Tune Up'),
|
||||
(@ENTRY,0,4,0,8,0,100,0,9798,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"Leprous Machinesmith - On Spellhit 'Radiation' - Say Line 0");
|
||||
|
||||
DELETE FROM `creature_text` WHERE `CreatureID` = @ENTRY;
|
||||
INSERT INTO `creature_text` (`CreatureID`,`GroupID`,`ID`,`Text`,`Type`,`Language`,`Probability`,`Emote`,`Duration`,`Sound`,`BroadcastTextId`,`TextRange`,`comment`) VALUES
|
||||
(@ENTRY,0,0,'%s is splashed by the blood and becomes irradiated!',16,0,100,0,0,0,3367,0,'Leprous Machinesmith'),
|
||||
(@ENTRY,1,0,'No gnome will be left behind.',12,7,100,0,0,0,2422,0,'Leprous Machinesmith'),
|
||||
(@ENTRY,1,1,'The troggs...they never stop coming. Die trogg! Die!',12,7,100,0,0,0,2423,0,'Leprous Machinesmith'),
|
||||
(@ENTRY,1,2,'This sickness clouds my vision,but I know you must be a trogg. Die foul invader!',12,7,100,0,0,0,2424,0,'Leprous Machinesmith'),
|
||||
(@ENTRY,1,3,'A foul trogg if ever I saw one. Die!',12,7,100,0,0,0,2425,0,'Leprous Machinesmith');
|
||||
|
||||
|
||||
-- Dark Iron Ambassador SAI
|
||||
SET @ENTRY := 6228;
|
||||
UPDATE `creature_template` SET `AIName` = "SmartAI" WHERE `entry` = @ENTRY;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid` = @ENTRY AND `source_type` = 0 AND `id` = 6;
|
||||
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`,`event_param5`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_param4`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
|
||||
(@ENTRY,0,6,0,8,0,100,0,9798,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"Dark Iron Ambassador - On Spellhit 'Radiation' - Say Line 0");
|
||||
|
||||
|
||||
-- Techbot - SAI Non-Elite in WOTLK
|
||||
SET @ENTRY := 6231;
|
||||
UPDATE `creature_template` SET `AIName` = "SmartAI" WHERE `entry` = @ENTRY;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid` = @ENTRY AND `source_type` = 0;
|
||||
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`,`event_param5`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_param4`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
|
||||
(@ENTRY,0,0,0,0,0,100,0,0,0,15000,15000,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"Techbot - In Combat - Say Line 0"),
|
||||
(@ENTRY,0,1,0,0,0,100,0,15000,15000,20000,25000,0,11,10852,0,0,0,0,0,2,0,0,0,0,0,0,0,0,"Techbot - In Combat - Cast 'Battle Net'"),
|
||||
(@ENTRY,0,2,0,0,0,100,0,4000,6000,20000,30000,0,11,10855,0,0,0,0,0,2,0,0,0,0,0,0,0,0,"Techbot - In Combat - Cast 'Lag'"),
|
||||
(@ENTRY,0,3,0,0,0,100,0,0,0,6000,9000,0,11,10858,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"Techbot - In Combat - Cast 'Summon Dupe Bug'"),
|
||||
(@ENTRY,0,4,0,2,0,100,0,0,50,25000,25000,0,11,10860,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"Techbot - Between 0-50% Health - Cast 'Patch'"),
|
||||
(@ENTRY,0,5,0,6,0,100,0,0,0,0,0,0,45,1,1,0,0,0,0,11,7732,15,0,0,0,0,0,0,'Techbot - On Just Died - Set Data |Dupe Bug|');
|
||||
|
||||
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 13 AND `SourceEntry` IN (10860,10852);
|
||||
INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorType`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES
|
||||
(13,3,10860,0,0,31,0,3,7732,0,0,0,0,'','Patch can only hit Dupe Bug'), -- Prevent Techbot instantly killing everyone including self
|
||||
(13,1,10852,0,0,31,0,4,0,0,0,0,0,'','Battle Net can only hit Players');
|
||||
|
||||
DELETE FROM `creature_text` WHERE `CreatureID` = @ENTRY;
|
||||
INSERT INTO `creature_text` (`CreatureID`,`GroupID`,`ID`,`Text`,`Type`,`Language`,`Probability`,`Emote`,`Duration`,`Sound`,`BroadcastTextId`,`TextRange`,`comment`) VALUES
|
||||
(@ENTRY,0,0,'There is no COW level!... really! I repeat: there is no COW level. Well,maby there is...',12,0,9,0,0,0,0,0,'Techbot'),
|
||||
(@ENTRY,0,1,'You are welcome,have a nice day.',12,0,9,0,0,0,0,0,'Techbot'),
|
||||
(@ENTRY,0,2,'Please be patient,we will call your name when it is your turn. We are helping people in the order they appear to us on the screen.',12,0,9,0,0,0,0,0,'Techbot'),
|
||||
(@ENTRY,0,3,'People think I like corndogs,but actually,they give me indigestion !!!',12,0,9,0,0,0,0,0,'Techbot'),
|
||||
(@ENTRY,0,4,'Techbot is sensitive and those words hurt my ears. :[ Please be nice to me. I just want to help.',12,0,9,0,0,0,0,0,'Techbot'),
|
||||
(@ENTRY,0,5,'I am a BOT. I have tons of information. To find out what I know whisper me.',12,0,9,0,0,0,0,0,'Techbot'),
|
||||
(@ENTRY,0,6,'When the rep is talking to you,he will start each line with your name. If you don\'t see your name,he\'s not speaking to you.',12,0,9,0,0,0,0,0,'Techbot'),
|
||||
(@ENTRY,0,7,'Remember,if you harass the rep or spam the channel,your account may be kicked,banned or worse.',12,0,9,0,0,0,0,0,'Techbot'),
|
||||
(@ENTRY,0,8,'If you have been muted,or have questions about the Muting/UnMuting process,please visit...zzzzttt!!',12,0,9,0,0,0,0,0,'Techbot'),
|
||||
(@ENTRY,0,9,'Some topics I can help you with are: | drivers | commands | lag | bots... zzzttt!',12,0,9,0,0,0,2435,0,'Techbot Random Speech'),
|
||||
(@ENTRY,0,10,'I love you too. :)',12,0,9,0,0,0,2437,0,'Techbot Random Speech'),
|
||||
(@ENTRY,0,11,'Please be patient,we will call your name when it is your turn.',12,0,9,0,0,0,2437,0,'Techbot Random Speech'),
|
||||
(@ENTRY,0,12,'We are helping people in the order they appear to us on our screen. $N!',12,0,9,0,0,0,2437,0,'Techbot Random Speech');
|
||||
|
||||
|
||||
-- Irradiated Pillager SAI -- Add visualspells and texts
|
||||
SET @ENTRY := 6329;
|
||||
UPDATE `creature_template` SET `AIName` = "SmartAI" WHERE `entry` = @ENTRY;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid` = @ENTRY AND `source_type` = 0;
|
||||
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`,`event_param5`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_param4`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
|
||||
(@ENTRY,0,0,0,25,0,100,0,0,0,0,0,0,75,9798,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"Irradiated Pillager - On Reset - Add Aura 'Radiation'"),
|
||||
(@ENTRY,0,1,0,0,0,100,0,3000,5000,10000,11000,0,11,9771,64,0,0,0,0,17,0,50,0,0,0,0,0,0,"Irradiated Pillager - In Combat CMC - Cast 'Radiation Bolt'"),
|
||||
(@ENTRY,0,2,0,2,0,100,1,0,50,0,0,0,11,8269,0,2,0,0,0,1,0,0,0,0,0,0,0,0,"Irradiated Pillager - Between 0-50% Health - Cast 'Frenzy' (No Repeat)"),
|
||||
(@ENTRY,0,3,0,25,0,100,0,0,0,0,0,0,11,21862,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"Irradiated Pillager - On Reset - Cast 'Radiation'"),
|
||||
(@ENTRY,0,4,5,6,0,100,0,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"Irradiated Pillager - On Just Died - Say Line 0"),
|
||||
(@ENTRY,0,5,0,61,0,100,0,0,0,0,0,0,11,9798,2,0,0,0,0,1,0,0,0,0,0,0,0,0,"Irradiated Pillager - On Just Died - Cast 'Radiation'");
|
||||
|
||||
DELETE FROM `creature_text` WHERE `CreatureID` = @ENTRY;
|
||||
INSERT INTO `creature_text` (`CreatureID`,`GroupID`,`ID`,`Text`,`Type`,`Language`,`Probability`,`Emote`,`Duration`,`Sound`,`BroadcastTextId`,`TextRange`,`comment`) VALUES
|
||||
(@ENTRY,0,0,'%s blood sprays into the air!',16,0,100,0,0,0,3131,0,'Irradiated Pillager');
|
||||
|
||||
|
||||
-- Holdout Warrior SAI
|
||||
SET @ENTRY := 6391;
|
||||
UPDATE `creature_template` SET `AIName` = "SmartAI" WHERE `entry` = @ENTRY;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid` = @ENTRY AND `source_type` = 0 AND `id`>= 3;
|
||||
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`,`event_param5`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_param4`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
|
||||
(@ENTRY,0,3,0,8,0,100,0,9798,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"Holdout Warrior - On Spellhit 'Radiation' - Say Line 0");
|
||||
|
||||
|
||||
-- Leprous Assistant SAI
|
||||
SET @ENTRY := 7603;
|
||||
UPDATE `creature_template` SET `AIName` = "SmartAI" WHERE `entry` = @ENTRY;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid` = @ENTRY AND `source_type` = 0;
|
||||
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`,`event_param5`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_param4`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
|
||||
(@ENTRY,0,0,0,4,0,30,0,0,0,0,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,'Leprous Assistant - On Aggro - Say Line 1'),
|
||||
(@ENTRY,0,1,0,0,0,100,0,5000,12000,9000,18000,0,11,12024,0,0,0,0,0,2,0,0,0,0,0,0,0,0,'Leprous Assistant - In Combat - Cast Net'),
|
||||
(@ENTRY,0,2,0,8,0,100,0,9798,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"Leprous Assistant - On Spellhit 'Radiation' - Say Line 0");
|
||||
|
||||
DELETE FROM `creature_text` WHERE `CreatureID` = @ENTRY;
|
||||
INSERT INTO `creature_text` (`CreatureID`,`GroupID`,`ID`,`Text`,`Type`,`Language`,`Probability`,`Emote`,`Duration`,`Sound`,`BroadcastTextId`,`TextRange`,`comment`) VALUES
|
||||
(@ENTRY,0,0,'%s is splashed by the blood and becomes irradiated!',16,0,100,0,0,0,3367,0,'Leprous Assistant '),
|
||||
(@ENTRY,1,0,'No gnome will be left behind.',12,7,100,0,0,0,2422,0,'Leprous Assistant'),
|
||||
(@ENTRY,1,1,'The troggs...they never stop coming. Die trogg! Die!',12,7,100,0,0,0,2423,0,'Leprous Assistant'),
|
||||
(@ENTRY,1,2,'This sickness clouds my vision,but I know you must be a trogg. Die foul invader!',12,7,100,0,0,0,2424,0,'Leprous Assistant'),
|
||||
(@ENTRY,1,3,'A foul trogg if ever I saw one. Die!',12,7,100,0,0,0,2425,0,'Leprous Assistant');
|
||||
|
||||
|
||||
-- Gnomeregan Evacuee
|
||||
SET @ENTRY := 7843;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid` = @ENTRY AND `source_type` = 0 AND `id` = 6;
|
||||
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`,`event_param5`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_param4`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
|
||||
(@ENTRY,0,6,0,6,0,100,0,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"Gnomeregan Evacuee - On Just Died - Say Line 0");
|
||||
|
||||
|
||||
-- Dupe Bugs - Remove existing world dupe bugs (these are summoned only)
|
||||
DELETE FROM `creature` WHERE `guid` IN (86352,86353);
|
||||
|
||||
|
||||
-- Dupe Bugs
|
||||
SET @ENTRY := 7732;
|
||||
UPDATE `creature_template` SET `AIName` = "SmartAI" WHERE `entry` = @ENTRY;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid` = @ENTRY AND `source_type` = 0;
|
||||
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`,`event_param5`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_param4`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
|
||||
(@ENTRY,0,0,0,38,0,100,0,1,1,0,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,'Dupe Bug - On Data Set - Despawn');
|
||||
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
39
data/sql/updates/db_world/2021_02_25_01.sql
Normal file
39
data/sql/updates/db_world/2021_02_25_01.sql
Normal file
@@ -0,0 +1,39 @@
|
||||
-- DB update 2021_02_25_00 -> 2021_02_25_01
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2021_02_25_00';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2021_02_25_00 2021_02_25_01 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1613970765283918400'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
|
||||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1613970765283918400');
|
||||
|
||||
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 8996);
|
||||
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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
|
||||
(8996, 0, 0, 0, 1, 0, 100, 1, 100, 100, 0, 0, 0, 8, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Voidwalker Minion - Out of Combat - Set Reactstate Aggressive (No Repeat)'),
|
||||
(8996, 0, 1, 0, 0, 0, 100, 0, 2000, 5000, 4000, 6000, 0, 11, 33914, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Voidwalker Minion - In Combat - Cast \'Shadowstrike\''),
|
||||
(8996, 0, 2, 3, 74, 0, 100, 0, 1, 99, 0, 0, 0, 49, 0, 0, 0, 0, 0, 0, 19, 3198, 4, 0, 0, 0, 0, 0, 0, 'Voidwalker Minion - On Friendly Between 1-99% Health - Start Attacking'),
|
||||
(8996, 0, 3, 0, 61, 0, 100, 0, 1, 99, 0, 0, 0, 49, 1, 0, 0, 0, 0, 0, 18, 32, 0, 0, 0, 0, 0, 0, 0, 'Voidwalker Minion - On Friendly Between 1-99% Health - Start Attacking');
|
||||
|
||||
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 3198);
|
||||
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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
|
||||
(3198, 0, 0, 0, 1, 0, 100, 1, 100, 100, 0, 0, 0, 11, 12746, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Burning Blade Apprentice - Out of Combat - Cast \'Summon Voidwalker\' (No Repeat)'),
|
||||
(3198, 0, 1, 0, 0, 0, 100, 0, 100, 100, 2400, 3800, 0, 11, 20791, 64, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Burning Blade Apprentice - In Combat - Cast \'Shadow Bolt\''),
|
||||
(3198, 0, 2, 0, 2, 0, 100, 1, 0, 15, 0, 0, 0, 25, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Burning Blade Apprentice - Between 0-15% Health - Flee For Assist (No Repeat)');
|
||||
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
29
data/sql/updates/db_world/2021_02_25_02.sql
Normal file
29
data/sql/updates/db_world/2021_02_25_02.sql
Normal file
@@ -0,0 +1,29 @@
|
||||
-- DB update 2021_02_25_01 -> 2021_02_25_02
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2021_02_25_01';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2021_02_25_01 2021_02_25_02 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1614022899539097500'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
|
||||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1614022899539097500');
|
||||
|
||||
UPDATE `creature_template` SET `unit_flags` = 4608, `type` = 6 WHERE `entry` IN (1735,5725,3547,2314,1743,1515,2114,1518,10055,1745,2309,4773,4731,2311,2137,33996,1746,1652,2135,2136,2118,2134,1738,1742,10665,10666);
|
||||
UPDATE `creature_template` SET `unit_flags` = 4608, `type` = 7 WHERE `entry` = 727;
|
||||
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
79
data/sql/updates/db_world/2021_02_25_03.sql
Normal file
79
data/sql/updates/db_world/2021_02_25_03.sql
Normal file
@@ -0,0 +1,79 @@
|
||||
-- DB update 2021_02_25_02 -> 2021_02_25_03
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2021_02_25_02';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2021_02_25_02 2021_02_25_03 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1614023588633206841'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
|
||||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1614023588633206841');
|
||||
|
||||
-- Create pooling for Copper Veins on Azuremyst Isle
|
||||
|
||||
DELETE FROM `pool_template` WHERE `entry`=11643;
|
||||
INSERT INTO `pool_template` (`entry`,`max_limit`,`description`) VALUES
|
||||
(11643,20,"Copper Vein - Azuremyst Isle");
|
||||
|
||||
-- Add gameobjects to pools
|
||||
DELETE FROM `pool_gameobject` WHERE `guid` IN (5290,5291,5292,5293,5294,5295,5296,5297,5298,5299,5300,5301,5302,5303,5304,5305,5306,5307,5308,5309,5310,5311,5312,5313,30444,30478,30486,30498,30507,30512,30514,30531,39948,39949,39950,120291,120340,120362,120791);
|
||||
|
||||
INSERT INTO `pool_gameobject` (`guid`,`pool_entry`,`chance`,`description`) VALUES
|
||||
(5290,11643,0,"Azuremyst Isle, Copper Vein, spawn 1"),
|
||||
(5291,11643,0,"Azuremyst Isle, Copper Vein, spawn 2"),
|
||||
(5292,11643,0,"Azuremyst Isle, Copper Vein, spawn 3"),
|
||||
(5293,11643,0,"Azuremyst Isle, Copper Vein, spawn 4"),
|
||||
(5294,11643,0,"Azuremyst Isle, Copper Vein, spawn 5"),
|
||||
(5295,11643,0,"Azuremyst Isle, Copper Vein, spawn 6"),
|
||||
(5296,11643,0,"Azuremyst Isle, Copper Vein, spawn 7"),
|
||||
(5297,11643,0,"Azuremyst Isle, Copper Vein, spawn 8"),
|
||||
(5298,11643,0,"Azuremyst Isle, Copper Vein, spawn 9"),
|
||||
(5299,11643,0,"Azuremyst Isle, Copper Vein, spawn 10"),
|
||||
(5300,11643,0,"Azuremyst Isle, Copper Vein, spawn 11"),
|
||||
(5301,11643,0,"Azuremyst Isle, Copper Vein, spawn 12"),
|
||||
(5302,11643,0,"Azuremyst Isle, Copper Vein, spawn 13"),
|
||||
(5303,11643,0,"Azuremyst Isle, Copper Vein, spawn 14"),
|
||||
(5304,11643,0,"Azuremyst Isle, Copper Vein, spawn 15"),
|
||||
(5305,11643,0,"Azuremyst Isle, Copper Vein, spawn 16"),
|
||||
(5306,11643,0,"Azuremyst Isle, Copper Vein, spawn 17"),
|
||||
(5307,11643,0,"Azuremyst Isle, Copper Vein, spawn 18"),
|
||||
(5308,11643,0,"Azuremyst Isle, Copper Vein, spawn 19"),
|
||||
(5309,11643,0,"Azuremyst Isle, Copper Vein, spawn 20"),
|
||||
(5310,11643,0,"Azuremyst Isle, Copper Vein, spawn 21"),
|
||||
(5311,11643,0,"Azuremyst Isle, Copper Vein, spawn 22"),
|
||||
(5312,11643,0,"Azuremyst Isle, Copper Vein, spawn 23"),
|
||||
(5313,11643,0,"Azuremyst Isle, Copper Vein, spawn 24"),
|
||||
(30444,11643,0,"Azuremyst Isle, Copper Vein, spawn 25"),
|
||||
(30478,11643,0,"Azuremyst Isle, Copper Vein, spawn 26"),
|
||||
(30486,11643,0,"Azuremyst Isle, Copper Vein, spawn 27"),
|
||||
(30498,11643,0,"Azuremyst Isle, Copper Vein, spawn 28"),
|
||||
(30507,11643,0,"Azuremyst Isle, Copper Vein, spawn 29"),
|
||||
(30512,11643,0,"Azuremyst Isle, Copper Vein, spawn 30"),
|
||||
(30514,11643,0,"Azuremyst Isle, Copper Vein, spawn 31"),
|
||||
(30531,11643,0,"Azuremyst Isle, Copper Vein, spawn 32"),
|
||||
(39948,11643,0,"Azuremyst Isle, Copper Vein, spawn 33"),
|
||||
(39949,11643,0,"Azuremyst Isle, Copper Vein, spawn 34"),
|
||||
(39950,11643,0,"Azuremyst Isle, Copper Vein, spawn 35"),
|
||||
(120291,11643,0,"Azuremyst Isle, Copper Vein, spawn 36"),
|
||||
(120340,11643,0,"Azuremyst Isle, Copper Vein, spawn 37"),
|
||||
(120362,11643,0,"Azuremyst Isle, Copper Vein, spawn 38"),
|
||||
(120791,11643,0,"Azuremyst Isle, Copper Vein, spawn 39");
|
||||
|
||||
-- Lower respawn of veins to 1 minute
|
||||
UPDATE `gameobject` SET `spawntimesecs`=60 WHERE `guid` IN (5290,5291,5292,5293,5294,5295,5296,5297,5298,5299,5300,5301,5302,5303,5304,5305,5306,5307,5308,5309,5310,5311,5312,5313,30444,30478,30486,30498,30507,30512,30514,30531,39948,39949,39950,120291,120340,120362,120791);
|
||||
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
99
data/sql/updates/db_world/2021_02_25_04.sql
Normal file
99
data/sql/updates/db_world/2021_02_25_04.sql
Normal file
@@ -0,0 +1,99 @@
|
||||
-- DB update 2021_02_25_03 -> 2021_02_25_04
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2021_02_25_03';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2021_02_25_03 2021_02_25_04 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1614069921307272588'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
|
||||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1614069921307272588');
|
||||
|
||||
-- Create pooling for Copper Veins in Eversong Woods
|
||||
|
||||
DELETE FROM `pool_template` WHERE `entry`=11644;
|
||||
INSERT INTO `pool_template` (`entry`,`max_limit`,`description`) VALUES
|
||||
(11644,30,"Copper Vein - Eversong Woods");
|
||||
|
||||
-- Add gameobjects to pools
|
||||
DELETE FROM `pool_gameobject` WHERE `guid` IN (74930,74931,74932,74933,74934,74935,74936,74937,74938,74939,74940,74941,74942,74943,74944,74945,74946,74947,74948,74949,74950,74951,74952,74953,74954,74955,74956,74957,74958,74959,74960,74961,74962,74963,74964,74965,74966,74967,74968,74969,74970,74971,74972,74973,74974,74975,74976,74977,74978,74979,74980,74981,74982,74983,74984,74985,74986,74987,120618);
|
||||
|
||||
INSERT INTO `pool_gameobject` (`guid`,`pool_entry`,`chance`,`description`) VALUES
|
||||
(74930,11644,0,"Eversong Woods, Copper Vein, spawn 1"),
|
||||
(74931,11644,0,"Eversong Woods, Copper Vein, spawn 2"),
|
||||
(74932,11644,0,"Eversong Woods, Copper Vein, spawn 3"),
|
||||
(74933,11644,0,"Eversong Woods, Copper Vein, spawn 4"),
|
||||
(74934,11644,0,"Eversong Woods, Copper Vein, spawn 5"),
|
||||
(74935,11644,0,"Eversong Woods, Copper Vein, spawn 6"),
|
||||
(74936,11644,0,"Eversong Woods, Copper Vein, spawn 7"),
|
||||
(74937,11644,0,"Eversong Woods, Copper Vein, spawn 8"),
|
||||
(74938,11644,0,"Eversong Woods, Copper Vein, spawn 9"),
|
||||
(74939,11644,0,"Eversong Woods, Copper Vein, spawn 10"),
|
||||
(74940,11644,0,"Eversong Woods, Copper Vein, spawn 11"),
|
||||
(74941,11644,0,"Eversong Woods, Copper Vein, spawn 12"),
|
||||
(74942,11644,0,"Eversong Woods, Copper Vein, spawn 13"),
|
||||
(74943,11644,0,"Eversong Woods, Copper Vein, spawn 14"),
|
||||
(74944,11644,0,"Eversong Woods, Copper Vein, spawn 15"),
|
||||
(74945,11644,0,"Eversong Woods, Copper Vein, spawn 16"),
|
||||
(74946,11644,0,"Eversong Woods, Copper Vein, spawn 17"),
|
||||
(74947,11644,0,"Eversong Woods, Copper Vein, spawn 18"),
|
||||
(74948,11644,0,"Eversong Woods, Copper Vein, spawn 19"),
|
||||
(74949,11644,0,"Eversong Woods, Copper Vein, spawn 20"),
|
||||
(74950,11644,0,"Eversong Woods, Copper Vein, spawn 21"),
|
||||
(74951,11644,0,"Eversong Woods, Copper Vein, spawn 22"),
|
||||
(74952,11644,0,"Eversong Woods, Copper Vein, spawn 23"),
|
||||
(74953,11644,0,"Eversong Woods, Copper Vein, spawn 24"),
|
||||
(74954,11644,0,"Eversong Woods, Copper Vein, spawn 25"),
|
||||
(74955,11644,0,"Eversong Woods, Copper Vein, spawn 26"),
|
||||
(74956,11644,0,"Eversong Woods, Copper Vein, spawn 27"),
|
||||
(74957,11644,0,"Eversong Woods, Copper Vein, spawn 28"),
|
||||
(74958,11644,0,"Eversong Woods, Copper Vein, spawn 29"),
|
||||
(74959,11644,0,"Eversong Woods, Copper Vein, spawn 30"),
|
||||
(74960,11644,0,"Eversong Woods, Copper Vein, spawn 31"),
|
||||
(74961,11644,0,"Eversong Woods, Copper Vein, spawn 32"),
|
||||
(74962,11644,0,"Eversong Woods, Copper Vein, spawn 33"),
|
||||
(74963,11644,0,"Eversong Woods, Copper Vein, spawn 34"),
|
||||
(74964,11644,0,"Eversong Woods, Copper Vein, spawn 35"),
|
||||
(74965,11644,0,"Eversong Woods, Copper Vein, spawn 36"),
|
||||
(74966,11644,0,"Eversong Woods, Copper Vein, spawn 37"),
|
||||
(74967,11644,0,"Eversong Woods, Copper Vein, spawn 38"),
|
||||
(74968,11644,0,"Eversong Woods, Copper Vein, spawn 39"),
|
||||
(74969,11644,0,"Eversong Woods, Copper Vein, spawn 40"),
|
||||
(74970,11644,0,"Eversong Woods, Copper Vein, spawn 41"),
|
||||
(74971,11644,0,"Eversong Woods, Copper Vein, spawn 42"),
|
||||
(74972,11644,0,"Eversong Woods, Copper Vein, spawn 43"),
|
||||
(74973,11644,0,"Eversong Woods, Copper Vein, spawn 44"),
|
||||
(74974,11644,0,"Eversong Woods, Copper Vein, spawn 45"),
|
||||
(74975,11644,0,"Eversong Woods, Copper Vein, spawn 46"),
|
||||
(74976,11644,0,"Eversong Woods, Copper Vein, spawn 47"),
|
||||
(74977,11644,0,"Eversong Woods, Copper Vein, spawn 48"),
|
||||
(74978,11644,0,"Eversong Woods, Copper Vein, spawn 49"),
|
||||
(74979,11644,0,"Eversong Woods, Copper Vein, spawn 50"),
|
||||
(74980,11644,0,"Eversong Woods, Copper Vein, spawn 51"),
|
||||
(74981,11644,0,"Eversong Woods, Copper Vein, spawn 52"),
|
||||
(74982,11644,0,"Eversong Woods, Copper Vein, spawn 53"),
|
||||
(74983,11644,0,"Eversong Woods, Copper Vein, spawn 54"),
|
||||
(74984,11644,0,"Eversong Woods, Copper Vein, spawn 55"),
|
||||
(74985,11644,0,"Eversong Woods, Copper Vein, spawn 56"),
|
||||
(74986,11644,0,"Eversong Woods, Copper Vein, spawn 57"),
|
||||
(74987,11644,0,"Eversong Woods, Copper Vein, spawn 58"),
|
||||
(120618,11644,0,"Eversong Woods, Copper Vein, spawn 59");
|
||||
|
||||
-- Lower respawn of veins to 1 minute
|
||||
UPDATE `gameobject` SET `spawntimesecs`=60 WHERE `guid` IN (74930,74931,74932,74933,74934,74935,74936,74937,74938,74939,74940,74941,74942,74943,74944,74945,74946,74947,74948,74949,74950,74951,74952,74953,74954,74955,74956,74957,74958,74959,74960,74961,74962,74963,74964,74965,74966,74967,74968,74969,74970,74971,74972,74973,74974,74975,74976,74977,74978,74979,74980,74981,74982,74983,74984,74985,74986,74987,120618);
|
||||
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
43
data/sql/updates/db_world/2021_02_25_05.sql
Normal file
43
data/sql/updates/db_world/2021_02_25_05.sql
Normal file
@@ -0,0 +1,43 @@
|
||||
-- DB update 2021_02_25_04 -> 2021_02_25_05
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2021_02_25_04';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2021_02_25_04 2021_02_25_05 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1614071599270991320'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
|
||||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1614071599270991320');
|
||||
|
||||
-- Create pooling for Copper Veins on Bloodmyst Isle
|
||||
|
||||
DELETE FROM `pool_template` WHERE `entry`=11646;
|
||||
INSERT INTO `pool_template` (`entry`,`max_limit`,`description`) VALUES
|
||||
(11646,1,"Copper Veins - Bloodmyst Isle");
|
||||
|
||||
-- Add gameobjects to pools
|
||||
DELETE FROM `pool_gameobject` WHERE `guid` IN (120324,120325,120363);
|
||||
|
||||
INSERT INTO `pool_gameobject` (`guid`,`pool_entry`,`chance`,`description`) VALUES
|
||||
(120324,11646,0,"Bloodmyst Isle, Copper Vein, spawn 1"),
|
||||
(120325,11646,0,"Bloodmyst Isle, Copper Vein, spawn 2"),
|
||||
(120363,11646,0,"Bloodmyst Isle, Copper Vein, spawn 3");
|
||||
|
||||
-- Lower respawn of veins to 1 minute
|
||||
UPDATE `gameobject` SET `spawntimesecs`=60 WHERE `guid` IN (120324,120325,120363);
|
||||
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
94
data/sql/updates/db_world/2021_02_25_06.sql
Normal file
94
data/sql/updates/db_world/2021_02_25_06.sql
Normal file
@@ -0,0 +1,94 @@
|
||||
-- DB update 2021_02_25_05 -> 2021_02_25_06
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2021_02_25_05';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2021_02_25_05 2021_02_25_06 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1614187724074625300'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
|
||||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1614187724074625300');
|
||||
-- -------------------------------------------------Viscous Fallout--------------------------------------------------
|
||||
SET @ENTRY := 7079;
|
||||
SET @GUID := 30137;
|
||||
UPDATE `creature_template` SET `scale` = 1.3,`MovementType` = 0 WHERE `entry` = @ENTRY;
|
||||
UPDATE `creature` SET `position_x` = -471.39,`position_y` = 48.4756,`position_z` = -207.954,`orientation` = 6.03304,`MovementType` = 2,`wander_distance` = 0 WHERE `guid` = @GUID;
|
||||
UPDATE `creature_model_info` SET `CombatReach` = 0.3 WHERE `DisplayID` = 5497;
|
||||
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid` = @ENTRY AND `source_type` = 0 AND `id` >= 1;
|
||||
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`,`event_param5`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_param4`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
|
||||
(7079,0,1,0,0,0,100,1,1000,2000,0,0,0,75,10341,2,0,0,0,0,1,0,0,0,0,0,0,0,0,'Viscous Fallout - In Combat - Add Aura \'Radiation Cloud\''),
|
||||
(7079,0,2,0,0,0,100,0,2000,9000,11000,14000,0,11,9459,64,0,0,0,0,17,0,50,0,0,0,0,0,0,'Viscous Fallout - In Combat CMC - Cast \'Corrosive Ooze\'');
|
||||
|
||||
SET @ENTRY := 70790;
|
||||
DELETE FROM `creature_addon` WHERE `guid` = @GUID;
|
||||
INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`isLarge`,`auras`) VALUES
|
||||
(@GUID,@ENTRY,0,0,0,0,0,NULL);
|
||||
|
||||
DELETE FROM `waypoint_data` WHERE `id` = @ENTRY;
|
||||
INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES
|
||||
(@ENTRY,1,-440.007,40.4573,-208.528,0,0,0,0,100,0),
|
||||
(@ENTRY,2,-403.428,48.1517,-208.92,0,0,0,0,100,0),
|
||||
(@ENTRY,3,-393.459,63.5904,-209.678,0,0,0,0,100,0),
|
||||
(@ENTRY,4,-406.709,75.8918,-210.99,0,0,0,0,100,0),
|
||||
(@ENTRY,5,-421.506,82.5705,-210.045,0,0,0,0,100,0),
|
||||
(@ENTRY,6,-428.759,100.234,-209.626,0,0,0,0,100,0),
|
||||
(@ENTRY,7,-409.098,109.523,-210.525,0,0,0,0,100,0),
|
||||
(@ENTRY,8,-393.271,112.121,-209.804,0,0,0,0,100,0),
|
||||
(@ENTRY,9,-380.83,95.3402,-210.582,0,0,0,0,100,0),
|
||||
(@ENTRY,10,-372.115,112.371,-209.234,0,0,0,0,100,0),
|
||||
(@ENTRY,11,-372.697,137.794,-208.769,0,0,0,0,100,0),
|
||||
(@ENTRY,12,-396.703,139.501,-210.381,0,0,0,0,100,0),
|
||||
(@ENTRY,13,-372.697,137.794,-208.769,0,0,0,0,100,0),
|
||||
(@ENTRY,14,-396.703,139.501,-210.381,0,0,0,0,100,0),
|
||||
(@ENTRY,15,-372.697,137.794,-208.769,0,0,0,0,100,0),
|
||||
(@ENTRY,16,-372.115,112.371,-209.234,0,0,0,0,100,0),
|
||||
(@ENTRY,17,-380.83,95.3402,-210.582,0,0,0,0,100,0),
|
||||
(@ENTRY,18,-393.271,112.121,-209.804,0,0,0,0,100,0),
|
||||
(@ENTRY,19,-409.098,109.523,-210.525,0,0,0,0,100,0),
|
||||
(@ENTRY,20,-428.759,100.234,-209.626,0,0,0,0,100,0),
|
||||
(@ENTRY,21,-421.506,82.5705,-210.045,0,0,0,0,100,0),
|
||||
(@ENTRY,22,-406.709,75.8918,-210.99,0,0,0,0,100,0),
|
||||
(@ENTRY,23,-393.459,63.5904,-209.678,0,0,0,0,100,0),
|
||||
(@ENTRY,24,-403.428,48.1517,-208.92,0,0,0,0,100,0),
|
||||
(@ENTRY,25,-440.007,40.4573,-208.528,0,0,0,0,100,0),
|
||||
(@ENTRY,26,-471.277,47.9361,-208.061,0,0,0,0,100,0);
|
||||
|
||||
|
||||
-- -------------------------------------------Viscous Fallout Mobs Spell Updates-------------------------------------------
|
||||
-- Irradiated Slime
|
||||
SET @ENTRY := 6218;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid` = @ENTRY AND `source_type` = 0 AND `id` = 1;
|
||||
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`,`event_param5`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_param4`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
|
||||
(@ENTRY,0,1,0,0,0,100,0,2000,9000,11000,14000,0,11,9459,0,0,0,0,0,17,0,50,0,0,0,0,0,0,'Irradiated Slime - In Combat - Cast \'Corrosive Ooze\'');
|
||||
|
||||
|
||||
-- Corrosive Lurker
|
||||
SET @ENTRY := 6219;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid` = @ENTRY AND `source_type` = 0 AND `id` = 1;
|
||||
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`,`event_param5`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_param4`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
|
||||
(@ENTRY,0,1,0,0,0,100,0,2000,9000,11000,14000,0,11,9459,0,0,0,0,0,17,0,50,0,0,0,0,0,0,'Corrosive Lurker - In Combat - Cast \'Corrosive Ooze\'');
|
||||
|
||||
|
||||
-- Irradiated Horror
|
||||
SET @ENTRY := 6220;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid` = @ENTRY AND `source_type` = 0 AND `id` >= 1;
|
||||
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`,`event_param5`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_param4`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
|
||||
(@ENTRY,0,1,0,0,0,100,1,1000,2000,0,0,0,75,10341,0,0,0,0,0,1,0,0,0,0,0,0,0,0,'Irradiated Horror - In Combat - Add Aura \'Radiation Cloud\' (No Repeat)'),
|
||||
(@ENTRY,0,2,0,0,0,100,0,2000,9000,11000,14000,0,11,9459,0,0,0,0,0,17,0,50,0,0,0,0,0,0,'Irradiated Horror - In Combat - Cast \'Corrosive Ooze\'');
|
||||
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
Reference in New Issue
Block a user