2064 {
2067 {
2070
2071
2073 {
2075
2076
2078 {
2079 if (soulFragments->GetStackAmount() >= 10)
2080 {
2082 soulFragments->Remove();
2083 }
2084 }
2085 }
2086 }
2087 }
bool roll_chance_i(int chance)
Definition: Random.h:59
std::int32_t int32
Definition: Define.h:103
@ SPELL_DK_SCOURGE_STRIKE_TRIGGERED
Definition: spell_dk.cpp:71
@ 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
Unit * GetUnit(WorldObject const &, ObjectGuid const guid)
Definition: ObjectAccessor.cpp:199
Map * FindMap() const
Definition: Object.h:537
Aura * GetAura(uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, ObjectGuid itemCasterGUID=ObjectGuid::Empty, uint8 reqEffMask=0) const
Definition: Unit.cpp:5581
SpellCastResult CastCustomSpell(Unit *victim, uint32 spellId, int32 const *bp0, int32 const *bp1, int32 const *bp2, bool triggered, Item *castItem=nullptr, AuraEffect const *triggeredByAura=nullptr, ObjectGuid originalCaster=ObjectGuid::Empty)
Definition: Unit.cpp:1224
bool HasAura(uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, ObjectGuid itemCasterGUID=ObjectGuid::Empty, uint8 reqEffMask=0) const
Definition: Unit.cpp:5698
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
bool IsBattlegroundOrArena() const
Definition: Map.h:454
Definition: SpellAuras.h:87
Unit * GetCaster()
Definition: SpellScript.cpp:401
int32 GetHitDamage()
Definition: SpellScript.cpp:514
float multiplier
Definition: spell_dk.cpp:2031
ObjectGuid guid
Definition: spell_dk.cpp:2032