chain_lightning

Strikes lightning that chains to nearby entities, dealing damage at each jump.

Categories: combat, visual

Required arguments

Key(s)DescriptionType
jumpsThe number of entities the lightning can chain to. Supports expressions.EXPRESSION
rangeThe maximum distance between chain targets. Supports expressions.EXPRESSION
damageThe damage dealt to each entity struck. Supports expressions.EXPRESSION

Optional arguments

Key(s)DescriptionTypeDefault
true_damageIf true, damage bypasses armor and resistance effects.BOOLEANfalse
use_sourceIf true, the player is attributed as the damage source.BOOLEANfalse

Trigger parameters required

  • VICTIM

  • LOCATION

Example

effects:
  - id: chain_lightning
    args:
      jumps: 3 + %level%
      range: 5 + %level% * 0.5
      damage: %level% * 1.5
      true_damage: true # ← Optional
      use_source: true # ← Optional

Behaviour

SettingValue
Run orderNORMAL
Supports delaytrue
Reloads on plugin reloadtrue