Back to NxLabs

NxLabs / Vintage Story

CO Damage Effects

ABy Arkzenir

Applies configurable status effects (bleed, slow, intoxication etc) to players on hit.

Description

CODamageEffects adds configurable status effects to combat, triggered when players take damage. Getting slashed across the torso might cause bleeding. A blunt strike to the head can knock you down. A piercing hit to the legs from a spear will slow your movement. Every effect, every condition, and every chance is defined in JSON config files.

<div class="standard-markdown grid-cols-1 grid [&amp;_>_]:min-w-0 gap-3">

Requires:
1.21 --&gt; OverhaulLib

1.22 --&gt; OverhaulLibLegacyCompat

<div class="standard-markdown grid-cols-1 grid [&amp;_>_]:min-w-0 gap-3">

(The mod uses only a small portion of OverhaulLib or OverhaulLibLegacyCompat, and should generally work on any version. Let me know if it does not)


The mod will run without Combat Overhaul. But obviously will not do anything if you do not have it installed

This mod is universal. it must be installed on both client and server.

&nbsp;

Effects

Effects

<table style="border-collapse: collapse; width: 100%; height: 209px;" border="1"> <tbody> <tr style="height: 21px;"> <th style="width: 14.0198%; height: 21px;">Type</th> <th style="width: 49.7809%; height: 21px;">What it does</th> <th style="width: 18.6747%; height: 21px;">Strength</th> <th style="width: 17.4699%; height: 21px;">DurationSec</th> </tr> <tr style="height: 21px;"> <td style="width: 14.0198%; height: 21px;">Bleed</td> <td style="width: 49.7809%; height: 21px;">Deals Strength HP of Injury damage every second</td> <td style="width: 18.6747%; height: 21px;">HP per tick</td> <td style="width: 17.4699%; height: 21px;">Duration in seconds</td> </tr> <tr style="height: 21px;"> <td style="width: 14.0198%; height: 21px;">Slow</td> <td style="width: 49.7809%; height: 21px;">Subtracts Strength from the walkspeed stat</td> <td style="width: 18.6747%; height: 21px;">Speed units removed</td> <td style="width: 17.4699%; height: 21px;">Duration in seconds</td> </tr> <tr style="height: 21px;"> <td style="width: 14.0198%; height: 21px;">Intoxication</td> <td style="width: 49.7809%; height: 21px;">Disorients the player (see SlowTox note)</td> <td style="width: 18.6747%; height: 21px;">Toxin/stat amount</td> <td style="width: 17.4699%; height: 21px;">Unused — instant</td> </tr> <tr style="height: 21px;"> <td style="width: 14.0198%; height: 21px;">Knockdown</td> <td style="width: 49.7809%; height: 21px;">Near-total movement and jump lock</td> <td style="width: 18.6747%; height: 21px;">Unused — binary</td> <td style="width: 17.4699%; height: 21px;">Duration in seconds</td> </tr> <tr style="height: 21px;"> <td style="width: 14.0198%; height: 21px;">Dismount</td> <td style="width: 49.7809%; height: 21px;">Instantly ejects the player from any mount or seat</td> <td style="width: 18.6747%; height: 21px;">Unused — binary</td> <td style="width: 17.4699%; height: 21px;">Unused — instant</td> </tr> <tr style="height: 20px;"> <td style="width: 14.0198%; height: 20px;">Poison</td> <td style="width: 49.7809%; height: 20px;">Deals Strength HP of Poison damage every 2 seconds</td> <td style="width: 18.6747%; height: 20px;">HP per tick</td> <td style="width: 17.4699%; height: 20px;">Duration in seconds</td> </tr> <tr style="height: 21px;"> <td style="width: 14.0198%; height: 21px;">Burning</td> <td style="width: 49.7809%; height: 21px;">Deals Strength HP of Fire damage every second</td> <td style="width: 18.6747%; height: 21px;">HP per tick</td> <td style="width: 17.4699%; height: 21px;">Duration in seconds</td> </tr> <tr style="height: 21px;"> <td style="width: 14.0198%; height: 21px;">DamageMultiplier</td> <td style="width: 49.7809%; height: 21px;">Multiplies the triggering hit's damage by Strength (e.g. 1.25 = +25%). Instant, DurationSec is ignored</td> <td style="width: 18.6747%; height: 21px;">Damage multiplier</td> <td style="width: 17.4699%; height: 21px;">Unused — instant</td> </tr> <tr style="height: 21px;"> <td style="width: 14.0198%; height: 21px;">FlatDamage</td> <td style="width: 49.7809%; height: 21px;">Adds Strength HP directly to the triggering hit. Instant, DurationSec is ignored</td> <td style="width: 18.6747%; height: 21px;">HP added to hit</td> <td style="width: 17.4699%; height: 21px;">Unused — instant</td> </tr> </tbody> </table>

&nbsp;

Re-applying an active effect refreshes its duration and escalates to the stronger value rather than stacking effects.

Config

The config is now split across three files in ModConfig/ after version 1.1.0 / 2.1.0, generated with defaults on first launch:

<ul class="[li_&amp;]:mb-0 [li_&amp;]:mt-1 [li_&amp;]:gap-1 [&amp;:not(:last-child)_ul]:pb-1 [&amp;:not(:last-child)_ol]:pb-1 list-disc flex flex-col gap-1 pl-8 mb-3">
Read the full description on Vintage Story ModDB →

Ratings & reviews

No ratings yet

Sign in to leave a rating or comment.