Well like i said it won't be perfect but if you try it i promise it will be close. If you were to change the 1.8 to the time it takes for 1 battle it would be even more off because the 60 is meant to be the minutes in an hour. You would have to find a new variable to replace the 60 because you can't change the 1.8 without altering the 60.
Guides:
Spoiler: