ProcSolver
Limits proc chains based on damage sourcing. Has config for proc rate and proc chain depth. FULLY CONFIGURABLE!
模組介紹 作者原文
Github:
Discord:
Changes:
- (Configurable) Caps proc chain length at 3 for chains initiated by a skill or equipment.
- (Configurable) Caps proc chain length at 1 for chains initiated by an item (autoplay).
- (Configurable) Reduces proc chain rate in proc chains initiated by a skill or equipment to 100%.
- (Configurable) Reduces proc chain rate in proc chains initiated by an item (autoplay) to 50%.
How Do I Make My Mod Compatible?
Proc Solver uses a new "proc rate" parameter to control proc chains. If your proc chain item doesn't incorporate it, then it can potentially extend proc chains past when ProcSolver would have ended it. Here's how you can make it compatible:
Step 1: Add the ProcSolver DLL to your libs/references/dependencies
Step 2: Add this piece of code to somewhere in your project
public static float GetProcRate(DamageInfo damageInfo)
{
if (damageInfo.procCoefficient <= 0 ||!procSolverInstalled)
return damageInfo.procCoefficient;
return _GetProcRate(damageInfo);
}
[MethodImpl(MethodImplOptions.NoInlining | MethodImplOptions.NoOptimization)]
private static float _GetProcRate(DamageInfo damageInfo)
{
return ProcSolverPlugin.GetProcRateMod(damageInfo);
}
Step 3: Any time you have a proc chain item, when rolling to proc, replace Util.CheckRoll(yourProcChance damageInfo.procCoefficient, attackerMaster) with Util.CheckRoll(yourProcChance GetProcRate(damageInfo), attackerMaster)
This will not affect your items' proc chances if ProcSolver is not installed!
Made by Orange and Kiwi. Thanks to mysticalchicken for help with the proc chain mask!
CHANGELOG
1.1.6
- Optimized proc chain depth calculation
- Updated dependencies
- Updated default config values following ProcPatcher math changes
- Updated compatibility information
1.1.5:
- Updated for alloyed Collective
- Compensates for SureProc in proc chain limit
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。
下面這些內容需要先安裝,否則該模組不會生效: