Velocity Spell - TheComputerGeek2/MagicSpells GitHub Wiki
spell-class: ".instant.VelocitySpell"
targeting
cast argument values:
Value | Supported |
---|---|
entity |
true |
location |
false |
entity_from_location |
true |
Spell Effect Positions:
special
- Plays the effect at the target's location every tick as they jump.
Description:
Instant spell. A spell that sets your velocity upon the direction you are looking at. Spell power affects this spell.
Configuration:
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 |
Example:
velocity:
spell-class: ".instant.VelocitySpell"
speed: 40
cancel-damage: false