Core/Spells: Drain Soul will no longer generate Soul Shards during channeling

* fixed the damage bonus when Drain Soul is used on a target below 25% health
This commit is contained in:
Ovahlord committed 2019-01-19 12:38:10 +01:00
1 parent dfe94827c0
commit 54382d7926
3 files changed
+35 -44

No files matched your search

-5
View File
@@ -6921,11 +6921,6 @@ float Unit::SpellDamagePctDone(Unit* victim, SpellInfo const* spellProto, Damage
if (spellProto->SpellFamilyFlags[1] & 0x00400000 && IsPet())
if (uint8 count = victim->GetDoTsByCaster(GetOwnerGUID()))
AddPct(DoneTotalMod, 30 * count);
// Drain Soul - increased damage for targets under 25 % HP
if (spellProto->SpellFamilyFlags[0] & 0x00004000)
if (HasAura(100001))
DoneTotalMod *= 2;
break;
case SPELLFAMILY_DEATHKNIGHT:
// Sigil of the Vengeful Heart