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 40
    • Issues 40
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • MythicRPGMythicRPG
  • Wiki
    • Spells
  • Learning

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

Learning

Spells can be learned by players in a variety of ways, and not all ways need to be used on your server. Any castable spells a player learns will appear in their spellbook.

  • Learning Spells
    • Admin Commands
    • Archetypes
      • by Leveling
      • Talent Trees
    • Mechanics
    • Signs
    • Tomes

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: /mythicrpg spells teach [name] [spell]

You can also use the unlearn command to remove a spell from someone.

Archetypes

by Leveling

Spells can be configured to automatically be given by an archetype upon reaching a certain level.

This is configured in an archetype's SpellUnlocks section.

Pyromancer:
  Group: CLASS
  Display: 'Pyromancer'
  SpellUnlocks:
  - Fireball
  - RainOfFire 10

In this example, a player would learn Fireball immediately upon gaining the Pyromancer archetype, and would learn RainOfFire upon reaching level 10.

If a player loses an archetype, all spells learned from it will be lost.

Talent Trees

coming soon

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.

Skills:
- teachSpell{spell=DoubleJump} @trigger

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

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.

Clone repository

MythicRPG

  • Home
  • Changelogs
  • Commands / Permissions
  • FAQ / Common Issues
Usage
  • Installation
  • Spells
    • Learning
    • Casting
    • Reagents
  • Archetypes
    • Leveling
    • Talents
    • Professions
    • Boosters
  • Currencies
  • Custom Commands
  • Custom Menus
  • Global Spells ("MythicScript")
  • Waypoints
Mechanics
  • Mechanics
  • Targeters
  • Triggers
  • Conditions
Placeholders
  • Placeholders