<onSkillCast>
if _t ~= nil then
leaptime = os.difftime(os.time(), _t)
if ( leaptime > 24000 and 28000 > leaptime ) then
keyboardHold( settings.hotkeys.MOVE_BACKWARD.key )
yrest(4000)
keyboardPress(key.VK_SPACE)
yrest(500)
keyboardRelease( settings.hotkeys.MOVE_BACKWARD.key )
else
print(_t)
end
end
</onSkillCast>
Shouldn't the value from print(_t) change during the fight?
No, _t is the start time so it doesn't change. What should have been printed was the "leaptime". If you did you would have seen that the printed value was in seconds, not miliseconds, and yes I'm aware that I wrote it like that. I'm not infalible.