fix(Core/Spells): Fix Prayer of Mending not bouncing to full-HP members (#24815)

Co-authored-by: blinkysc <blinkysc@users.noreply.github.com>
This commit is contained in:
blinkysc
2026-02-22 18:28:31 -06:00
committed by GitHub
parent 9f10718566
commit 5a53ca6560
2 changed files with 9 additions and 4 deletions
@@ -1539,7 +1539,7 @@ namespace Acore
return false;
}
if (u->IsAlive() && !i_obj->IsHostileTo(u) && i_obj->IsWithinDistInMap(u, i_range) && u->GetMaxHealth() - u->GetHealth() > i_hp)
if (u->IsAlive() && !i_obj->IsHostileTo(u) && i_obj->IsWithinDistInMap(u, i_range) && u->GetMaxHealth() - u->GetHealth() >= i_hp)
{
i_hp = u->GetMaxHealth() - u->GetHealth();
return true;