PseudoDropFix

版本 v0.2.1·更新於 2026-10-08

Fixes the game's bugged kill count requirements for rare drops, restoring pre-1.0 drop rates.

截圖 共 4 張

模組介紹 作者原文

This mod adjusts the vanilla game's bugged Pseudo Drop algorithm that is used for rare items to restore their intended pre-1.0 drop rates. It does this without disabling the new mechanic that puts an upper limit on how many kills you can get without a drop.

It also fixes the issue where killing starred enemies can actually reduce your drop rate for some specific items.

If you simply want to play with purely random pre-1.0 drop mechanics, you don't need a mod! You can use setkey NoPseudoDrops to disable the new behavior for your world.

Overview

The current version of the game has a bug that makes the first drop of a rare item after a game or server restart take (on average) much longer than it should to spawn, with odds being reduced by up to 50% in the worst case.

This means that the observed drop rates for items dropped by rarer mobs are much lower than intended. This is most disruptive for items like the bear and cultist trophies, but it affects many more items.

Installation

As this mod is intended to simply fix broken vanilla behavior, there is limited configuration. The mod can be disabled with a setting, and there is a (disabled by default) setting for writing the generated kill counters to the BepInEx console.

This mod doesn't allow any configuration of drop rates, but it is compatible (and complimentary) with mods like Drop That which can be used to configure the drop rates of items.

This mod should be installed on both clients and servers. Jotunn is used to validate this.

Bug Reports

If you encounter any issues with this mod, please open an issue on the mod's GitHub page. Before doing so, please ensure that the issue can be recreated when running only this mod, Jotunn, and BepInExPack.

This mod should be natively compatible with other mods, though it might cause unexpected behavior when used alongside other mods that manipulate the pseudo-drop counters.

This mod has a very narrow scope, so non-bug feature requests are very likely to be rejected.

Details

The game's Pseudo-Drop algorithm decides how many kills you need to get a certain drop the first time you kill a mob after a restart, and again after each drop. The issue is that the method it uses to pick the first drop counter is incorrect, resulting in the first drop of any play session coming later on average than it should.

For rarer mobs, a much higher percentage of your drops are the first drop in any given game session, meaning that the overall drop rate ends up being much lower than it should be.

This mod patches the item drop logic to ensure that the overall drop rate matches the intended pre-1.0 drop rate, all while retaining the new logic's upper limit on kills between drops.

Give me the Math!

The game falls afoul of the inspection paradox. When picking the required kills for the first interval, it assumes that the first drop always occurs following the longest possible delay, and randomly assigns the counter to a possible kill in that interval with an even distribution. This means that the first kill after a restart ends up with half the intended odds, and this nerf compounds over time.

The correct method is to pick the first required kills with a triangular distribution, simulating all possible positions in all possible intervals.

Developer Jonathan Smårs has revealed on reddit that a future patch (that seemingly has already been submitted for review to the console platforms) will work to partially mitigate this issue, but from his description it will only ameliorate the compounding nature of this bug. The first drop will still have the bugged reduced odds, which is significant for non-respawning rare mobs like the cultists. That patch will likely break this mod, so expect an update to be required for compatibility with 1.0.17.

The current implementation does not store its own set of counters, so the issue where killing starred enemies disrupts the counter for rare (but not trophy) items still occurs. This will no longer reduce your averag

安裝與使用 安裝:BepInEx 外掛

  1. 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
  2. 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
  3. 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
  4. 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。

帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。 多人連線時,主機與所有用戶端需要安裝一致的模組。

前置依賴

下面這些內容需要先安裝,否則該模組不會生效:

ValheimModding-Jotunndenikson-BepInExPack_Valheim

檔案與校驗

檔案名稱
PseudoDropFix-0.2.1.zip
檔案大小
29.8 KiB