183 {
185 if (effect->GetTickNumber() % 5 == 1)
187 }
static First const & RAND(First const &first, Second const &second, Rest const &... rest)
Definition: CreatureAIImpl.h:30
@ SPELL_SINISTER_PERIODIC
Definition: boss_mother_shahraz.cpp:46
@ SPELL_SINFUL_PERIODIC
Definition: boss_mother_shahraz.cpp:45
@ SPELL_WICKED_PERIODIC
Definition: boss_mother_shahraz.cpp:48
@ SPELL_VILE_PERIODIC
Definition: boss_mother_shahraz.cpp:47
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:1169
void PreventDefaultAction()
Definition: SpellScript.cpp:985
Unit * GetUnitOwner() const
Definition: SpellScript.cpp:1030