Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/src/server/game/Entities/Unit/Unit.cpp b/src/server/game/Entities/Unit/Unit.cpp
- index 98058a7..e9fac60 100644
- --- a/src/server/game/Entities/Unit/Unit.cpp
- +++ b/src/server/game/Entities/Unit/Unit.cpp
- @@ -10335,33 +10335,6 @@ uint32 Unit::SpellDamageBonus(Unit *pVictim, SpellEntry const *spellProto, uint3
- DoneTotalMod *= (100.0f+(*i)->GetAmount())/100.0f;
- break;
- }
- - // Soul Siphon
- - case 4992:
- - case 4993:
- - {
- - // effect 1 m_amount
- - int32 maxPercent = (*i)->GetAmount();
- - // effect 0 m_amount
- - int32 stepPercent = CalculateSpellDamage(this, (*i)->GetSpellProto(), 0);
- - // count affliction effects and calc additional damage in percentage
- - int32 modPercent = 0;
- - AuraApplicationMap const &victimAuras = pVictim->GetAppliedAuras();
- - for (AuraApplicationMap::const_iterator itr = victimAuras.begin(); itr != victimAuras.end(); ++itr)
- - {
- - Aura const * aura = itr->second->GetBase();
- - SpellEntry const *m_spell = aura->GetSpellProto();
- - if (m_spell->SpellFamilyName != SPELLFAMILY_WARLOCK || !(m_spell->SpellFamilyFlags[1] & 0x0004071B || m_spell->SpellFamilyFlags[0] & 0x8044C402))
- - continue;
- - modPercent += stepPercent * aura->GetStackAmount();
- - if (modPercent >= maxPercent)
- - {
- - modPercent = maxPercent;
- - break;
- - }
- - }
- - DoneTotalMod *= (modPercent+100.0f)/100.0f;
- - break;
- - }
- case 6916: // Death's Embrace
- case 6925:
- case 6927:
Advertisement
Add Comment
Please, Sign In to add comment