ConfusionSpell - TheComputerGeek2/MagicSpells GitHub Wiki

Source Code

spell-class: ".instant.ConfusionSpell"

targeting cast argument values:

Value Supported
entity false
location true
entity_from_location false

Description:

Instant spell. Causes nearby monsters to attack each other.

Configuration:

Since 4.0 Beta 13 these options support dynamic values through numeric or string expressions.

Option Description Type Default
radius The radius of the spell. Double 10
power-affects-radius Since 4.0 Beta 13 Defines expression evaluation behaviour. Boolean true

Example:

confusion:
  spell-class: ".instant.ConfusionSpell"
  description: Cause nearby monsters to attack each other.
  cast-item: stick
  cooldown: 20
  radius: 10
  cost:
    - mana 30
  str-cost: 30 mana
  str-cast-self: You cause nearby monsters to become confused and attack each other.