The macro "Hu Tao best hold attack spam" for "Genshin Impact" can be downloaded and used on regular mouse and keyboard.
Installing the macro is with one movement in the Keyran program and enhances your gaming experience!
Hi! This macro for the Genshin Impact game provides a fully automatic function for interrupting Hu Tao's hold attacks by jumping. It is based on stable 9 hold attacks per rack (Guide to the Afterlife) and can be used as follows:
1. Assign a key (for example, R or V) to activate the macro.
2. Hold this key to use the script.
You can stop the script at any time by simply releasing the key.
It is important to note that the script cannot automatically determine the hitlag mechanics and the distance to the target if it does not interfere with the game files. Therefore, in order to make the game more comfortable against opponents with shields and avoid problems when the enemy is far away, it is recommended to change the waiting value in the second line from 370 to 470!
Hitlag is the mechanics of a small frame delay when hitting a shield or a two-handed weapon to enhance the «sensitivity» of the blow and the dynamism of the battle. In simple words, the game deliberately slows down one frame by a few milliseconds when Hu Tao hits the hilichurla shield. Because of this, the script may «not work», since it is intended only for standard conditions (a blow near the enemy WITHOUT a shield). Keep this in mind or change the delay in the second line, I recommend setting 470 instead of 370, this will solve both problems.
The timings in the script were not set as efficiently as possible (a small loss of a millisecond is not a problem, since you still get 9 stable beats during the rack with a delay of 370 in the second line) to ensure stable operation of the script. They were selected taking into account the average ping of 60 ms and stable FPS.
If you have a preference to use a single click to activate the script, the macro already provides a cycle of 9 repetitions. (If you only need one repetition of the script, you can delete the last 2 lines (600 ms delay and repeat cycle 9 times).
Have a nice game!