Update hack.hpp

This commit is contained in:
ifBars
2023-10-15 05:50:41 -06:00
committed by GitHub
parent 908e904673
commit 4eb961212b
+5 -5
View File
@@ -133,20 +133,20 @@ namespace hack {
render::DrawBorderBox( render::DrawBorderBox(
g::hdcBuffer, g::hdcBuffer,
screenHead.x - (width / 2 + 10), screenHead.x - (width / 2 + 10),
screenHead.y + (height * (100 - playerHealth) / 100), screenHead.y + (height * (100 - playerArmor) / 100),
2, 2,
height - (height * (100 - playerHealth) / 100), height - (height * (100 - playerArmor) / 100),
RGB(0, 185, 255) RGB(0, 185, 255)
); );
render::DrawBorderBox( render::DrawBorderBox(
g::hdcBuffer, g::hdcBuffer,
screenHead.x - (width / 2 + 5), screenHead.x - (width / 2 + 5),
screenHead.y + (height * (100 - playerArmor) / 100), screenHead.y + (height * (100 - playerHealth) / 100),
2, 2,
height - (height * (100 - playerArmor) / 100), height - (height * (100 - playerHealth) / 100),
RGB( RGB(
(255 - playerArmor), (255 - playerHealth),
(55 + playerArmor * 2), (55 + playerArmor * 2),
75 75
) )