584 {
587 {
588 switch (eventId)
589 {
591 {
593 break;
594
597
599
601 {
602 switch (rnd)
603 {
604 case 0:
607 break;
608 case 1:
611 break;
612 case 2:
615 break;
616 default:
617 break;
618 }
619 }
621 {
622 switch (rnd)
623 {
624 case 0:
627 break;
628 case 1:
631 break;
632 case 2:
635 break;
636 default:
637 break;
638 }
639 }
641 {
643 switch (rnd)
644 {
645 case 0:
648 break;
649 case 1:
652 break;
653 case 2:
656 break;
657 case 3:
660 break;
661 case 4:
664 break;
665 case 5:
668 break;
669 default:
670 break;
671 }
672 }
674 break;
675 }
678 break;
679
681 {
683 }
685 break;
686 default:
687 break;
688 }
689 }
690 }
uint32 urand(uint32 min, uint32 max)
Definition: Random.cpp:44
std::uint32_t uint32
Definition: Define.h:107
bool IsHolidayActive(HolidayIds id)
Definition: GameEventMgr.cpp:1910
@ EVENT_BREWFESTGOBLIN03_TIME
Definition: go_scripts.cpp:545
@ EVENT_BREWFESTGOBLIN02_TIME
Definition: go_scripts.cpp:544
@ EVENT_BREWFESTGOBLIN01_TIME
Definition: go_scripts.cpp:543
@ EVENT_BREWFESTDWARF03_TIME
Definition: go_scripts.cpp:542
@ EVENT_BREWFESTDWARF01_TIME
Definition: go_scripts.cpp:540
@ EVENT_BREWFESTDWARF02_TIME
Definition: go_scripts.cpp:541
@ EVENT_BREWFESTGOBLIN03
Definition: go_scripts.cpp:534
@ EVENT_BREWFESTDWARF02
Definition: go_scripts.cpp:530
@ EVENT_BREWFESTDWARF01
Definition: go_scripts.cpp:529
@ EVENT_BREWFESTDWARF03
Definition: go_scripts.cpp:531
@ EVENT_BREWFESTGOBLIN02
Definition: go_scripts.cpp:533
@ UNDERCITY
Definition: go_scripts.cpp:551
@ IRONFORGE_1
Definition: go_scripts.cpp:555
@ ORGRIMMAR_2
Definition: go_scripts.cpp:553
@ SHATTRATH
Definition: go_scripts.cpp:560
@ IRONFORGE_2
Definition: go_scripts.cpp:556
@ THUNDERBLUFF
Definition: go_scripts.cpp:554
@ DARNASSUS
Definition: go_scripts.cpp:559
@ SILVERMOON
Definition: go_scripts.cpp:550
@ STORMWIND
Definition: go_scripts.cpp:557
@ EXODAR
Definition: go_scripts.cpp:558
@ ORGRIMMAR_1
Definition: go_scripts.cpp:552
@ HOLIDAY_BREWFEST
Definition: SharedDefines.h:2758
uint32 ExecuteEvent()
Definition: EventMap.cpp:114
void Update(uint32 time)
Definition: EventMap.h:54
GameObject *const me
Definition: GameObjectAI.h:36
void PlayDirectMusic(uint32 music_id, Player *target=nullptr)
Definition: Object.cpp:2914
uint32 GetAreaId() const
Definition: Object.cpp:3152