aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authoroffl <11556157+offl@users.noreply.github.com>2021-12-01 02:50:20 +0200
committerShauren <shauren.trinity@gmail.com>2022-03-23 20:30:17 +0100
commitb6c02d20d57c720c685128e2e506e455c3077e45 (patch)
treee405b3dba8d0ff34fe564c88ee79e3556696c85d /sql
parent55fd025057f2b8c2d24c6bb89671aa4d4cd4392c (diff)
Scripts/Botanica: Rework Laj (#27282)
(cherry picked from commit 2fe3b6cc2ff7f68ffbd009b80ab39dc8f3264abf)
Diffstat (limited to 'sql')
-rw-r--r--sql/updates/world/master/2022_03_23_01_world_2021_12_01_02_world.sql19
1 files changed, 19 insertions, 0 deletions
diff --git a/sql/updates/world/master/2022_03_23_01_world_2021_12_01_02_world.sql b/sql/updates/world/master/2022_03_23_01_world_2021_12_01_02_world.sql
new file mode 100644
index 00000000000..2ac6a73b102
--- /dev/null
+++ b/sql/updates/world/master/2022_03_23_01_world_2021_12_01_02_world.sql
@@ -0,0 +1,19 @@
+--
+UPDATE `spell_target_position` SET `PositionX` = -204, `PositionY` = 391, `PositionZ` = -11, `VerifiedBuild` = 14007 WHERE `ID` = 34673;
+
+UPDATE `spell_target_position` SET `PositionX` = -185, `PositionY` = 376, `PositionZ` = -15.6, `VerifiedBuild` = 26365 WHERE `ID` = 34681;
+UPDATE `spell_target_position` SET `PositionX` = -185, `PositionY` = 376, `PositionZ` = -15.6, `VerifiedBuild` = 26365 WHERE `ID` = 34682;
+UPDATE `spell_target_position` SET `PositionX` = -185, `PositionY` = 407, `PositionZ` = -15.6, `VerifiedBuild` = 26365 WHERE `ID` = 34684;
+UPDATE `spell_target_position` SET `PositionX` = -185, `PositionY` = 407, `PositionZ` = -15.6, `VerifiedBuild` = 26365 WHERE `ID` = 34685;
+
+UPDATE `creature_model_info` SET `BoundingRadius` = 2, `CombatReach` = 3 WHERE `DisplayID` IN (14112,14213,14214);
+
+-- Their AI requires research
+UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` IN (19919,19920);
+DELETE FROM `smart_scripts` WHERE `entryorguid` IN (19919,19920) 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
+(19919,0,0,0,37,0,100,0,0,0,0,0,0,116,3,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"Thorn Lasher - On AI Initialize - Set Corpse Delay"),
+(19919,0,1,0,0,0,100,0,3000,5000,10000,10000,0,11,35071,0,0,0,0,0,2,0,0,0,0,0,0,0,0,"Thorn Lasher - In Combat - Cast 'Thorn Missiles'"),
+
+(19920,0,0,0,37,0,100,0,0,0,0,0,0,116,3,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"Thorn Flayer - On AI Initialize - Set Corpse Delay"),
+(19920,0,1,0,0,0,100,0,3000,5000,10000,10000,0,11,35507,0,0,0,0,0,2,0,0,0,0,0,0,0,0,"Thorn Flayer - In Combat - Cast 'Mind Flay'");