Modify Cooldown Spell - TheComputerGeek2/MagicSpells GitHub Wiki

Source Code

spell-class: ".targeted.ModifyCooldownSpell"

targeting cast argument values:

Value Supported
entity true
location false
entity_from_location false

Description

A targeted spell that changes the cooldown of specified spells.

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
seconds Amount of seconds to remove from cooldowns. This applies before the multiplier is used. Float 1
power-affects-seconds Since 4.0 Beta 13. Boolean true
multiplier A number to multiply the cooldown by. Accepts decimal inputs. Applied after the seconds have been removed from the cooldown. Float 0
power-affects-multiplier Since 4.0 Beta 13. Boolean true

Example:

ModifyCooldown:
    spell-class: ".targeted.ModifyCooldownSpell"
    seconds: 5
    multiplier: 0.3
    spells:
        - Silence
        - Disarm
        - Cleanse