... | ... | @@ -10,23 +10,25 @@ The example pack generates a `classes.yml` file which contains several simple ex |
|
|
|
|
|
### Configuration
|
|
|
|
|
|
| Option | Description |
|
|
|
|-----------------|---------------------------------------------------------------------------|
|
|
|
| Group | The type of archetype this falls under, such as 'CLASS' |
|
|
|
| Display | The proper display name of this archetype, such as 'Wizard' |
|
|
|
| Leveling | Section for Leveling options |
|
|
|
| | |
|
|
|
| BaseStats | A list of base stats for this archetype |
|
|
|
| SpellUnlocks | A list of spells unlocked by this archetype |
|
|
|
| InitSkills | A list of skills called when a player gains this class |
|
|
|
| QuitSkills | A list of skills called when a player loses this class |
|
|
|
| Option | Description |
|
|
|
|-----------------|--------------------------------------------------------------------------------------|
|
|
|
| Group | The type of archetype this falls under, such as 'CLASS' |
|
|
|
| Display | The proper display name of this archetype, such as 'Wizard' |
|
|
|
| Description | The description of the archetype |
|
|
|
| BaseStats | A list of base stats for this archetype |
|
|
|
| SpellUnlocks | A list of spells unlocked by this archetype |
|
|
|
| InitSkills | A list of skills called when a player gains this class |
|
|
|
| QuitSkills | A list of skills called when a player loses this class |
|
|
|
| LevelSkills | A list of skills called when a player levels up this class |
|
|
|
| Skills | A list of mechanics applied to anyone with this archetype. Functions the same as how Mythic Mobs are configured |
|
|
|
| [Leveling] | A list of options regarding how the class levels up |
|
|
|
|
|
|
|
|
|
### Default Archetypes
|
|
|
You can configure a 'default' archetype that new players will start as in the `config-archetypes.yml` file inside the `MythicMobs` plugin directory.
|
|
|
|
|
|
With the example files, by default, RPG comes with 2 archetype groups - `class` and `profession` - which can be changed or removed if you'd like. The example files also come with a default class - `Adventurer`. This class doesn't do anything by default but serves as a basic starting point for the examples.
|
|
|
```
|
|
|
```yaml
|
|
|
ADVENTURER:
|
|
|
Display: 'Adventurer'
|
|
|
MaxLevel: 1
|
... | ... | @@ -34,7 +36,7 @@ ADVENTURER: |
|
|
|
|
|
|
|
|
## Examples
|
|
|
```
|
|
|
```yaml
|
|
|
TestArchetype:
|
|
|
Group: CLASS
|
|
|
Display: 'an archetype'
|
... | ... | @@ -49,7 +51,9 @@ TestArchetype: |
|
|
QuitSkills: []
|
|
|
Skills:
|
|
|
- message{m="item"} ~onPickupItem ?triggeringItemType{type=TestFireWand}
|
|
|
```
|
|
|
|
|
|
```yaml
|
|
|
TestMiner:
|
|
|
Group: PROFESSION
|
|
|
Display: 'Miner'
|
... | ... | @@ -58,4 +62,8 @@ TestMiner: |
|
|
MaxLevel: 50
|
|
|
ExperienceCurve: TEST_FORMULA
|
|
|
ExperienceSource: MINING
|
|
|
``` |
|
|
\ No newline at end of file |
|
|
```
|
|
|
|
|
|
|
|
|
<!-- LINKS -->
|
|
|
[Leveling]: /Archetypes/Leveling |
|
|
\ No newline at end of file |