forked from nisovin/MagicSpells
-
Notifications
You must be signed in to change notification settings - Fork 72
ReflectSpell
JasperLorelai edited this page May 27, 2026
·
2 revisions
spell-class: ".buff.ReflectSpell"This spell can be cast by/on all living entities.
A buff spell that allows the entity to reflect spells in two different ways:
- Whenever an entity targets another target with a spell, the caster of that spell will be set to be the new target of the spell, and they will target themselves.
- Whenever a
HomingMissileSpellorVolleySpellis about to target an entity with Reflect active (and the projectile is listed indelayed-reflection-spells), the caster-target relationship will be reversed, and the projectile will be redirected.
Buff spell Uses increment whenever a spell is successfully reflected.
Since 4.0 Beta 13 some of these options support dynamic values through numeric or string expressions.
| Option | Description | Type | Default | Supports expressions |
|---|---|---|---|---|
shield-breakers |
List of spell names that, if targeted by, will cause Reflect to turn off instead of redirecting. | String List | false |
|
delayed-reflection-spells |
List of projectile spells that are allowed to initially target entities because their redirection will be handled separately, on inpact, and in an animated manner (literal redirection). | String List | false |
|
reflected-spell-power-multiplier |
Power multiplier for the reflected spell. | Float | 1 |
true |
constant-reflected-spell-power-multiplier |
Since 4.0 Beta 13. Defines expression evaluation behaviour. | Boolean | true |
true |
spell-power-affects-reflected-power |
Whether the reflected targeted spell power should be multiplied by the Reflect's power. | Boolean | false |
true |
delayed-reflection-spells-use-payload-shield-breaker |
Defines whether projectile spells listed in shield-breakers should be able to break the shield on impact, separately from the projectile targeting the entity initially. |
Boolean | true |
true |
reflect:
spell-class: ".buff.ReflectSpell"
num-uses: 5
shield-breakers: [shield_breaker]
delayed-reflection-spells: [missile]