diff options
author | offl <offl@users.noreply.github.com> | 2020-06-18 23:51:50 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2022-01-06 22:48:26 +0100 |
commit | b181128b0b0b1531aecdfc738f97ca18edf58373 (patch) | |
tree | 90a5dbaba12013a8b8cd4382414e7395e81e5147 /sql | |
parent | 972f3dc40d485b861087c263d0ffe27e962de5fb (diff) |
DB/Creature: Lakka
Closes #24781
(cherry picked from commit 17c1e07aab146565222430ab91ce47c701112cdb)
Diffstat (limited to 'sql')
-rw-r--r-- | sql/updates/world/master/2022_01_06_66_world_2020_06_18_04_world.sql | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/sql/updates/world/master/2022_01_06_66_world_2020_06_18_04_world.sql b/sql/updates/world/master/2022_01_06_66_world_2020_06_18_04_world.sql new file mode 100644 index 00000000000..7b561326915 --- /dev/null +++ b/sql/updates/world/master/2022_01_06_66_world_2020_06_18_04_world.sql @@ -0,0 +1,27 @@ +-- +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 15 AND `SourceGroup` = 7868 AND `ConditionTypeOrReference` = 9; + +UPDATE `smart_scripts` SET `link` = 2, `event_flags` = 0 WHERE `entryorguid` = 18956 AND `source_type` = 0 AND `id` = 0; +DELETE FROM `smart_scripts` WHERE `entryorguid` = 18956 AND `source_type` = 0 AND `id` IN (1,2); +DELETE FROM `smart_scripts` WHERE `entryorguid` = 1895600 AND `source_type` = 9; +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 +(18956,0,1,0,40,0,100,0,9,0,0,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"Lakka - On Waypoint 9 Reached - Despawn (0)"), +(18956,0,2,0,61,0,100,0,0,0,0,0,0,72,0,0,0,0,0,0,7,0,0,0,0,0,0,0,0,"Lakka - On Link - Close Gossip"), + +(1895600,9,0,0,0,0,100,0,0,0,0,0,0,83,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"Lakka - On Script - Remove NPC Flag Gossip"), +(1895600,9,1,0,0,0,100,0,1000,1000,0,0,0,1,0,0,0,0,0,0,7,0,0,0,0,0,0,0,0,"Lakka - On Script - Say Line 0"), +(1895600,9,2,0,0,0,100,0,0,0,0,0,0,33,18956,0,0,0,0,0,16,0,0,0,0,0,0,0,0,"Lakka - On Script - Quest Credit 'Brother Against Brother'"), +(1895600,9,3,0,0,0,100,0,2000,2000,0,0,0,9,0,0,0,0,0,0,14,67620,183051,0,0,0,0,0,0,"Lakka - On Script - Activate Gameobject 'Sethekk Cage'"), +(1895600,9,4,0,0,0,100,0,1000,1000,0,0,0,53,0,18956,0,0,0,2,1,0,0,0,0,0,0,0,0,"Lakka - On Script - Start Waypoint"); + +DELETE FROM `waypoints` WHERE `entry` = 18956; +INSERT INTO `waypoints` (`entry`,`pointid`,`position_x`,`position_y`,`position_z`,`point_comment`) VALUES +(18956,1,-156.81125,159.90024,0.55241066,"Lakka"), +(18956,2,-152.81125,162.15024,0.55241066,"Lakka"), +(18956,3,-148.56125,163.65024,0.55241066,"Lakka"), +(18956,4,-141.81125,164.90024,0.55241066,"Lakka"), +(18956,5,-136.06125,167.40024,0.55241066,"Lakka"), +(18956,6,-129.81125,171.40024,0.55241066,"Lakka"), +(18956,7,-118.06125,173.90024,0.55241066,"Lakka"), +(18956,8,-99.06125,173.40024,0.30241066,"Lakka"), +(18956,9,-79.80912,172.75728,0.010726,"Lakka"); |