Skip to content
This repository has been archived by the owner on Aug 20, 2024. It is now read-only.

Spell Creation

Kyle J. Kemp edited this page Oct 6, 2018 · 1 revision

This will describe the necessary pieces to create a new Spell.

First:

  • create the spell command in the desired location (src/server/scripts/commands/skills/<class>/<spell>.ts)
  • export the spell command in src/server/scripts/commands/skills/<class>/index.ts
  • create the spell effect in the desired location (src/server/effects/<category>/<spell>.ts) (very rarely will a spell not have a corresponding effect!)
  • export the spell effect in src/server/effects/index.ts
  • add the skill to the skill tree in src/server/tasks/skilltree-layouts/<class>.ts
  • run npm run task:skilltrees to rebuild the skill tree
  • restart the server

You should now have a new skill!

Clone this wiki locally