diff options
author | Rothend <Rothend@users.noreply.github.com> | 2020-06-26 23:05:02 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2022-01-19 21:07:56 +0100 |
commit | b65aff8323c3403974e98f4c84d2875ee8084e86 (patch) | |
tree | ed39434d681b0587fc0a42699dbad9d62fbf5dbe | |
parent | ea6619552c775b48de0e4e3ba5faecb7733a3057 (diff) |
DB/SAI: Prevent Gavis Greyshield (involved in quest The End of the Deserters) from getting killed and disable health regen when becoming friendly
Closes #24827
(cherry picked from commit b2ad5d5b2b1a14c15ccc0e116008171fca7aaf30)
-rw-r--r-- | sql/updates/world/master/2022_01_19_04_world_2020_06_26_11_world.sql | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sql/updates/world/master/2022_01_19_04_world_2020_06_26_11_world.sql b/sql/updates/world/master/2022_01_19_04_world_2020_06_26_11_world.sql new file mode 100644 index 00000000000..94efc4c3338 --- /dev/null +++ b/sql/updates/world/master/2022_01_19_04_world_2020_06_26_11_world.sql @@ -0,0 +1,9 @@ +-- +DELETE FROM `smart_scripts` WHERE `entryorguid`=23941 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 +(23941, 0, 0, 0, 11, 0, 100, 0, 0, 15, 0, 0, 0, 42, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, "Gavis Greyshield - On Respawn - Set Invincible (1 HP)"), +(23941, 0, 1, 0, 2, 0, 100, 1, 0, 15, 0, 0, 0, 11, 42660, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, "Gavis Greyshield - Between 0-15% Health - Cast 'Gavis Greyshield Credit' (No Repeat)"), +(23941, 0, 2, 3, 2, 0, 100, 1, 0, 15, 0, 0, 0, 80, 2394100, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, "Gavis Greyshield - Between 0-15% Health - Run Script (No Repeat)"), +(23941, 0, 3, 4, 61, 0, 100, 0, 0, 0, 0, 0, 0, 102, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, "Gavis Greyshield - Between 0-15% Health - Disable Health Regen"), +(23941, 0, 4, 5, 61, 0, 100, 0, 0, 0, 0, 0, 0, 2, 35, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, "Gavis Greyshield - Between 0-15% Health - Set Faction 35"), +(23941, 0, 5, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 103, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, "Gavis Greyshield - Between 0-15% Health - Set Root On"); |