diff options
| author | Rothend <Rothend@users.noreply.github.com> | 2020-06-26 23:05:02 +0200 |
|---|---|---|
| committer | Killyana <morphone1@gmail.com> | 2020-06-26 23:05:02 +0200 |
| commit | b2ad5d5b2b1a14c15ccc0e116008171fca7aaf30 (patch) | |
| tree | 133f04c1957ee8fb93aae364ef254d9a0da0c698 | |
| parent | 02828a477a4cea22134fd16f055d9f06c34cbbad (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
| -rw-r--r-- | sql/updates/world/3.3.5/2020_06_26_11_world.sql | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sql/updates/world/3.3.5/2020_06_26_11_world.sql b/sql/updates/world/3.3.5/2020_06_26_11_world.sql new file mode 100644 index 00000000000..94efc4c3338 --- /dev/null +++ b/sql/updates/world/3.3.5/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"); |
