DodgeSpell - TheComputerGeek2/MagicSpells GitHub Wiki
spell-class: ".buff.DodgeSpell"
Spell Effect Positions:
delayed
- Plays the effect at the teleport location.special
- Plays the effect at the caster's location when they doge a projectile.
Targeting:
This spell can be cast by/on all living entities.
Description:
A buff spell that makes the entity dodge an incoming ParticleProjectileSpell
by teleportation.
Buff Uses:
Buff spell Uses increment whenever the entity dodges a projectile.
Configuration:
- 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 |
Example:
dodge:
spell-class: ".buff.DodgeSpell"
toggle: true
duration: 20
distance: 2
spells:
- particleProjectileSpellName