Skip to content
JasperLorelai edited this page Jul 19, 2023 · 13 revisions

Basics:

When a spell is cast by another spell, then it's called a subspell.

spells:
    - subSpell
spell: subSpell

Subspells have cast arguments which control how they are cast.

subSpell(key1=value1; key2=value2)

Example:

Every sub-spell cast without specified cast arguments is cast with these default cast arguments.

subSpell(mode=partial; power=1; delay=-1; chance=-1)

Cast arguments:

mode:

  • full or f - Casts like a main spell, like the first spell in a cast chain.
  • hard or h - Same as full, but even if the main spell casting the sub-spell had targets, the sub-spell cast in hard mode is cast without targets, looking for targets on the line of sight instead.
  • partial or p - Default subspell cast mode. Cast without setting cooldown, removing reagents, adding experience, displaying cast time, or sending str-<type> messages.
  • direct or d - No plugin, spell, or such is notified that the sub-spell was cast to trigger their own logic otherwise. No general spell processing is done. The sub-spell's spell-class effect is executed directly.

power:

Default: 1. With how much spell power should the spell be cast?

delay:

Delay in server ticks after which to cast the spell.

chance:

Chance for the spell to cast, 0-100.

Clone this wiki locally