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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user