> For the complete documentation index, see [llms.txt](https://bloodmoon.pseudonova.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://bloodmoon.pseudonova.com/events/lightning-event.md).

# Lightning Event

## Required arguments

A radius where the lighting will strike.

| Order | Type    | Argument                          |
| ----- | ------- | --------------------------------- |
| 1     | number  | radius where lightning can strike |
| 2     | decimal | percentage of occurrence          |

## What it does

Whenever the event is triggered, it strike a lighting on a random location within the radius.

## Example usage

```yaml
actions:
  lightning:
    events:
      - lightning 5 100
    commands: []
```
