From f5f4d1332ece4c1af212c3d709225b52eb1c4db0 Mon Sep 17 00:00:00 2001 From: julianacat Date: Tue, 1 Aug 2017 03:49:53 -0500 Subject: [PATCH] Added bodyshot with crit --- src/hacks/Aimbot.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hacks/Aimbot.cpp b/src/hacks/Aimbot.cpp index 1848ea7c..d8b381ae 100644 --- a/src/hacks/Aimbot.cpp +++ b/src/hacks/Aimbot.cpp @@ -667,7 +667,7 @@ int BestHitbox(CachedEntity* target) { // We only want to aim for the head if the ambassador can headshot headonly = AmbassadorCanHeadshot(); // 18 health is a good number to use as thats the usual minimum damage it can do with a bodyshot, but damage could potentially be higher - if (target->m_iHealth <= 18) headonly = false; + if (target->m_iHealth <= 18 || IsPlayerCritBoosted(g_pLocalPlayer->entity)) headonly = false; // If player is using a rocket based weapon, prefer the hip } else if (ci == CL_CLASS(CTFRocketLauncher) || ci == CL_CLASS(CTFRocketLauncher_AirStrike) ||