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, wherex
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 | Values | Description |
---|---|---|
BLOCK_BREAK | Types of Blocks | Breaking blocks (including custom blocks) |
BLOCK_PLACE | Types of Blocks | Placing blocks (including custom blocks) |
FARMING | Crop Blocks | Breaking a crop block that is fully grown |
KILL_ENTITY | Entity types | Killing an entity of a given type |
KILL_MOB | Mythic mob types | Killing a mythic mob of a given type |
VANILLA | Collecting vanilla experience orbs. Can define a Multiplier
|