Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
EnemyKillBonus
【Host Only MOD】Adds savings rewards based on enemy difficulty and kill combos.倒した敵の強さと連続キルに応じて貯金へ報酬を追加します
By REPO_JP
| Last updated | 2 days ago |
| Total downloads | 4142 |
| Total rating | 3 |
| Categories | Mods Monsters Server-side AI Generated |
| Dependency string | REPO_JP-EnemyKillBonus-4.0.0 |
| Dependants | 0 other packages depend on this package |
This mod requires the following mods to function
BepInEx-BepInExPack
BepInEx pack for Mono Unity games. Preconfigured and ready to use.
Preferred version: 5.4.2100README
COMPATIBLE WITH COSMETICS UPDATE V0.4.0.
EnemyKillBonus
This mod is a host-only mod that adds savings rewards when enemies are defeated, with extra rewards for kill combos.
Overview
EnemyKillBonus rewards the run savings when the host or singleplayer session detects an enemy death.
The base reward is decided by the defeated enemy difficulty. Difficulty1, Difficulty2, and Difficulty3 enemies each have separate minimum and maximum reward settings.
When multiple enemies are killed within the configured combo window, the combo count continues. From the second kill onward, an additional combo bonus can be added to the reward.
For mod-installed clients, the combo display appears at the bottom center of the screen. The text shows the combo count and reward amount, and the progress bar shows the remaining combo window time.
For players without the mod, the custom combo HUD cannot be displayed because this is a host-only mod. However, vanilla TruckScreenText reward messages can still be sent to all players.
Installation
- Install BepInEx 5 for R.E.P.O.
- Place the compiled EnemyKillBonus DLL into the
BepInEx/pluginsfolder. - Start the game once to generate the config file.
- Edit the config file if needed.
Host Only Behavior
Only the host or singleplayer session applies the reward to run savings. Participants do not need to install the mod for the savings reward itself to work.
The local combo HUD is only visible on clients that have the mod installed. The vanilla TruckScreenText notification is used as the fallback message for all players.
Reward Rules
The reward is calculated as:
TotalRewardK = BaseRewardK + ComboBonusK
BaseRewardK is randomly selected from the configured range for the defeated enemy difficulty.
ComboBonusK is applied from the second kill onward when combo bonus is enabled.
If UseComboCountMinusOneBonus is enabled, the combo bonus is:
ComboBonusK = ComboCount - 1
If UseComboCountMinusOneBonus is disabled, the combo bonus is:
ComboBonusK = FixedComboBonusK
Config Settings
General
| Setting | Description | Default | Minimum | Maximum |
|---|---|---|---|---|
| EnableMod | Enables this mod. | true | false | true |
| ApplyInArena | Applies rewards in arena levels. | false | false | true |
| ShowDebugLog | Enables debug logs. | false | false | true |
Reward
| Setting | Description | Default | Minimum | Maximum |
|---|---|---|---|---|
| Tier1MinK | Minimum reward for Difficulty1 enemies in k$. | 0 | 0 | 9999 |
| Tier1MaxK | Maximum reward for Difficulty1 enemies in k$. | 2 | 0 | 9999 |
| Tier2MinK | Minimum reward for Difficulty2 enemies in k$. | 2 | 0 | 9999 |
| Tier2MaxK | Maximum reward for Difficulty2 enemies in k$. | 5 | 0 | 9999 |
| Tier3MinK | Minimum reward for Difficulty3 enemies in k$. | 5 | 0 | 9999 |
| Tier3MaxK | Maximum reward for Difficulty3 enemies in k$. | 10 | 0 | 9999 |
If a maximum value is lower than the matching minimum value, it is corrected to the minimum value.
Combo
| Setting | Description | Default | Minimum | Maximum |
|---|---|---|---|---|
| EnableComboBonus | Adds combo bonus from the second kill. | true | false | true |
| ComboWindowSeconds | Seconds allowed from the previous kill to continue the combo. | 10 | 0.1 | 300 |
| UseComboCountMinusOneBonus | Uses combo count minus one as the bonus k$. | true | false | true |
| FixedComboBonusK | Fixed combo bonus in k$ when UseComboCountMinusOneBonus is false. | 1 | 0 | 9999 |
Display
| Setting | Description | Default | Minimum | Maximum |
|---|---|---|---|---|
| ShowComboHud | Shows local bottom-center combo text and progress bar on mod-installed clients. | true | false | true |
| SendTruckScreenMessage | Sends vanilla TruckScreenText reward messages to all players. | true | false | true |
Notes
- The reward is added to run savings, not dropped as physical money.
- Duplicate rewards for the same enemy death are prevented.
- Runtime state is reset after level generation.
- Menu, lobby, and non-run timing are ignored by the reward logic.
- The combo HUD is local UI and is not forced onto players without the mod.
※Mod created by AI
COSMETICS UPDATE V0.4.0対応済み.
EnemyKillBonus
REPOが好きな日本人のための日本人のみのREPOのDiscordサーバーあります! 参加は以下のリンクから! https://discord.gg/h5ATY4m5bZ
このMODは、ホスト専用の、敵を倒した時に敵の強さと連続キルに応じて貯金へ報酬を追加するMODです。
概要
EnemyKillBonusは、ホストまたはシングルプレイ環境で敵の死亡を検知した時に、そのランの貯金へ報酬を追加します。
基本報酬は倒した敵のDifficultyによって決まります。 Difficulty1、Difficulty2、Difficulty3ごとに、最小報酬と最大報酬を個別に設定できます。
設定した連続キル猶予時間内に次の敵を倒すと、連続キル数が継続されます。 2キル目以降は、設定に応じて追加の連続キルボーナスを報酬へ加算できます。
MOD導入者の画面では、中央下に連続キル表示が出ます。 テキストには連続キル数と報酬額が表示され、その下のプログレスバーで残りの連続キル猶予時間を確認できます。
このMODはホスト専用MODのため、MOD未導入の参加者には独自HUDのプログレスバーは表示できません。 ただし、バニラのTruckScreenText通知を使用して、全プレイヤーへ報酬メッセージを表示できます。
導入方法
- R.E.P.O.用のBepInEx 5を導入します。
- ビルド済みのEnemyKillBonus DLLを
BepInEx/pluginsフォルダへ配置します。 - 一度ゲームを起動してConfigファイルを生成します。
- 必要に応じてConfigを編集します。
ホスト専用の動作
貯金への報酬加算は、ホストまたはシングルプレイ環境だけで実行されます。 参加者がMODを導入していなくても、貯金への報酬反映自体は動作します。
独自の連続キルHUDは、MODを導入しているクライアントにのみ表示されます。 全プレイヤー向けの簡易通知には、バニラのTruckScreenText通知を使用します。
報酬ルール
報酬は以下の式で計算されます。
TotalRewardK = BaseRewardK + ComboBonusK
BaseRewardK は、倒した敵のDifficultyに対応するConfig範囲からランダムに選ばれます。
ComboBonusK は、連続キルボーナスが有効な場合に2キル目以降で加算されます。
UseComboCountMinusOneBonus が有効な場合、連続キルボーナスは以下になります。
ComboBonusK = ComboCount - 1
UseComboCountMinusOneBonus が無効な場合、連続キルボーナスは以下になります。
ComboBonusK = FixedComboBonusK
設定項目
General
| 設定値名 | 設定内容説明 | 初期値 | 設定可能最小値 | 設定可能最大値 |
|---|---|---|---|---|
| EnableMod | このMODを有効化します | true | false | true |
| ApplyInArena | アリーナでも報酬を適用します | false | false | true |
| ShowDebugLog | デバッグログを有効化します | false | false | true |
Reward
| 設定値名 | 設定内容説明 | 初期値 | 設定可能最小値 | 設定可能最大値 |
|---|---|---|---|---|
| Tier1MinK | Difficulty1敵の最小報酬k$です | 0 | 0 | 9999 |
| Tier1MaxK | Difficulty1敵の最大報酬k$です | 2 | 0 | 9999 |
| Tier2MinK | Difficulty2敵の最小報酬k$です | 2 | 0 | 9999 |
| Tier2MaxK | Difficulty2敵の最大報酬k$です | 5 | 0 | 9999 |
| Tier3MinK | Difficulty3敵の最小報酬k$です | 5 | 0 | 9999 |
| Tier3MaxK | Difficulty3敵の最大報酬k$です | 10 | 0 | 9999 |
最大値が対応する最小値より小さい場合、最大値は最小値と同じ値に補正されます。
Combo
| 設定値名 | 設定内容説明 | 初期値 | 設定可能最小値 | 設定可能最大値 |
|---|---|---|---|---|
| EnableComboBonus | 2キル目以降の連続キルボーナスを加算します | true | false | true |
| ComboWindowSeconds | 連続キルを継続できる秒数です | 10 | 0.1 | 300 |
| UseComboCountMinusOneBonus | 連続キル数-1をボーナスk$として使用します | true | false | true |
| FixedComboBonusK | UseComboCountMinusOneBonusがfalseの時の固定ボーナスk$です | 1 | 0 | 9999 |
Display
| 設定値名 | 設定内容説明 | 初期値 | 設定可能最小値 | 設定可能最大値 |
|---|---|---|---|---|
| ShowComboHud | 導入者画面の中央下に連続キルHUDを表示します | true | false | true |
| SendTruckScreenMessage | 全プレイヤーへバニラTruckScreenText通知を送信します | true | false | true |
注意事項
- 報酬は物理的なお金袋ではなく、ランの貯金へ直接加算されます。
- 同じ敵の死亡で二重に報酬が入らないようにしています。
- レベル生成完了後に実行状態をリセットします。
- メニュー、ロビー、ゲーム本編外のタイミングでは報酬処理を行いません。
- 連続キルHUDはローカルUIのため、MOD未導入者へ強制表示はできません。
※AI生成MOD