You are viewing a potentially older version of this package. View all versions.
shudnal-CheatDeath-1.0.3 icon

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 months ago
Version 1.0.3
Download link shudnal-CheatDeath-1.0.3.zip
Downloads 340
Dependency string shudnal-CheatDeath-1.0.3

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2202 icon
denikson-BepInExPack_Valheim

BepInEx pack for Valheim. Preconfigured and includes unstripped Unity DLLs.

Preferred version: 5.4.2202

README

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

Temporarty 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)

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.

Mirrors

Nexus

CHANGELOG

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