DB/Spell: fix mistake in Blood Draining's CheckProc and remove Attack Power scaling (#22862)

(cherry picked from commit a057d26f20ef2d18fa276534d727b03a6b5a2931)
This commit is contained in:
Rynem Storm
2021-11-18 23:04:07 +01:00
committed by Shauren
parent f24e16a460
commit c7ad7d5e15
+3 -4
View File
@@ -500,10 +500,9 @@ class spell_gen_blood_reserve : public AuraScript
bool CheckProc(ProcEventInfo& eventInfo)
{
if (DamageInfo* dmgInfo = eventInfo.GetDamageInfo())
if (Unit* caster = eventInfo.GetActionTarget())
if (caster->HealthBelowPctDamaged(35, dmgInfo->GetDamage()))
return true;
if (Unit* caster = eventInfo.GetActionTarget())
if (caster->HealthBelowPct(35))
return true;
return false;
}