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

On Hit Effects

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

There are on hit effects in AdvancedSubclassing as of 1.0.0-pre011. This adds the ability to give players with certain subclasses the ability to inflict any of these effects upon damage a player.

On hit effects add 3 float options, 1 of them is optional. There's the OnHit<EFFECT_NAME>Chance which is the chance for the effect to be applied, this is the required field. Also, there's OnHit<EFFECT_NAME>Duration this is optional and is the duration of the effect and OnHit<EFFECT_NAME>Intensity that defines the intensity of the effect.

  • Replace <EFFECT_NAME> with the name of the effect ex: OnHitBleedingChance: 5

Example:

float_options:
  ... (not shown)
  OnHitBleedingChance: 100
  OnHitBleedingDuration: 10

on_hit_effects:
- Bleeding

Clone this wiki locally