diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index 535a42407..d83af85b8 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -1745,6 +1745,28 @@ void Spell::EffectDummy(uint32 i) return; } break; + case SPELLFAMILY_DEATHKNIGHT: + // Death Coil + if(m_spellInfo->SpellFamilyFlags & 0x002000LL) + { + if(m_caster->IsFriendlyTo(unitTarget)) + { + if(unitTarget->GetCreatureType() != CREATURE_TYPE_UNDEAD) + return; + + // first rank have special multiplier + int32 bp = damage * 1.5f; + m_caster->CastCustomSpell(unitTarget,47633,&bp,NULL,NULL,true); + } + else + { + // first rank have special multiplier + int32 bp = damage; + m_caster->CastCustomSpell(unitTarget,47632,&bp,NULL,NULL,true); + } + return; + } + break; } // pet auras diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 41b7460fe..100378932 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "7590" + #define REVISION_NR "7591" #endif // __REVISION_NR_H__