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

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

Leveling

Leveling

Archetypes can be configured to be levelable using options under the Leveling section.

Options Description
MinLevel The level the player starts at with this archetype
MaxLevel The maximum level of this archetype
ExperienceCurve The experience curve this archetype uses
ExperienceSource The experience source group this archetype can benefit from

For example:

TestArchetype:
  Leveling:
    MinLevel: 1
    MaxLevel: 50
    ExperienceCurve: TEST_STATIC
    ExperienceSource: MOBS

Experience Curves

Experience Curves determine how much experience is needed to reach each level, and are defined in experience-curves.yml inside any Mythic pack folder. Inside this file, you can define as many custom experience curves as you want.

There are two types of curves, FORMULA and STATIC:

  • FORMULA - Uses math to determine the experience needed to level, where x is the next level
  • STATIC - You define the values for each level yourself

Ann experience curve file might look like this:

TEST_FORMULA:
  Type: FORMULA
  Formula: 'x * 100'

TEST_STATIC:
  Type: STATIC
  Levels:
    1: 100
    2: 200
    3: 500

Experience Sources

Experience Sources are a group of different things that experience can be earned from. They are defined inside an experience-sources.yml file in any Mythic pack folder, and each file can contain any number of source groups.

Each experience source group can contain sections of one or more types of sources.

An experience source called MOBS might look like this:

MOBS:
  Sources:
  - Type: killEntity
    Conditions: []
    TriggerConditions: []
    Values:
    - ZOMBIE 1to2
    - HUSK 1to2
    - SKELETON 50
  - Type: killmythic
    Conditions: []
    TriggerConditions: []
    Values:
    - TestingDummy2 100

Available Sources

Type Aliases Values Description
BLOCK_BREAK BREAK_BLOCK, MINE, MINING Types of Blocks Breaking blocks (including custom blocks)
BLOCK_PLACE PLACE_BLOCK, BUILD, BUILDING Types of Blocks Placing blocks (including custom blocks)
CONSUME_ITEM EATING, EAT, EAT_ITEM Consume/Eat any item
DAMAGED Taking damage from any source
KILL_ENTITY KILL_MOB, KILL_MOBS, KILL_ENTITIES Entity types Killing an entity of a given type
KILL_MYTHIC KILL_MYTHIC_MOB, KILL_MYTHIC_ENTITIES Mythic mob types Killing a mythic mob of a given type
VANILLA Collecting vanilla experience orbs. Can define a Multiplier Option
FARMING Crop Blocks Breaking a crop block that is fully grown
Clone repository

MythicRPG

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