Scripts/Events: Ironforge hourly bell event correction (#28234)

Changes go_bells script to play the BellTollDwarfGnome once at every hour.

References:
https://www.reddit.com/r/classicwow/comments/ou0rw5/question_what_is_that_super_loud_bellowing/
cherry-pick commit (Hourly bell: Dwarf horn sound should only play once vmangos/core#1569)

Co-authored-by: schell244 <9536270+schell244@users.noreply.github.com>
(cherry picked from commit 5ec5e1e1d0)
This commit is contained in:
M'Dic
2022-09-08 12:19:15 -04:00
committed by Shauren
parent 0c90378cec
commit 400b8e3192

View File

@@ -1106,6 +1106,12 @@ public:
_rings = 12;
}
// Dwarf hourly horn should only play a single time, each time the next hour begins.
if (_soundId == BELLTOLLDWARFGNOME)
{
_rings = 1;
}
for (auto i = 0; i < _rings; ++i)
_events.ScheduleEvent(EVENT_RING_BELL, Seconds(i * 4 + 1));
}