|
|
|
## Description
|
|
|
|
Causes the player's screen to black out.
|
|
|
|
|
|
|
|
|
|
|
|
## Attributes
|
|
|
|
| Attribute | Aliases | Description | Default |
|
|
|
|
|-----------|-----------|----------------------------------------------------------------------|---------|
|
|
|
|
| duration | d | The duration of the effect | |
|
|
|
|
| cancel | c | Whether the effect should be cancelled instead | |
|
|
|
|
> This mechanic inherits every attribute of the [Aura] mechanic
|
|
|
|
>> - The `auraname` attribute is **set** at `#blackScreen`
|
|
|
|
>> - The `maxStacks` attribute is **set** at `1`
|
|
|
|
>> - The `refreshDuration` attribute is **set** at `true`
|
|
|
|
>> - The `interval` attribute is **set** at `10`
|
|
|
|
|
|
|
|
|
|
|
|
## Examples
|
|
|
|
Blinds players when the mob teleports
|
|
|
|
```yaml
|
|
|
|
BlackScreen:
|
|
|
|
Skills:
|
|
|
|
- blackscreen{d=2} @PlayersInRadius{r=100} ~onTeleport
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
## Aliases
|
|
|
|
- [x] effect:blackScreen
|
|
|
|
- [x] e:blackScreen
|
|
|
|
|
|
|
|
|
|
|
|
<!-- LINKS -->
|
|
|
|
[aura]: /skills/mechanics/aura |
|
|
|
\ No newline at end of file |