mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 10:37:02 +00:00
[7591] Implement 52375 and ranks.
(cherry picked from commit f0fb07c5261ffe823a91569a85a6d6018cd69b7a) Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
7118b937f2
commit
3e74e2160e
2 changed files with 23 additions and 1 deletions
|
|
@ -1745,6 +1745,28 @@ void Spell::EffectDummy(uint32 i)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
break;
|
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
|
// pet auras
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "7590"
|
#define REVISION_NR "7591"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue