|
|
===================
|
|
|
|
|
|
## Description
|
|
|
Causes a lightning strike at the target entity or location, dealing
|
|
|
damage and potentially setting the target entity or block on fire if it
|
|
|
is not currently raining, but only if fire spread is enabled.
|
|
|
|
|
|
Attributes
|
|
|
----------
|
|
|
|
|
|
| Attribute | Aliases | Description | Default Value |
|
|
|
|-----------|---------|--------------------------------------------|---------------|
|
|
|
| damage | d | The amount of damage the strike will deal. | 0.01337 |
|
|
|
## Attributes
|
|
|
| Attribute | Aliases | Description | Default |
|
|
|
|-----------|-----------|----------------------------------------------------------------------|---------|
|
|
|
| damage | d | The amount of damage the strike will deal | 0.01337 |
|
|
|
|
|
|
|
|
|
|
|
|
Examples
|
|
|
--------
|
|
|
|
|
|
## Examples
|
|
|
This example will summon a lightning bolt to the designated targeters.
|
|
|
```yaml
|
|
|
StaticSheep:
|
|
|
Type: SHEEP
|
|
|
Skills:
|
|
|
- lightning @EntitiesInRadius{r=10} ~onTimer:100
|
|
|
- lightning @EntitiesInRadius{r=10} ~onTimer:100
|
|
|
```
|
|
|
##
|
|
|
This example will summon a lightning bolt to the designated targeters and deal 6 damage.
|
|
|
```yaml
|
|
|
StaticSheep:
|
|
|
Type: SHEEP
|
|
|
Skills:
|
|
|
- lightning{d=6} @EntitiesInRadius{r=10} ~onTimer:100
|
|
|
- lightning{d=6} @EntitiesInRadius{r=10} ~onTimer:100
|
|
|
``` |
|
|
\ No newline at end of file |