Clarity Spell - TheComputerGeek2/MagicSpells GitHub Wiki

Source Code

spell-class: ".buff.ClaritySpell"

Targeting:

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

Description:

A buff spell that modifies the reagent cost of spells cast while it's active.

Buff Uses:

Buff spell Uses increment whenever a spell is cast with the buff active.

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
multiplier A number to multiply spell costs by. If you want to reduce spell costs, this number should be less than 1. Float 0.5
power-affects-multiplier Boolean true
constant-multiplier Since 4.0 Beta 13 Defines expression evaluation behaviour. Boolean true

Example:

Clarity:
    spell-class: ".buff.ClaritySpell"
    multiplier: 0.5
    duration: 60