Skip to content
This repository was archived by the owner on Mar 11, 2022. It is now read-only.

Commit 54a4b8d

Browse files
authored
Update hunt.py
1 parent 77394d9 commit 54a4b8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Fight/hunt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def hunt(server, maxDmgForBh="500000", startTime="30", weaponQuality="5"):
3030
if apiBattles['frozen']:
3131
continue
3232
time_to_sleep = apiBattles["hoursRemaining"]*3600 + apiBattles["minutesRemaining"]*60 + apiBattles["secondsRemaining"]
33-
round_time = 7000 is server in ("primera", "secura", "suna") else 3400
33+
round_time = 7000 if server in ("primera", "secura", "suna") else 3400
3434
if time_to_sleep > 7000:
3535
break
3636
print("Seconds till next battle:", time_to_sleep)

0 commit comments

Comments
 (0)