583 {
586 {
587 switch (eventId)
588 {
590 {
592 break;
593
596
598
600 {
601 switch (rnd)
602 {
603 case 0:
606 break;
607 case 1:
610 break;
611 case 2:
614 break;
615 default:
616 break;
617 }
618 }
620 {
621 switch (rnd)
622 {
623 case 0:
626 break;
627 case 1:
630 break;
631 case 2:
634 break;
635 default:
636 break;
637 }
638 }
640 {
642 switch (rnd)
643 {
644 case 0:
647 break;
648 case 1:
651 break;
652 case 2:
655 break;
656 case 3:
659 break;
660 case 4:
663 break;
664 case 5:
667 break;
668 default:
669 break;
670 }
671 }
673 break;
674 }
677 break;
678
680 {
682 }
684 break;
685 default:
686 break;
687 }
688 }
689 }
uint32 urand(uint32 min, uint32 max)
Definition: Random.cpp:44
std::uint32_t uint32
Definition: Define.h:107
@ EVENT_BREWFESTGOBLIN03_TIME
Definition: go_scripts.cpp:544
@ EVENT_BREWFESTGOBLIN02_TIME
Definition: go_scripts.cpp:543
@ EVENT_BREWFESTGOBLIN01_TIME
Definition: go_scripts.cpp:542
@ EVENT_BREWFESTDWARF03_TIME
Definition: go_scripts.cpp:541
@ EVENT_BREWFESTDWARF01_TIME
Definition: go_scripts.cpp:539
@ EVENT_BREWFESTDWARF02_TIME
Definition: go_scripts.cpp:540
@ EVENT_BREWFESTGOBLIN03
Definition: go_scripts.cpp:533
@ EVENT_BREWFESTDWARF02
Definition: go_scripts.cpp:529
@ EVENT_BREWFESTDWARF01
Definition: go_scripts.cpp:528
@ EVENT_BREWFESTDWARF03
Definition: go_scripts.cpp:530
@ EVENT_BREWFESTGOBLIN02
Definition: go_scripts.cpp:532
@ UNDERCITY
Definition: go_scripts.cpp:550
@ IRONFORGE_1
Definition: go_scripts.cpp:554
@ ORGRIMMAR_2
Definition: go_scripts.cpp:552
@ SHATTRATH
Definition: go_scripts.cpp:559
@ IRONFORGE_2
Definition: go_scripts.cpp:555
@ THUNDERBLUFF
Definition: go_scripts.cpp:553
@ DARNASSUS
Definition: go_scripts.cpp:558
@ SILVERMOON
Definition: go_scripts.cpp:549
@ STORMWIND
Definition: go_scripts.cpp:556
@ EXODAR
Definition: go_scripts.cpp:557
@ ORGRIMMAR_1
Definition: go_scripts.cpp:551
@ HOLIDAY_BREWFEST
Definition: SharedDefines.h:2758
bool IsHolidayActive(HolidayIds id)
Definition: GameEventMgr.cpp:1909
uint32 ExecuteEvent()
Definition: EventMap.cpp:114
void Update(uint32 time)
Definition: EventMap.h:54
GameObject *const me
Definition: GameObjectAI.h:35
void PlayDirectMusic(uint32 music_id, Player *target=nullptr)
Definition: Object.cpp:2927
uint32 GetAreaId() const
Definition: Object.cpp:3165