From 4eb961212b0109e36bb3e96865429ffd4cdcf1d6 Mon Sep 17 00:00:00 2001 From: ifBars <114284668+ifBars@users.noreply.github.com> Date: Sun, 15 Oct 2023 05:50:41 -0600 Subject: [PATCH] Update hack.hpp --- memory-external/hacks/hack.hpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/memory-external/hacks/hack.hpp b/memory-external/hacks/hack.hpp index 0c52c94..91502cf 100644 --- a/memory-external/hacks/hack.hpp +++ b/memory-external/hacks/hack.hpp @@ -133,20 +133,20 @@ namespace hack { render::DrawBorderBox( g::hdcBuffer, screenHead.x - (width / 2 + 10), - screenHead.y + (height * (100 - playerHealth) / 100), + screenHead.y + (height * (100 - playerArmor) / 100), 2, - height - (height * (100 - playerHealth) / 100), + height - (height * (100 - playerArmor) / 100), RGB(0, 185, 255) ); render::DrawBorderBox( g::hdcBuffer, screenHead.x - (width / 2 + 5), - screenHead.y + (height * (100 - playerArmor) / 100), + screenHead.y + (height * (100 - playerHealth) / 100), 2, - height - (height * (100 - playerArmor) / 100), + height - (height * (100 - playerHealth) / 100), RGB( - (255 - playerArmor), + (255 - playerHealth), (55 + playerArmor * 2), 75 )