1640 if (
urand(0, 60) < 1)
1641 player->PlayDirectSound(sound_id, player);
void PreventHitDefaultEffect(SpellEffIndex effIndex)
Definition: SpellScript.cpp:583
Definition: spell_item.cpp:1607
Definition: spell_item.cpp:1606
Definition: spell_item.cpp:1614
Definition: spell_item.cpp:1611
Definition: spell_item.cpp:1603
Definition: spell_item.cpp:1613
static First const & RAND(First const &first, Second const &second, Rest const &...rest)
Definition: CreatureAIImpl.h:30
Player * ToPlayer()
Definition: Object.h:191
Definition: spell_item.cpp:1610
uint32 urand(uint32 min, uint32 max)
Definition: Random.cpp:45
Definition: spell_item.cpp:1609
uint32_t uint32
Definition: Define.h:150
Definition: spell_item.cpp:1608
Definition: spell_item.cpp:1605
Definition: spell_item.cpp:1604
Definition: spell_item.cpp:1612
Unit * GetCaster()
Definition: SpellScript.cpp:394