forked from nisovin/MagicSpells
-
Notifications
You must be signed in to change notification settings - Fork 68
Velocity Spell
JasperLorelai edited this page May 19, 2024
·
11 revisions
spell-class: ".instant.VelocitySpell"
Value | Supported |
---|---|
entity |
true |
location |
false |
entity_from_location |
true |
-
special
- Plays the effect at the target's location every tick as they jump.
Instant spell. A spell that sets your velocity upon the direction you are looking at. Spell power affects this spell.
Since 4.0 Beta 13 these options support dynamic values through numeric or string expressions.
Option | Description | Type | Default |
---|---|---|---|
speed |
The speed of the velocity. | Float | 40 |
power-affects-speed |
Since 4.0 Beta 13. | Boolean | true |
cancel-damage |
Defines if the velocity change should cause fall damage. | Boolean | true |
add-velocity-instead |
Whether the velocity should be added instead of set. | Boolean | false |
velocity:
spell-class: ".instant.VelocitySpell"
speed: 40
cancel-damage: false