Update install_kgms_cheat_autoclick.sh

secret service
master
Kai Gerd Müller 2018-09-02 22:07:19 +02:00 committed by GitHub
parent 0a0eb0966d
commit d42dd3b765
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -140,6 +140,9 @@ end
pipe = 0
hit = function()
local hp = minetest.localplayer:get_hp()
if hp == 1 then
return
end
local hp_delay = math.ceil((20-hp)/2)
local time = minetest.get_us_time()
if (hp < 12) and apples and ((time-pipe) > -(hp_delay*50000)) then