Damage Empower Spell - TheComputerGeek2/MagicSpells GitHub Wiki

Source Code

spell-class: ".buff.DamageEmpowerSpell"

Targeting:

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

Description:

A buff spell that modifies the damage of spells.

Buff Uses:

Buff spell Uses increment whenever a damage 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
damage-multiplier A number to multiply spell damage by. If you want to reduce spell damage, this number should be less than 1. Float 1.5
constant-damage-multiplier Since 4.0 Beta 13. Defines expression evaluation behaviour. Boolean true
flat-modifier Since 4.0 Beta 14. Applies a flat modifier to damage. Double 0
constant-flat-modifier Since 4.0 Beta 14. Defines expression evaluation behaviour. Boolean true

Example:

Damage-Empower:
    spell-class: ".buff.DamageEmpowerSpell"
    damage-multiplier: 1.5
    duration: 60