Updated Formatting authored by Amy's avatar Amy
Mechanic: onJump \***This Mechanic Requires Paper! It will not work on regular Spigot!**\*
==================
PAPER ONLY MECHANIC ## Description
Applies an aura to the target that triggers a skill when they jump.
Applies an aura to the target that triggers a skill when they jump
Attributes Attributes
---------- ----------
| Attribute | Aliases | Description | Default Value | | Attribute | Aliases | Description | Default Value |
|------------------|---------------|------------------------------------------------------------|---------------| |------------------|---------------|------------------------------------------------------------|---------------|
| onJump | oj | Skill to execute if the target jumps | NONE | | onJump | oJ | Skill to execute if the target jumps | NONE |
| cancelevent | cE | cancel the event when it is triggered | false | | cancelevent | cE | cancel the event when it is triggered | false |
...@@ -20,7 +18,7 @@ Examples ...@@ -20,7 +18,7 @@ Examples
Simple 1: Simple 1:
Apply an onJump aura to yourself. Whenever you jump it will put level 1 slow falling on you for 1 second. Apply an onJump aura to yourself. Whenever you jump it will put level 1 slow falling on you for 1 second.
```yaml
ApplyAura: ApplyAura:
Skills: Skills:
- onJump{oj=SlowFalling;auraname=Jumpies;d=300;i=1} @self - onJump{oj=SlowFalling;auraname=Jumpies;d=300;i=1} @self
...@@ -28,11 +26,11 @@ Apply an onJump aura to yourself. Whenever you jump it will put level 1 slow fal ...@@ -28,11 +26,11 @@ Apply an onJump aura to yourself. Whenever you jump it will put level 1 slow fal
SlowFalling: SlowFalling:
Skills: Skills:
- potion{t=SLOW_FALLING;d=20;l=0;hasParticles=false} @self - potion{t=SLOW_FALLING;d=20;l=0;hasParticles=false} @self
```
Simple 2: Simple 2:
Apply an onJump aura to yourself. Whenever you jump teleport to the closest entity within 40 blocks and kill them. Apply an onJump aura to yourself. Whenever you jump teleport to the closest entity within 40 blocks and kill them.
```yaml
ApplyAura: ApplyAura:
Skills: Skills:
- onJump{oj=Assassin;auraname=Stabbies;d=300;i=1} @self - onJump{oj=Assassin;auraname=Stabbies;d=300;i=1} @self
...@@ -46,29 +44,35 @@ Apply an onJump aura to yourself. Whenever you jump teleport to the closest enti ...@@ -46,29 +44,35 @@ Apply an onJump aura to yourself. Whenever you jump teleport to the closest enti
- teleport - teleport
- delay 1 - delay 1
- damage{a=1000-2000;cause=thorns} - damage{a=1000-2000;cause=thorns}
```
Intermediate: Intermediate:
Apply an onJump aura to yourself. Whenever you jump, jump higher into the air, then stop mid air and shoot projectiles at every entities within 30 blocks of you repeatedly. Apply an onJump aura to yourself. Whenever you jump, jump higher into the air, then stop mid air and shoot projectiles at every entities within 30 blocks of you repeatedly.
```yaml
ApplyAura: ApplyAura:
Skills: Skills:
- onJump{oj=PewPew;auraname=Shooties;d=300;i=1} @self - onJump{oj=PewPew;auraname=Shooties;d=300;i=1} @self
PewPew: PewPew:
Skills: Skills:
- jump{v=2;delay=2} @self - jump{v=2;delay=2} @self
- delay 10 - delay 10
- velocity{m=SET;x=0;y=0;z=0;repeat=39;repeatInterval=1} @self - velocity{m=SET;x=0;y=0;z=0;repeat=39;repeatInterval=1} @self
- skill{s=ShotEm;repeat=19;repeatInterval=2} @EIR{r=30;limit=10;sort=RANDOM;targetPlayers=false} - skill{s=ShotEm;repeat=19;repeatInterval=2} @EIR{r=30;limit=10;sort=RANDOM;targetPlayers=false}
ShotEm: ShotEm:
Skills: Skills:
- projectile{bulletType=ITEM;material=FIRE_CHARGE;bulletSpin=29;i=1;v=24;mr=100;d=100;hnp=true;oS=Fireball_oS;oT=Fireball_oT;oH=Fireball_oH} - projectile{bulletType=ITEM;material=FIRE_CHARGE;bulletSpin=29;i=1;v=24;mr=100;d=100;hnp=true;oS=Fireball_oS;oT=Fireball_oT;oH=Fireball_oH}
Fireball_oS: Fireball_oS:
Skills: Skills:
- sound{s=entity.skeleton.shoot;v=1;p=1} @origin - sound{s=entity.skeleton.shoot;v=1;p=1} @origin
Fireball_oT: Fireball_oT:
Skills: Skills:
- particles{particle=flame;a=4;hs=0.2;vs=0.2;y=0;s=0.1} @origin - particles{particle=flame;a=4;hs=0.2;vs=0.2;y=0;s=0.1} @origin
Fireball_oH: Fireball_oH:
Skills: Skills:
- damage{a=5-15;cause=magic} - damage{a=5-15;cause=magic}
```
\ No newline at end of file