From 36a2b8782c2929b732ab5c6bdc9d96a1126e5f08 Mon Sep 17 00:00:00 2001 From: acidmanifesto Date: Wed, 8 Dec 2021 09:21:04 +0100 Subject: [PATCH] fix(DB): Work Work Audio Broadcast (#9525) --- .../sql/updates/pending_db_world/rev_1638737032167850775.sql | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 data/sql/updates/pending_db_world/rev_1638737032167850775.sql diff --git a/data/sql/updates/pending_db_world/rev_1638737032167850775.sql b/data/sql/updates/pending_db_world/rev_1638737032167850775.sql new file mode 100644 index 000000000..45ace98f3 --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1638737032167850775.sql @@ -0,0 +1,5 @@ +INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1638737032167850775'); + +-- Makes quest Lazy Peon broadcast work work only from themselves and not the player (action_para2) +-- Sets it up where the target_type is the player and only triggers with in 20 yards +UPDATE `smart_scripts` SET `action_param2`=1, `target_type`=18, `target_param1`=20 WHERE `comment`='Lazy Peon - On Script - Play Sound 6197';