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.
CheatDeath
Fatal attacks instead reduce your health to set %. Afterwards you take reduced damage. Triggers once per 10 min. For hardcore or sloppy players.
| Date uploaded | 3 weeks ago |
| Version | 1.0.8 |
| Download link | shudnal-CheatDeath-1.0.8.zip |
| Downloads | 1751 |
| Dependency string | shudnal-CheatDeath-1.0.8 |
This mod requires the following mods to function
denikson-BepInExPack_Valheim
BepInEx pack for Valheim. Preconfigured with the correct entry point for mods and preferred defaults for the community.
Preferred version: 5.4.2350shudnal-ConditionalConfigSync
Shared config synchronization and server policy library for Valheim mods. Installed as a dependency and compatible with Jotunn and ServerSync.
Preferred version: 1.0.5README
Cheat Death
Fatal attacks instead reduce your health to set %. Afterwards you take reduced damage. Triggers once per 10 min. For hardcore or sloppy players.
Features
Fatal blow calculated as your health reaches 0 no matter what action caused the effect.
You can configure:
- cooldown
- status effect name
- ability to cleanse burning, poison and puke on effect proc
- duration of protection
- health threshold (percent or fixed amount) to which your hp will be saved/restored on proc
- fatal blow message picked from config value
Temporary protection config:
- damage modifiers type (resistant, very resistant, immune, etc.)
- damage resistance type (blunt, pierce, etc.)
- fall damage modifier and max fall speed
- stamina consumption on jump and run
- max carry weight added
- health over time (how much health will be restored in protection duration)
- health per second (while protection is active)
Post protection config:
- damage modifiers type (resistant, very resistant, immune, etc.)
- damage resistance type (blunt, pierce, etc.)
- fall damage modifier and max fall speed
- stamina consumption on jump and run
- max carry weight added
- health per second (for limited duration)
- default duration is 1 minute
- you can also configure custom status effect to apply when main protection is over
All config values are server synced.
Cooldown
Cheat Death ability takes some time to recover. This time is tied to the world where you died. It means player will have different cooldown in different worlds.
There is console command setcheatdeathcooldown [seconds] to manually set cooldown.
Cooldown is based on a world time by default. It could be changed to use global real time instead.
Icon replace
Put file CheatDeath.png next to plugin main file CheatDeath.dll and it will be loaded as status effect icon instead of regular skull icon.
Installation (manual)
copy CheatDeath.dll to your BepInEx\Plugins\ folder.
Incompatibility
Mod should be compatible with anything.
Configurating
The best way to handle configs is Configuration Manager.
Or Official BepInEx Configuration Manager.
Dependencies
Install ConditionalConfigSync as a separate dependency; do not copy its DLLs into this mod's package.
Donation
Discord
CHANGELOG
1.0.8
- Updated for the Valheim 1.0.7 release.
- Completed the migration to the standalone ConditionalConfigSync dependency.
- Updated required dependencies to BepInExPack Valheim 5.4.2350 and ConditionalConfigSync 1.0.5.
- Keep damage-protection templates intact when an active protection effect expires.
1.0.7
- new config option to set current health percentage to proc Cheat Death only in one-hit situations
1.0.6
- configurable post protection period (by default it is less powerful buff for 1 min after protection is over)
- option to apply other status effect when protection is over
- default configs changed to increase healing power of main protection
1.0.5
- configurable chance to reproc effect
- option to override vfx for effect proc (vfx should be preconfigured)
1.0.4
- patch 0.220.3
- ServerSync updated
1.0.3
- fix for NRE on startup
- status effect icon could be replaced by putting CheatDeath.png file next to plugin dll
- new options to set custom text on fatal blow both server synced and client specific
1.0.2
- fix for consecutive effect proc not applying protection effects
1.0.1
- visual and sound effects on activation
1.0.0
- Initial release