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
An 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) |
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 |