diff options
author | dr-j <dr-j@users.noreply.github.com> | 2020-04-09 15:33:54 +0200 |
---|---|---|
committer | Killyana <morphone1@gmail.com> | 2020-04-09 15:33:54 +0200 |
commit | aafe303fc499ca8f35fd89fb429f02616bcffc73 (patch) | |
tree | 6066df707d8304182e28cb1ca336d41b1b3ef2be | |
parent | 90b00288c24dfefccb338bd33b025cf85e82076d (diff) |
DB/SAI: Improvements for Writhing Mound event
-rw-r--r-- | sql/updates/world/3.3.5/2020_04_09_00_world.sql | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/sql/updates/world/3.3.5/2020_04_09_00_world.sql b/sql/updates/world/3.3.5/2020_04_09_00_world.sql new file mode 100644 index 00000000000..83ecf1e6043 --- /dev/null +++ b/sql/updates/world/3.3.5/2020_04_09_00_world.sql @@ -0,0 +1,17 @@ +-- +DELETE FROM `smart_scripts` WHERE `entryorguid` IN(-74465,-74466,-74467,-74468) AND `source_type`=0 AND `id` IN(5,6,7); +DELETE FROM `smart_scripts` WHERE `entryorguid`=-76742 AND `source_type`=0 AND `id`>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 +(-74465, 0, 5, 0, 1, 0, 100, 0, 0, 0, 1000, 1000, 0, 45, 1, 1, 0, 0, 0, 0, 10, 76742, 21967, 0, 0, 0, 0, 0, 0, 'Auchenai Death-Speaker - OOC - Set Data'), +(-74465, 0, 6, 0, 4, 0, 100, 0, 0, 0, 0, 0, 0, 45, 2, 2, 0, 0, 0, 0, 10, 76742, 21967, 0, 0, 0, 0, 0, 0, 'Auchenai Death-Speaker - On Agro Set Data'), +(-74466, 0, 5, 0, 1, 0, 100, 0, 0, 0, 1000, 1000, 0, 45, 1, 1, 0, 0, 0, 0, 10, 76742, 21967, 0, 0, 0, 0, 0, 0, 'Auchenai Death-Speaker - OOC - Set Data'), +(-74466, 0, 6, 0, 6, 0, 100, 0, 0, 0, 0, 0, 0, 45, 2, 2, 0, 0, 0, 0, 10, 76742, 21967, 0, 0, 0, 0, 0, 0, 'Auchenai Death-Speaker - On Death Set Data'), +(-74467, 0, 5, 0, 1, 0, 100, 0, 0, 0, 1000, 1000, 0, 45, 1, 1, 0, 0, 0, 0, 10, 76742, 21967, 0, 0, 0, 0, 0, 0, 'Auchenai Death-Speaker - OOC - Set Data'), +(-74467, 0, 6, 0, 6, 0, 100, 0, 0, 0, 0, 0, 0, 45, 2, 2, 0, 0, 0, 0, 10, 76742, 21967, 0, 0, 0, 0, 0, 0, 'Auchenai Death-Speaker - On Death Set Data'), +(-74468, 0, 5, 0, 1, 0, 100, 0, 0, 0, 1000, 1000, 0, 45, 1, 1, 0, 0, 0, 0, 10, 76742, 21967, 0, 0, 0, 0, 0, 0, 'Auchenai Death-Speaker - OOC - Set Data'), +(-74468, 0, 6, 0, 6, 0, 100, 0, 0, 0, 0, 0, 0, 45, 2, 2, 0, 0, 0, 0, 10, 76742, 21967, 0, 0, 0, 0, 0, 0, 'Auchenai Death-Speaker - On Death Set Data'), +(-76742, 0, 1, 0, 38, 0, 100, 0, 1, 1, 0, 0, 0, 22, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Auchenai Death-Spirit - On Data Set - Phase 1'), +(-76742, 0, 2, 0, 38, 0, 100, 0, 2, 2, 0, 0, 0, 22, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Auchenai Death-Spirit - On Data Set - Phase 2'); + +UPDATE `smart_scripts` SET `event_phase_mask`=1, `comment`='Auchenai Death-Spirit - Out of Combat (Phase 1) - Run Script' WHERE `entryorguid`=-76742 AND `source_type`=0 AND `id`=0 AND `link`=0; +UPDATE `smart_scripts` SET `event_phase_mask`=1 WHERE `entryorguid`=2196700 AND `source_type`=9; |