mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-09 14:14:59 +00:00
Many more Rubocop-inspired code improvements
This commit is contained in:
@@ -47,8 +47,8 @@ def pbFishing(hasEncounter, rodType = 1)
|
||||
msgWindow = pbCreateMessageWindow
|
||||
ret = false
|
||||
loop do
|
||||
time = 5 + rand(6)
|
||||
time = [time, 5 + rand(6)].min if speedup
|
||||
time = rand(5..10)
|
||||
time = [time, rand(5..10)].min if speedup
|
||||
message = ""
|
||||
time.times { message += ". " }
|
||||
if pbWaitMessage(msgWindow, time)
|
||||
|
||||
Reference in New Issue
Block a user