EyeAngel = ты просто пидр
-
Автор темы
- #1
переделал хуево с JS сама JS
aim.cpp [Line 400]
C++:
auto minimum_damage = get_minimum_damage(false, record->player->m_iHealth());;
if (g_cfg.ragebot.TwoShot)
{
if (record->player->m_iHealth() >= 80)
minimum_damage = get_minimum_damage(false, 51);
if (record->player->m_iHealth() <= 79)
minimum_damage = get_minimum_damage(false, 41);
if (record->player->m_iHealth() >= 40 && record->player->m_iHealth() <= 59)
minimum_damage = get_minimum_damage(false, 31);
if (record->player->m_iHealth() >= 20 && record->player->m_iHealth() <= 39)
minimum_damage = get_minimum_damage(false, 21);
}
auto minimum_visible_damage = get_minimum_damage(true, record->player->m_iHealth());
if (!g_cfg.ragebot.TwoShot)
{
if (record->player->m_iHealth() >= 80)
minimum_visible_damage = get_minimum_damage(true, 51);
if (record->player->m_iHealth() <= 79)
minimum_visible_damage = get_minimum_damage(true, 41);
if (record->player->m_iHealth() >= 40 && record->player->m_iHealth() <= 59)
minimum_visible_damage = get_minimum_damage(true, 31);
if (record->player->m_iHealth() >= 20 && record->player->m_iHealth() <= 39)
minimum_visible_damage = get_minimum_damage(true, 21);
}