Update Spells authored by Ashijin's avatar Ashijin
...@@ -3,20 +3,19 @@ Spells are just special Mythic skills that are castable by players. ...@@ -3,20 +3,19 @@ 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 skill into a spell unlocks new options you can use to control how the spell is cast.
# Making a Spell # 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. Turning a regular skill into a spell is simple and can be done with any existing Mythic skill - it just requires adding the option `Spell: true` to the skill. It will then be registered as a spell after the next reload and all of the extra casting options will be unlocked.
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 ### Spell Attributes
Spells are just Mythic Skills with extra options. All regular Mythic skill options are also applicable! Spells are just Mythic Skills with extra options. All regular Mythic skill options are also applicable!
| Functional Options | Description | | Functional Options | Description |
|------------------------------|-------------------------------------------------------------------------| |------------------------------|-------------------------------------------------------------------------|
| Learnable: [true/false] | Turns the skill into a spell and allows players to learn it. | | Spell: true | 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. | | LearnConditions: [conditions]| A list of conditions that must be met to learn the spell. |
| Trigger: [trigger] | What triggers the spell. Defaults to ~onUse | | 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. | | 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. | | Cost: [reagents] | A list of reagents this spell costs to cast. |
| Global: true | Makes it a global spell, causing it to be automatically applied to all players |
| Aesthetic Options | Description | | Aesthetic Options | Description |
|------------------------------|-------------------------------------------------------------------------| |------------------------------|-------------------------------------------------------------------------|
... ...
......