574 {
577
578
580 {
582
583
585 {
586 if (soulFragments->GetStackAmount() >= 10)
587 {
589 soulFragments->Remove();
590 }
591 }
592 }
593 }
bool roll_chance_i(int chance)
Definition: Random.h:59
@ SPELL_SHADOWMOURNE_CHAOS_BANE_BUFF
Definition: spell_dk.cpp:42
@ SPELL_SHADOWMOURNE_SOUL_FRAGMENT
Definition: spell_dk.cpp:41
@ SPELL_SHADOWMOURNE_CHAOS_BANE_DAMAGE
Definition: spell_dk.cpp:40
@ EFFECT_0
Definition: SharedDefines.h:31
Map * FindMap() const
Definition: Object.h:532
Aura * GetAura(uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, ObjectGuid itemCasterGUID=ObjectGuid::Empty, uint8 reqEffMask=0) const
Definition: Unit.cpp:5552
bool HasAura(uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, ObjectGuid itemCasterGUID=ObjectGuid::Empty, uint8 reqEffMask=0) const
Definition: Unit.cpp:5669
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:1168
bool IsBattlegroundOrArena() const
Definition: Map.h:456
Definition: SpellAuras.h:87
void PreventDefaultAction()
Definition: SpellScript.cpp:985