RoarSpell - TheComputerGeek2/MagicSpells GitHub Wiki
spell-class: ".instant.RoarSpell"
Description:
Forces nearby enemies to attack you.
Configuration:
Since 4.0 Beta 13 these options support dynamic values through numeric or string expressions.
Option | Description | Type | Default |
---|---|---|---|
radius |
Radius of the spell. | Double | 8 |
str-no-target |
Message sent to the caster when there are no targets. | Rich Text | "No targets found." |
cancel-if-no-targets |
Whether the spell should be cancelled when there are no targets. | Boolean | true |
Example:
roar:
spell-class: ".instant.RoarSpell"
description: Forces nearby enemies to attack you.
cast-item: book
cooldown: 15
radius: 8
can-target: monsters
cost:
- mana 10
str-cost: 10 mana
str-cast-self: "You roar, causing nearby enemies to attack you."
str-cast-others: "%a roars loudly!"