mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 13:37:05 +00:00
[10088] Restore work of 1120 and ranks. (Revert of [9962])
This commit is contained in:
parent
a2a50c11be
commit
407156cbaf
3 changed files with 9 additions and 11 deletions
|
|
@ -4959,16 +4959,6 @@ void Aura::HandlePeriodicDamage(bool apply, bool Real)
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case SPELLFAMILY_WARLOCK:
|
|
||||||
{
|
|
||||||
// Drain Soul
|
|
||||||
if (spellProto->SpellFamilyFlags & UI64LIT(0x0000000000004000))
|
|
||||||
{
|
|
||||||
if (target->GetHealth() * 100 / target->GetMaxHealth() <= 25)
|
|
||||||
m_modifier.m_amount *= 4;
|
|
||||||
}
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
case SPELLFAMILY_DRUID:
|
case SPELLFAMILY_DRUID:
|
||||||
{
|
{
|
||||||
// Rake
|
// Rake
|
||||||
|
|
|
||||||
|
|
@ -9177,7 +9177,15 @@ uint32 Unit::SpellDamageBonusDone(Unit *pVictim, SpellEntry const *spellProto, u
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case SPELLFAMILY_WARLOCK:
|
case SPELLFAMILY_WARLOCK:
|
||||||
|
{
|
||||||
|
// Drain Soul
|
||||||
|
if (spellProto->SpellFamilyFlags & UI64LIT(0x0000000000004000))
|
||||||
|
{
|
||||||
|
if (pVictim->GetHealth() * 100 / pVictim->GetMaxHealth() <= 25)
|
||||||
|
DoneTotalMod *= 4;
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
|
}
|
||||||
case SPELLFAMILY_PRIEST:
|
case SPELLFAMILY_PRIEST:
|
||||||
{
|
{
|
||||||
// Glyph of Smite
|
// Glyph of Smite
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "10087"
|
#define REVISION_NR "10088"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue