Skip to content
JasperLorelai edited this page May 19, 2024 · 13 revisions

Source Code

spell-class: ".buff.EmpowerSpell"

Targeting:

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

Description:

A buff spell that increases the spell power of spells cast while it's active by a multiplier.

Buff Uses:

Buff spell Uses increment whenever a spell's power is modified.

Configuration:

  • This spell supports Spell Filter options.
  • Since 4.0 Beta 13 these options support dynamic values through numeric or string expressions.
Option Description Type Default
power-multiplier The amount to multiply spell power by. 1 means the spell power stays the same. Float 1.5
max-power-multiplier The maximum you can multiply your spell power to. Useful to prevent stacking. Float 1.5
constant-multiplier Since 4.0 Beta 13 Defines expression evaluation behaviour. Boolean true
power-affects-multiplier Boolean true

Example:

Empower:
    spell-class: ".buff.EmpowerSpell"
    power-multiplier: 2.0
    max-power-multiplier: 4.0
    duration: 10
    str-cast-self: "You feel empowered."
    str-cast-others: "%a powers up!"
Clone this wiki locally