From 697f6db8a7987750cdc1c434bffaf36c2c3cf793 Mon Sep 17 00:00:00 2001 From: jhaakma Date: Sat, 11 Jan 2025 16:17:54 +1300 Subject: [PATCH] Rebalance fish nibble interval --- Data Files/MWSE/mods/mer/fishing/Fishing/FishingService.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Data Files/MWSE/mods/mer/fishing/Fishing/FishingService.lua b/Data Files/MWSE/mods/mer/fishing/Fishing/FishingService.lua index 3fffddc..6c872fe 100644 --- a/Data Files/MWSE/mods/mer/fishing/Fishing/FishingService.lua +++ b/Data Files/MWSE/mods/mer/fishing/Fishing/FishingService.lua @@ -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, @@ -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