Skip to content
JasperLorelai edited this page Aug 26, 2026 · 3 revisions

Source Code

spell-class: ".buff.ReflectSpell"

Targeting:

This spell can be cast by/on all living entities.

Description:

A buff spell that allows the entity to reflect spells in two different ways:

Buff Uses:

Buff spell Uses increment whenever a spell is successfully reflected.

Configuration:

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

Example:

reflect:
    spell-class: ".buff.ReflectSpell"
    num-uses: 5
    shield-breakers: [shield_breaker]
    delayed-reflection-spells: [missile]

Clone this wiki locally