mirror of
https://gitlab.com/phoenix-dvpmt/mmocore.git
synced 2024-11-24 00:15:16 +01:00
Fixed default class configs
This commit is contained in:
parent
7e8a074669
commit
584619070b
@ -59,7 +59,6 @@ public class ExperienceManager implements MMOCoreManager {
|
||||
return Objects.requireNonNull(expTables.get(id), "Could not find exp table with ID '" + id + "'");
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
public ExperienceTable loadExperienceTable(Object obj) {
|
||||
|
||||
if (obj instanceof ConfigurationSection)
|
||||
|
@ -35,13 +35,11 @@ exp-curve: levels
|
||||
max-level: 100
|
||||
|
||||
# This class must not display in /class
|
||||
# becasue it is a subclass of mage
|
||||
# because it is a subclass of mage
|
||||
options:
|
||||
display: false
|
||||
|
||||
triggers:
|
||||
level-up:
|
||||
- 'command{format="mmocore admin skill-points give %player% 1"}'
|
||||
exp-table: class_exp_table
|
||||
|
||||
attributes:
|
||||
max-health:
|
||||
|
@ -32,9 +32,7 @@ exp-curve: levels
|
||||
# The maximum level players can reach
|
||||
max-level: 100
|
||||
|
||||
triggers:
|
||||
level-up:
|
||||
- 'command{format="mmocore admin skill-points give %player% 1"}'
|
||||
exp-table: class_exp_table
|
||||
|
||||
# This is the default mana display options, however it is not mandatory
|
||||
# to have it in your class config file. Other classes do not have this
|
||||
|
@ -31,9 +31,7 @@ exp-curve: levels
|
||||
# The maximum level players can reach
|
||||
max-level: 100
|
||||
|
||||
triggers:
|
||||
level-up:
|
||||
- 'command{format="mmocore admin skill-points give %player% 1"}'
|
||||
exp-table: class_exp_table
|
||||
|
||||
# Particles displayed around the player
|
||||
# when he enters the casting mode.
|
||||
|
@ -33,13 +33,7 @@ exp-curve: levels
|
||||
# The maximum level players can reach
|
||||
max-level: 100
|
||||
|
||||
triggers:
|
||||
level-up:
|
||||
- 'command{format="mmocore admin skill-points give %player% 1"}'
|
||||
|
||||
# Get some mana back when dealing magic damage.
|
||||
magic-damage:
|
||||
- 'mana{operation=GIVE;amount=1}'
|
||||
exp-table: class_exp_table
|
||||
|
||||
cast-particle:
|
||||
particle: VILLAGER_HAPPY
|
||||
|
@ -31,11 +31,10 @@ exp-curve: levels
|
||||
# The maximum level players can reach
|
||||
max-level: 100
|
||||
|
||||
triggers:
|
||||
level-up:
|
||||
- 'command{format="mmocore admin skill-points give %player% 1"}'
|
||||
exp-table: class_exp_table
|
||||
|
||||
options:
|
||||
# Mana and health regen only applies when out of combat
|
||||
off-combat-mana-regen: true
|
||||
off-combat-health-regen: true
|
||||
|
||||
|
@ -53,15 +53,14 @@ mana:
|
||||
empty: WHITE
|
||||
name: 'Rage'
|
||||
|
||||
exp-table: class_exp_table
|
||||
|
||||
# Rage charges when dealing weapon and physical damage.
|
||||
triggers:
|
||||
weapon-damage:
|
||||
- 'mana{operation=GIVE;amount=2-3}'
|
||||
physical-damage:
|
||||
- 'mana{operation=GIVE;amount=2-3}'
|
||||
|
||||
level-up:
|
||||
- 'command{format="mmocore admin skill-points give %player% 1"}'
|
||||
|
||||
cast-particle:
|
||||
particle: REDSTONE
|
||||
|
@ -31,6 +31,14 @@ example_exp_table:
|
||||
- 'exp{amount=80}'
|
||||
- 'command{format="broadcast Boy, %player_name% level up twice in one of his(her) professions!"}'
|
||||
|
||||
# Exp table used by class to provide
|
||||
# one skill point every level up
|
||||
class_exp_table:
|
||||
skill_point:
|
||||
period: 1
|
||||
triggers:
|
||||
- 'command{format="mmocore admin skill-points give %player% 1"}'
|
||||
|
||||
second_exp_table:
|
||||
|
||||
# Base exp every level up, sweet.
|
||||
|
Loading…
Reference in New Issue
Block a user