Skip to content

Commit

Permalink
[ACID] Adjustment for Raider Jhash 10676
Browse files Browse the repository at this point in the history
His sound should not be audible to the entire zone of Durotar - instead only players who are close should hear it.
Use dbscript instead of EAI to play the sound so it can be dependent on distance that way instead of direct.
  • Loading branch information
MantisLord committed Mar 3, 2024
1 parent 14e20f7 commit 8911e9f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ACID/acid_tbc.sql
Original file line number Diff line number Diff line change
Expand Up @@ -11051,7 +11051,7 @@ INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_invers
('1067602','10676','2','0','100','0','15','0','0','0','0','0','25','0','0','0','1','1150','0','0','0','0','0','0','Raider Jhash - Flee at 15% HP'),
('1067603','10676','7','0','100','0','0','0','0','0','0','0','43','0','207','0','0','0','0','0','0','0','0','0','Raider Jhash - Mount on Evade'),
('1067604','10676','11','0','100','0','0','0','0','0','0','0','58','0','0','0','0','0','0','0','0','0','0','0','Raider Jhash - Set Run On on Spawn'),
('1067605','10676','4','0','100','0','0','0','0','0','0','0','54','5987','0','0','4','6495','0','0','0','0','0','0','Raider Jhash - Talk and Play Sound 6495 on Aggro'),
('1067605','10676','4','0','100','0','0','0','0','0','0','0','54','5987','0','0','53','87','0','0','0','0','0','0','Raider Jhash - Talk and Start Relay Script on Aggro'),
-- Raider Kerr 10682
('1068201','10682','9','0','100','1025','0','20','11000','18000','0','0','11','6533','1','0','0','0','0','0','0','0','0','0','Raider Kerr - Cast Net'),
('1068202','10682','2','0','100','0','15','0','0','0','0','0','25','0','0','0','1','1150','0','0','0','0','0','0','Raider Kerr - Flee at 15% HP'),
Expand Down
4 changes: 4 additions & 0 deletions Updates/0385_raider_jhash.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
DELETE FROM `dbscripts_on_relay` WHERE `id`=87;
INSERT INTO `dbscripts_on_relay` (`id`,`delay`,`priority`,`command`,`datalong`,`datalong2`,`datalong3`,`buddy_entry`,`search_radius`,`data_flags`,`dataint`,`dataint2`,`dataint3`,`dataint4`,`datafloat`,`x`,`y`,`z`,`o`,`speed`,`condition_id`,`comments`) VALUES
('87', '0', '0', '16', '6495', '2', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Raider Jhash - Play Sound');

0 comments on commit 8911e9f

Please sign in to comment.