... | ... | @@ -8,12 +8,15 @@ Turning a regular skill into a spell is simple and can be done with any existing |
|
|
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
|
|
|
Spells are just Mythic Skills with extra options. All regular Mythic skill options are also applicable!
|
|
|
|
|
|
| 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 |
|
|
|
| Targeter: @[targeter] | The main targeter for the spell. If this is set the spell will fail to cast and not consume resources if a valid target isn't found. |
|
|
|
| Cost: [reagents] | A list of reagents this spell costs to cast. |
|
|
|
|
|
|
| Aesthetic Options | Description |
|
|
|
|------------------------------|-------------------------------------------------------------------------|
|
... | ... | @@ -21,4 +24,28 @@ Once a skill is "learnable", it will be registered a spell after the next reload |
|
|
| 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 |
|
|
| KillMessage: [list] | |
|
|
|
|
|
|
# Examples
|
|
|
|
|
|
```
|
|
|
MAGIC_MISSILE:
|
|
|
Cooldown: 2
|
|
|
Display: 'Magic Missile'
|
|
|
Description:
|
|
|
- 'Shoots a magic missile'
|
|
|
Icon:
|
|
|
Material: NETHER_STAR
|
|
|
Model: 20
|
|
|
Learnable: true
|
|
|
LearnConditions:
|
|
|
- archetype{group=class;type=wizard}
|
|
|
Targeter: target
|
|
|
Trigger: ~onUse
|
|
|
Cost:
|
|
|
- mana 40
|
|
|
TargetConditions:
|
|
|
- distance <20
|
|
|
Skills:
|
|
|
- missile{}
|
|
|
``` |
|
|
\ No newline at end of file |