Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
MythicRPG MythicRPG
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 39
    • Issues 39
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • MythicRPGMythicRPG
  • Wiki
  • Spells

Last edited by Lxlp Oct 29, 2024
Page history
This is an old version of this page. You can view the most recent version or browse the history.

Spells

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 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.

Spell Attributes

Spells are just Mythic Skills with extra options. All regular Mythic skill options are also applicable!

Functional Options Description
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.
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.
Global: true Makes it a global spell, causing it to be automatically applied to all players
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]

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{}
Clone repository

MythicRPG

  • Home
  • Changelogs
  • Commands / Permissions
  • FAQ / Common Issues
Usage
  • Installation
  • Spells
    • Learning
    • Casting
    • Reagents
  • Archetypes
    • Leveling
    • Talents
    • Professions
    • Boosters
  • Currencies
  • Waypoints
Mechanics
  • RPG Mechanics
  • RPG Targeters
  • RPG Triggers
  • RPG Conditions
Placeholders
  • Placeholders
  • Placeholders.yml