forked from nisovin/MagicSpells
-
Notifications
You must be signed in to change notification settings - Fork 69
DodgeSpell
JasperLorelai edited this page Nov 26, 2024
·
19 revisions
spell-class: ".buff.DodgeSpell"
-
delayed
- Plays the effect at the teleport location. -
special
- Plays the effect at the caster's location when they doge a projectile.
This spell can be cast by/on all living entities.
A buff spell that makes the entity dodge an incoming ParticleProjectileSpell
by teleportation.
Buff spell Uses increment whenever the entity dodges a projectile.
- This spell supports Spell Filter options.
- Since 4.0 Beta 13 some of these options support dynamic values through numeric or string expressions.
Option | Description | Type | Default | Supports Expressions |
---|---|---|---|---|
distance |
Distance away from the projectile where the player will be teleported. | Double | 2 |
true |
constant-distance |
Since 4.0 Beta 13 Defines expression evaluation behaviour. | Boolean | true |
true |
spell-before-dodge |
Sub-spell to be cast at the caster location before the dodge. | String | false |
|
spell-after-dodge |
Sub-spell to be cast at the caster location after the dodge. | String | false |
dodge:
spell-class: ".buff.DodgeSpell"
toggle: true
duration: 20
distance: 2
spells:
- particleProjectileSpellName