|
|
Spells are just special Mythic skills that are castable by players.
|
|
|
|
|
|
Making a skill into a spell unlocks new options you can use to control how the spell is cast.
|
|
|
|
|
|
# Making a Spell
|
|
|
Turning a regular skill into a spell is simple and can be done with any existing Mythic skill - it just requires adding the option `Learnable: true` to the skill.
|
|
|
|
|
|
Once a skill is "learnable", it will be registered a spell after the next reload and all of the extra casting options will be unlocked.
|
|
|
|
|
|
### Spell Attributes
|
|
|
|
|
|
| Functional Options | Description |
|
|
|
|------------------------------|-------------------------------------------------------------------------|
|
|
|
| Learnable: [true/false] | Turns the skill into a spell and allows players to learn it. |
|
|
|
| LearnConditions: [conditions]| A list of conditions that must be met to learn the spell. |
|
|
|
| Trigger: [trigger] | What triggers the spell. Defaults to ~onUse |
|
|
|
|
|
|
| Aesthetic Options | Description |
|
|
|
|------------------------------|-------------------------------------------------------------------------|
|
|
|
| Display: [name] | The display name of the spell |
|
|
|
| Description: [list] | A description of what the spell does for GUIs and info commands |
|
|
|
| Icon.Material: [material] | |
|
|
|
| Icon.Model: [material] | |
|
|
|
| KillMessage: [list] | | |
|
|
\ No newline at end of file |