... | ... | @@ -2,8 +2,8 @@ Spells can be learned by players in a variety of ways, and not all ways need to |
|
|
|
|
|
[[_TOC_]]
|
|
|
|
|
|
## Learning Spells
|
|
|
### Admin Commands
|
|
|
# Learning Spells
|
|
|
## Admin Commands
|
|
|
The most obvious way to learn spells is by using admin commands.
|
|
|
|
|
|
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.
|
|
|
|
|
|
### Archetypes
|
|
|
## Archetypes
|
|
|
#### by Leveling
|
|
|
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. |
|
|
#### Talent Trees
|
|
|
_coming soon_
|
|
|
|
|
|
### Mechanics
|
|
|
## Mechanics
|
|
|
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.
|
... | ... | @@ -41,12 +41,17 @@ Skills: |
|
|
- teachSpell{spell=DoubleJump} @trigger
|
|
|
```
|
|
|
|
|
|
### Signs
|
|
|
## Signs
|
|
|
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.
|
|
|
|
|
|
![image](uploads/d48450ed19e9af3f7ea3c0fd260b515c/image.png)
|
|
|
|
|
|
### Tomes
|
|
|
## Tomes
|
|
|
Tomes are special items that can teach you a spell. These can be given to players directly or (more likely) put in loot chests, dropped by mobs, etc.
|
|
|
|
|
|
**You can obtain a tome using admin commands:**
|
|
|
`/mythicrpg spells tome get [spell]`
|
|
|
|
|
|
Mobs can also drop a tome using the custom `spelltome{spell=X}` drop type. |
|
|
\ No newline at end of file |