LuckOnKill
Gain Luck whenever an enemy dies in SULFUR. Fully compatible with Better Luck Control.
模組介紹 作者原文
Luck On Kill
A Luck reward mod for SULFUR.
This mod gives the player Luck whenever an enemy dies.
By default, each enemy death grants one minute worth of Luck recovery, based on your current Stat_LuckGain.
Compatibility
Luck On Kill is fully compatible with Better Luck Control.
When both mods are installed:
- Luck On Kill adds Luck when enemies die.
- Better Luck Control can further modify that added Luck through its recovery multiplier, flat bonus, or override settings.
- Both mods can be used together safely.
Example:
Luck On Kill adds +5 Luck
Better Luck Control has RecoveryMultiplier = 2
Final Luck gain becomes +10
If you do not want Better Luck Control to affect kill rewards, change this setting:
ApplyThroughModifyStatus = false
What it does
SULFUR has two internal Luck values:
- Stat_LuckGain: Luck recovery amount per minute
- Status_Luck: current stored Luck value
By default, SULFUR periodically adds Stat_LuckGain to Status_Luck once per minute.
Luck On Kill adds an extra Luck gain when an enemy dies.
Default behavior:
Enemy dies
-> Read current Stat_LuckGain
-> Add that amount to Status_Luck
Example:
Base Luck recovery = 3/min
Enemy death grants +3 Luck
Four-leaf Clover + Santa Hat = 5/min
Enemy death grants +5 Luck
Features
- Gain Luck when enemies die
- Reward is based on current Stat_LuckGain
- Configure reward multiplier
- Add a flat bonus to each kill reward
- Override kill reward with a fixed value
- Optional enemy filtering
- Optional debug logging
- Fully compatible with Better Luck Control
Configuration
After launching the game once with the mod installed, a config file will be generated:
BepInEx/config/kumo.sulfur.luck_on_kill.cfg
Settings
[General]
EnableMod = true
[Reward]
RewardMultiplier = 1
RewardFlatBonus = 0
RewardOverride = -1
[Compatibility]
ApplyThroughModifyStatus = true
[Filter]
RequireHostileToPlayer = true
RewardOnlyExperienceUnits = false
RewardCivilians = false
RewardBreakables = false
[Safety]
PreventDuplicateRewards = true
[Debug]
LogRewards = true
RewardMultiplier
Multiplier for Luck gained on enemy death.
The base reward is your current Stat_LuckGain.
Example:
RewardMultiplier = 2
If your current Luck recovery is 5/min, each enemy death grants:
5 * 2 = 10 Luck
RewardFlatBonus
Flat bonus added to each kill reward after multiplier.
Example:
RewardMultiplier = 1
RewardFlatBonus = 3
If your current Luck recovery is 5/min, each enemy death grants:
5 * 1 + 3 = 8 Luck
RewardOverride
If set to 0 or higher, this replaces the kill reward with a fixed value.
Example:
RewardOverride = 10
Each enemy death grants:
10 Luck
Set it to -1 to disable override mode.
ApplyThroughModifyStatus
Controls compatibility with other Luck mods.
Default:
ApplyThroughModifyStatus = true
This means Luck On Kill adds Luck through the game's normal Status_Luck modification method.
When Better Luck Control is also installed, Better Luck Control can modify this reward.
Example:
Luck On Kill reward = +5
Better Luck Control RecoveryMultiplier = 2
Final reward = +10
If set to false:
ApplyThroughModifyStatus = false
Luck On Kill directly sets the new Luck value, so Better Luck Control will not modify the kill reward.
Filters
RequireHostileToPlayer
Default:
RequireHostileToPlayer = true
Only hostile units grant Luck.
RewardOnlyExperienceUnits
Default:
RewardOnlyExperienceUnits = false
If true, only units with ExperienceOnKill greater than 0 grant Luck.
RewardCivilians
Default:
RewardCivilians = false
If true, civilian units can grant Luck.
RewardBreakables
Default:
RewardBreakables = false
If true, breakable objects can grant Luck.
Recommended: keep this false.
Recommended settings
Vanilla-style
RewardMultiplier = 1
RewardFlatBonus = 0
RewardOverride = -1
ApplyThroughModifyStatus = true
Stronger kill reward
RewardMultiplier = 2
RewardFlatBonus = 0
RewardOverride = -1
ApplyThroughModifyStatus = true
Fixed rewar
安裝與使用 安裝:按包內說明操作
- 解壓本站下載的壓縮包,先讀包內的 readme / 說明檔案。
- 多數模組依賴遊戲的模組載入器:常見做法是用社群模組管理器(如 r2modman)選中本遊戲安裝,由管理器自動處理載入器與依賴。
- 手動安裝時,把模組檔案放進遊戲目錄下對應的 Mod / plugins 資料夾。
- 啟動遊戲確認載入成功;帶「前置依賴」的模組需要把依賴一併安裝。
不同模組的安裝位置差異較大,包內說明是最可靠的依據。
下面這些內容需要先安裝,否則該模組不會生效: