forked from TheComputerGeek2/MagicSpells
-
Notifications
You must be signed in to change notification settings - Fork 3
LeapSpell
MomoPewpew edited this page Jul 28, 2023
·
13 revisions
spell-class: ".instant.LeapSpell"
An instant spell that propels the caster in a certain direction depending on the options set. Compare this to the Velocity Spell.
Option | Description | Default Value |
---|---|---|
rotation |
Changes the direction of forward-velocity in degrees (Right: 90, left: -90, back: 180, etc.) |
0 |
upward-velocity |
The speed at which the player is launched upward. Because of friction, you will need at least some upward velocity to properly move forward on the ground. Negative numbers will send you downward. | 15 |
forward-velocity |
The speed at which the player is launched forward. Negative numbers will send you backwards. | 40 |
client-only |
Whether to use packets or not. | false |
cancel-damage |
Whether or not the player should ignore the next instance of fall damage when using this spell. | true |
add-velocity-instead |
Whether velocity should be added instead of set. | false |
land-spell |
Sub-spell to cast upon landing. (Only works if you take fall damage). | "" |
leap:
spell-class: ".instant.LeapSpell"
name: leap
cooldown: 6
cast-item: stick
cost:
- mana 10
- feather 1
str-cost: "10 mana, 1 feather"
forward-velocity: 40
upward-velocity: 15
cancel-damage: true
!!!This is not the official MagicSpells wiki!!!
This wiki was cloned from the official one to document the changes to the plugin that were made specifically for Dwarves vs Zombies 2023 and Lords of Minecraft 2