diff options
Diffstat (limited to 'npc')
-rw-r--r-- | npc/functions/fishing.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/npc/functions/fishing.txt b/npc/functions/fishing.txt index 44316bf40..3777a17fc 100644 --- a/npc/functions/fishing.txt +++ b/npc/functions/fishing.txt @@ -118,6 +118,11 @@ function script fishing { .@wait_time_max = getvariableofnpc(.wait_time_max, .@npc$); // max amount of time to wait for the line to sink .@wait_time_max = (.@wait_time_max ? .@wait_time_max : 18000); + // During night time there are more fishes, and therefore, it is easier to fish + // This will make they reply at most 10% faster. Default is a 2 second max delay gain + if (is_night()) + .@wait_time_max = min(.@wait_time_min, .@wait_time_max*9/10); + .@catch_time = getvariableofnpc(.catch_time, .@npc$); // the player must catch the fish within X ms after the line sinks .@catch_time = (.@catch_time ? .@catch_time : 5000); |