Skip to content

Commit

Permalink
Rebalance fish nibble interval
Browse files Browse the repository at this point in the history
  • Loading branch information
jhaakma committed Jan 11, 2025
1 parent b121ceb commit 697f6db
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Data Files/MWSE/mods/mer/fishing/Fishing/FishingService.lua
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ function FishingService.generateBiteInterval()
logger:trace("Cheat mode, bite interval is 1")
return 1
end
local defaultInterval = 5
local defaultInterval = 3
local skill = FishingSkill.getCurrent()
local skillEffect = math.remap(skill,
0, 100,
Expand All @@ -476,8 +476,8 @@ function FishingService.generateBiteInterval()
local luckEffect = math.remap(luck,
0, 100,
1.0, 0.5)
local random = math.random(5)
local interval = defaultInterval * skillEffect * luckEffect + random
local rand1to3 = 1 + math.random() * 2 -- 1.0 - 3.0
local interval = 1 + defaultInterval * skillEffect * luckEffect * rand1to3
logger:trace("Bite interval: %s", interval)
return interval
end
Expand Down

0 comments on commit 697f6db

Please sign in to comment.