1755 {
1757
1759 {
1760 switch (
urand(0, 3))
1761 {
1762 case 0:
1764 break;
1765 case 1:
1767 break;
1768 case 2:
1770 break;
1771 case 3:
1773 break;
1774 }
1775 }
1776 else
1778
1780 }
uint32 urand(uint32 min, uint32 max)
Definition: Random.cpp:44
std::uint32_t uint32
Definition: Define.h:107
@ SPELL_ELUNE_CANDLE_OMEN_HAND_R
Definition: spell_generic.cpp:1733
@ SPELL_ELUNE_CANDLE_NORMAL
Definition: spell_generic.cpp:1735
@ NPC_OMEN
Definition: spell_generic.cpp:1728
@ SPELL_ELUNE_CANDLE_OMEN_HEAD
Definition: spell_generic.cpp:1731
@ SPELL_ELUNE_CANDLE_OMEN_CHEST
Definition: spell_generic.cpp:1732
@ SPELL_ELUNE_CANDLE_OMEN_HAND_L
Definition: spell_generic.cpp:1734
SpellCastResult CastSpell(SpellCastTargets const &targets, SpellInfo const *spellInfo, CustomSpellValues const *value, TriggerCastFlags triggerFlags=TRIGGERED_NONE, Item *castItem=nullptr, AuraEffect const *triggeredByAura=nullptr, ObjectGuid originalCaster=ObjectGuid::Empty)
Definition: Unit.cpp:1167
Unit * GetHitUnit()
Definition: SpellScript.cpp:448
Unit * GetCaster()
Definition: SpellScript.cpp:401