Aimbot.cpp: fix Hitman's Heatmaker damage calculation
This commit is contained in:
parent
e1814431d5
commit
02b7a2c4b0
@ -1097,7 +1097,12 @@ int BestHitbox(CachedEntity *target)
|
||||
{
|
||||
|
||||
float cdmg = CE_FLOAT(LOCAL_W, netvar.flChargedDamage);
|
||||
float bdmg = CarryingHeatmaker() ? 40 : 50;
|
||||
float bdmg = 50;
|
||||
if (CarryingHeatmaker())
|
||||
{
|
||||
bdmg = (bdmg * .80) - 1;
|
||||
cdmg = (cdmg * .80) - 1;
|
||||
}
|
||||
// Darwins damage correction, protects against 15% of damage
|
||||
// if (HasDarwins(target))
|
||||
// {
|
||||
|
Reference in New Issue
Block a user