@@ -2,8 +2,8 @@ Spells can be learned by players in a variety of ways, and not all ways need to
...
@@ -2,8 +2,8 @@ Spells can be learned by players in a variety of ways, and not all ways need to
[[_TOC_]]
[[_TOC_]]
## Learning Spells
# Learning Spells
### Admin Commands
## Admin Commands
The most obvious way to learn spells is by using admin commands.
The most obvious way to learn spells is by using admin commands.
The admin command to teach someone a spell is:
The admin command to teach someone a spell is:
...
@@ -11,7 +11,7 @@ The admin command to teach someone a spell is:
...
@@ -11,7 +11,7 @@ The admin command to teach someone a spell is:
You can also use the `unlearn` command to remove a spell from someone.
You can also use the `unlearn` command to remove a spell from someone.
### Archetypes
## Archetypes
#### by Leveling
#### by Leveling
Spells can be configured to automatically be given by an archetype upon reaching a certain level.
Spells can be configured to automatically be given by an archetype upon reaching a certain level.
...
@@ -31,7 +31,7 @@ If a player loses an archetype, all spells learned from it will be lost.
...
@@ -31,7 +31,7 @@ If a player loses an archetype, all spells learned from it will be lost.
#### Talent Trees
#### Talent Trees
_coming soon_
_coming soon_
### Mechanics
## Mechanics
Players can be taught spells using the `teachSpell` mechanic (or have them removed via the `forgetspell` mechanic).
Players can be taught spells using the `teachSpell` mechanic (or have them removed via the `forgetspell` mechanic).
You can use this to create NPCs or [[Custom Menus]] that teach spells, have a boss that teaches a spell upon being defeated, or to use with Crucible to create your own custom tome-type items.
You can use this to create NPCs or [[Custom Menus]] that teach spells, have a boss that teaches a spell upon being defeated, or to use with Crucible to create your own custom tome-type items.
...
@@ -41,12 +41,17 @@ Skills:
...
@@ -41,12 +41,17 @@ Skills:
- teachSpell{spell=DoubleJump} @trigger
- teachSpell{spell=DoubleJump} @trigger
```
```
### Signs
## Signs
Spell Signs can be used to create signs that will teach spells when right-clicked.
Spell Signs can be used to create signs that will teach spells when right-clicked.
To create one, you simply make a sign with the first line as `[Learn Spell]` and the 2nd line as the spell's ID.
To create one, you simply make a sign with the first line as `[Learn Spell]` and the 2nd line as the spell's ID.