... | @@ -6,21 +6,16 @@ wrongly!) |
... | @@ -6,21 +6,16 @@ wrongly!) |
|
|
|
|
|
|
|
|
|
## Attributes
|
|
## Attributes
|
|
| Attribute | Aliases | Description | Default Value |
|
|
| Attribute | Aliases | Description | Default |
|
|
|---------------------|---------|--------------------------------------------------------------------------------------------------------------|---------------|
|
|
|-----------|-----------|----------------------------------------------------------------------|---------|
|
|
| duration | d | The duration (in ticks) the stun will last | |
|
|
| stopai | ai | Removes entity AI while stunned | false |
|
|
| stopai | ai | Removes entity AI while stunned | false |
|
|
| gravity | g | Remove gravity from target when stunned (1.9+) | false |
|
|
| gravity | g | Remove gravity from target when stunned (1.9+) | false |
|
|
| facing | face, f | When false, entity cannot rotate or look around when stunned | false |
|
|
| facing | face, f | When false, entity cannot rotate or look around when stunned | false |
|
|
| noknockback | nokb, kb | When true, entity cannot be knocked back when stunned | false |
|
|
| noknockback | nokb, kb | When true, entity cannot be knocked back when stunned | false |
|
|
> This mechanic inherits every attribute of the [Aura] mechanic
|
|
| CancelOnGiveDamage | cogd | Cancels the stun if the entity with the stun deals any damage to another entity. | false |
|
|
>> - The `interval` attribute is **set** at `1`
|
|
| CancelOnTakeDamage | cotd | Cancels the stun if entity with the stun takes any sort of damage. | false |
|
|
|
|
| CancelOnDeath | cod | Cancels the stun if the entity with the stun dies. | true |
|
|
|
|
| CancelOnTeleport | cot | Cancels the stun if the entity with the stun teleports at all whether by another mechanic or server command. | false |
|
|
|
|
| CancelOnChangeWorld | cocw | Cancels the stun if the entity with the stun changes worlds. (Most times applies to players) | false |
|
|
|
|
| CancelOnSkillUse | cosu | Cancels the stun if the entity that is stunned uses another skill while the stun is active. | false |
|
|
|
|
| CancelOnQuit | coq | Cancels the stun if the entity with the stun logs out. (Only really applies to players) | true |
|
|
|
|
|
|
|
|
|
|
> Remember to use the aura's `duration` attribute to set a duration for the stun
|
|
|
|
|
|
## Examples
|
|
## Examples
|
|
Stuns the target for 3 seconds, target cannot rotate.
|
|
Stuns the target for 3 seconds, target cannot rotate.
|
... | @@ -28,4 +23,8 @@ Stuns the target for 3 seconds, target cannot rotate. |
... | @@ -28,4 +23,8 @@ Stuns the target for 3 seconds, target cannot rotate. |
|
ExampleSkill:
|
|
ExampleSkill:
|
|
Skills:
|
|
Skills:
|
|
- stun{d=60;f=false} @target
|
|
- stun{d=60;f=false} @target
|
|
``` |
|
```
|
|
\ No newline at end of file |
|
|
|
|
|
|
|
|
|
<!-- LINKS -->
|
|
|
|
[aura]: /skills/mechanics/aura |
|
|
|
\ No newline at end of file |