Вопрос External auto last hit

Начинающий
Статус
Оффлайн
Регистрация
16 Авг 2022
Сообщения
36
Реакции[?]
4
Поинты[?]
4K
Hi,
I'm trying to write an external auto last hit. I created something like:

if ( creep_health <= average_damage)
change_mouse_pos_and_attack();

the problem with this code is it doesn't consider attack speed. ( it works well for snipers, but not for SF, etc )
The second problem ( hard one ) is it doesn't consider how many units are attacking that unit.

Is there any solution to these two problems?
 
ЧВК EB_LAN
Эксперт
Статус
Оффлайн
Регистрация
26 Янв 2021
Сообщения
1,567
Реакции[?]
522
Поинты[?]
185K
Hi,
I'm trying to write an external auto last hit. I created something like:

if ( creep_health <= average_damage)
change_mouse_pos_and_attack();

the problem with this code is it doesn't consider attack speed. ( it works well for snipers, but not for SF, etc )
The second problem ( hard one ) is it doesn't consider how many units are attacking that unit.

Is there any solution to these two problems?
idk mb u need to make delayed mouse move and click? and for attacking units idk check
if (creep_health <= (average_damage + 75 /*hp crip/4 its 1 hit from random hero of dota 2*/) )
changemousepos and use ur old check for attack
 
Сверху Снизу