mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
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:
@@ -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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user