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.
HealthSiphon
Drains teammate health to heal yourself, which can be lethal! Only the host needs to install.
By Zichen
| Date uploaded | 17 hours ago |
| Version | 1.0.1 |
| Download link | Zichen-HealthSiphon-1.0.1.zip |
| Downloads | 39 |
| Dependency string | Zichen-HealthSiphon-1.0.1 |
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
生命虹吸 / Health Siphon
REPO 游戏交流 QQ 群:824639225
支持 R.E.P.O. v0.4。
Scroll down for English ↓
功能说明
Health Siphon(生命虹吸)是一个主机单独安装即可生效的 R.E.P.O. 队友生命值吸取与传输规则模组。
- 默认规则:默认设定为吸取队友血量(主动抓人者抽走被抓者的生命值),且致命传输默认开启(注意:会致死哦!)。
- 联机规则:只需主机单独安装即可改变整房间传血逻辑。
- 生命虹吸模式:
吸取队友血量:主动抓人者抽走被抓者的生命值。平均分血量:以 10 HP 为单位,自动平分两人的生命值。传输队友血量:主动抓人者向被抓者输血(原版传血机制的增强版)。禁用传输:抓取时不触发任何生命交互。
- 致命传输:支持配置是否致死。如果开启,当失血者生命值偏低时,下一次交互会直接抽干其最后生命值并使其因失血死亡。
版权声明
本模组为独家原创作品,禁止未经授权复制、移植或转载任何相关代码,违者将进行投诉处理。
配置说明
| 分组 | 配置项 | 默认值 | 说明 |
|---|---|---|---|
| A.模组信息 | 语言 | 中文 | 切换配置面板的显示语言(支持 中文 / English) |
| B.全局设置 | 模组启用 | True | 是否开启生命虹吸规则,关闭后完全恢复原版传血机制 |
| C.生命虹吸 | 生命虹吸模式 | 吸取队友血量 | 选择抓队友后发生的血量交互模式 |
| C.生命虹吸 | 血量传输倍率 | 1 | 按官方单次 10 血量为 1 倍放大传输量,范围 1~10 倍 |
| C.生命虹吸 | 致命传输 | True | 启用时传输可致死;禁用时失血者最少保留 1 滴血 |
English
Health Siphon is a host-only teammate health transfer rule mod for R.E.P.O.
Features
- Default Behavior: Defaults to draining teammate health, which can be lethal (watch out)!
- Host Only: Only the host needs to install this mod to change the health transfer rules for the entire room.
- Siphon Modes:
Drain: The player grabbing teammates drains life from the grabbed teammate.Balance: Automatically balances the health between the two players in steps of 10 HP.Transfer: The player grabbing teammates transfers health to the grabbed teammate (enhanced version of official rules).Disabled: No health interaction occurs when grabbing teammates.
- Lethal Transfer: Configurable lethality. If enabled, transferring health can reduce the donor's health to 0, causing death.
Copyright Notice
This mod is an exclusive original work. Copying, porting, or redistributing any part of the source code without permission is strictly prohibited. Violations will be reported.
Settings
| Group | Setting | Default | Description |
|---|---|---|---|
| A.Mod Info | Language | Chinese | Switch display language (Chinese / English) |
| B.Global Settings | Mod Enabled | True | Enable or disable health siphon rules. If disabled, reverts to official rules |
| C.Health Siphon | Siphon Mode | Drain | Select the health interaction mode when grabbing teammates |
| C.Health Siphon | Transfer Rate Multiplier | 1 | Multiply the official single transfer amount of 10 HP. Multiplier range: 1 to 10 |
| C.Health Siphon | Lethal Transfer | True | If enabled, transfer can reduce HP to 0 and cause death. If disabled, keeps at least 1 HP |
CHANGELOG
Changelog
1.0.2
修复
- 修复了当玩家吸取队友血量时,如果队友死亡、被击倒或触发 tumbling 状态,导致抓取者(本地或远程玩家)的 grabbed 状态在联机同步中卡死,进而引发“无法抓取任何其他物品”的致命 Bug。目前已通过挂载
StaticGrabObject.OnDisable补丁,在队友对象禁用时强制断开所有相关的抓取者物理状态。
1.0.1
新增功能
- 配置面板全面支持中英文双语显示,且切换语言无需重启即可实时刷新(兼容 REPOConfig / BepInEx ConfigurationManager)。
- 支持首次安装时自动检测游戏中的中文环境(汉化插件、XUnity AutoTranslator 等)并自动切换为中文界面。
- 新增「致命传输」开关:启用后,传输或吸血可将施血者血量降至 0 并触发死亡;在施血者剩余 10 滴血或更少时,一次性抽干全部剩余血量直接致死。
- 模组名称由
Health Exchange正式更名为Health Siphon(生命虹吸),全面更新 GUID、程序集、配置文件名及 Thunderstore 包名。
变更
- 将「致命传输」配置项移至
C.生命虹吸 / C.Health Siphon分组的最下方,使配置面板层级更清晰。 - 将虹吸模式类型从
string重构为 C#Enum,避免升级时旧 cfg 类型不匹配导致崩溃,并自动触发版本变更重置保护。
优化
- 重构底层配置解析与版本配置项自动重置检测。
- 反射字段全部静态缓存,每帧运行无额外 GC Alloc,不影响游戏帧率。
- 所有 UI Hook 通过弱引用管理,菜单关闭后自动清理,无内存泄露风险。
1.0.0
- 首次发布。
- 新增四种抓住队友后的血量交换模式:吸取队友血量、平均分血量、传输队友血量、禁用传输。
- 新增血量传输倍率配置,支持
1到10倍。