Skip to content
This repository was archived by the owner on Feb 19, 2021. It is now read-only.

On Damaged Effects

Steven Webster edited this page Nov 14, 2020 · 3 revisions

On damaged effects allow you to control effects given to the player when they are damaged. They look like this:

float_options:
  OnDamagedExhaustedChance: 100
  OnDamagedExhaustedDuration: 30
  OnDamagedExhaustedIntensity: 2
  

on_damaged_effects:
  Falldown:
  - Exhausted

While this may look complicated, it isn't too bad. The key (Falldown) is the DamageType (the type of damage needed to get the effects in the list), its value is a list of EffectTypes.

All on damage effects must have a Chance in float options, like the example above. Duration and Intensity, however are optional.

Clone this wiki locally