diff options
| author | Wyreth <Wyreth@users.noreply.github.com> | 2017-11-08 23:09:58 +0100 |
|---|---|---|
| committer | funjoker <funjoker109@gmail.com> | 2021-01-29 19:23:53 +0100 |
| commit | 94803f414e97171305f28619905dbe8c83c36a9e (patch) | |
| tree | 618849fe526db8d3aa39d1e828861f0e05b0e8ca | |
| parent | ffd5998b6c718f92bc028580650ea1227f503b5a (diff) | |
DB/SAI: implement on-death behaviour for Bonestripper Vulture and Bonestripper Buzzard
Closes #20821
(cherry picked from commit 30ae45a1f4118ad6be66e07c9d1e12b842594607)
| -rw-r--r-- | sql/updates/world/master/2021_01_25_25_world_2017_11_08_23_world.sql | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/sql/updates/world/master/2021_01_25_25_world_2017_11_08_23_world.sql b/sql/updates/world/master/2021_01_25_25_world_2017_11_08_23_world.sql new file mode 100644 index 00000000000..415f6d751c5 --- /dev/null +++ b/sql/updates/world/master/2021_01_25_25_world_2017_11_08_23_world.sql @@ -0,0 +1,14 @@ +-- +DELETE FROM `creature_text` WHERE `CreatureID` IN (16972, 16973); +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(16972, 0, 0, "%s smells a fresh corpse nearby.", 16, 0, 100, 0, 0, 0, 16746, 0, "Bonestripper Buzzard"), +(16973, 0, 0, "%s smells a fresh corpse nearby.", 16, 0, 100, 0, 0, 0, 16746, 0, "Bonestripper Vulture"); + +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (16972, 16973) AND `source_type`=0 AND `id` IN (1, 2, 3); +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`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(16972, 0, 1, 0, 6, 0, 100, 0, 0, 0, 0, 0, 45, 1, 1, 0, 0, 0, 0, 19, 16972, 20, 0, 0, 0, 0, 0, "Bonestripper Buzzard - On Death - Set Data 1 1 to nearby Bonestripper Buzzard"), +(16972, 0, 2, 3, 38, 0, 100, 0, 1, 1, 0, 0, 69, 0, 0, 0, 0, 0, 0, 19, 16972, 100, 1, 0, 0, 0, 0, "Bonestripper Buzzard - On Data 1 1 Set - Move To Pos"), +(16972, 0, 3, 0, 61, 0, 100, 0, 1, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Bonestripper Buzzard - On Data 1 1 Set - Talk 0"), +(16973, 0, 1, 0, 6, 0, 100, 0, 0, 0, 0, 0, 45, 1, 1, 0, 0, 0, 0, 19, 16973, 20, 0, 0, 0, 0, 0, "Bonestripper Vulture - On Death - Set Data 1 1 to nearby Bonestripper Vulture"), +(16973, 0, 2, 3, 38, 0, 100, 0, 1, 1, 0, 0, 69, 0, 0, 0, 0, 0, 0, 19, 16973, 100, 1, 0, 0, 0, 0, "Bonestripper Vulture - On Data 1 1 Set - Move To Pos"), +(16973, 0, 3, 0, 61, 0, 100, 0, 1, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Bonestripper Vulture - On Data 1 1 Set - Talk 0"); |
