[10088] Restore work of 1120 and ranks. (Revert of [9962])

This commit is contained in:
Laise 2010-06-20 22:28:51 +03:00
parent a2a50c11be
commit 407156cbaf
3 changed files with 9 additions and 11 deletions

View file

@ -9177,7 +9177,15 @@ uint32 Unit::SpellDamageBonusDone(Unit *pVictim, SpellEntry const *spellProto, u
break;
}
case SPELLFAMILY_WARLOCK:
{
// Drain Soul
if (spellProto->SpellFamilyFlags & UI64LIT(0x0000000000004000))
{
if (pVictim->GetHealth() * 100 / pVictim->GetMaxHealth() <= 25)
DoneTotalMod *= 4;
}
break;
}
case SPELLFAMILY_PRIEST:
{
// Glyph of Smite