forked from Upstream/mmocore
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 + "'");
|
return Objects.requireNonNull(expTables.get(id), "Could not find exp table with ID '" + id + "'");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Deprecated
|
|
||||||
public ExperienceTable loadExperienceTable(Object obj) {
|
public ExperienceTable loadExperienceTable(Object obj) {
|
||||||
|
|
||||||
if (obj instanceof ConfigurationSection)
|
if (obj instanceof ConfigurationSection)
|
||||||
|
@ -35,13 +35,11 @@ exp-curve: levels
|
|||||||
max-level: 100
|
max-level: 100
|
||||||
|
|
||||||
# This class must not display in /class
|
# This class must not display in /class
|
||||||
# becasue it is a subclass of mage
|
# because it is a subclass of mage
|
||||||
options:
|
options:
|
||||||
display: false
|
display: false
|
||||||
|
|
||||||
triggers:
|
exp-table: class_exp_table
|
||||||
level-up:
|
|
||||||
- 'command{format="mmocore admin skill-points give %player% 1"}'
|
|
||||||
|
|
||||||
attributes:
|
attributes:
|
||||||
max-health:
|
max-health:
|
||||||
|
@ -32,9 +32,7 @@ exp-curve: levels
|
|||||||
# The maximum level players can reach
|
# The maximum level players can reach
|
||||||
max-level: 100
|
max-level: 100
|
||||||
|
|
||||||
triggers:
|
exp-table: class_exp_table
|
||||||
level-up:
|
|
||||||
- 'command{format="mmocore admin skill-points give %player% 1"}'
|
|
||||||
|
|
||||||
# This is the default mana display options, however it is not mandatory
|
# 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
|
# 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
|
# The maximum level players can reach
|
||||||
max-level: 100
|
max-level: 100
|
||||||
|
|
||||||
triggers:
|
exp-table: class_exp_table
|
||||||
level-up:
|
|
||||||
- 'command{format="mmocore admin skill-points give %player% 1"}'
|
|
||||||
|
|
||||||
# Particles displayed around the player
|
# Particles displayed around the player
|
||||||
# when he enters the casting mode.
|
# when he enters the casting mode.
|
||||||
|
@ -33,13 +33,7 @@ exp-curve: levels
|
|||||||
# The maximum level players can reach
|
# The maximum level players can reach
|
||||||
max-level: 100
|
max-level: 100
|
||||||
|
|
||||||
triggers:
|
exp-table: class_exp_table
|
||||||
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}'
|
|
||||||
|
|
||||||
cast-particle:
|
cast-particle:
|
||||||
particle: VILLAGER_HAPPY
|
particle: VILLAGER_HAPPY
|
||||||
|
@ -31,11 +31,10 @@ exp-curve: levels
|
|||||||
# The maximum level players can reach
|
# The maximum level players can reach
|
||||||
max-level: 100
|
max-level: 100
|
||||||
|
|
||||||
triggers:
|
exp-table: class_exp_table
|
||||||
level-up:
|
|
||||||
- 'command{format="mmocore admin skill-points give %player% 1"}'
|
|
||||||
|
|
||||||
options:
|
options:
|
||||||
|
# Mana and health regen only applies when out of combat
|
||||||
off-combat-mana-regen: true
|
off-combat-mana-regen: true
|
||||||
off-combat-health-regen: true
|
off-combat-health-regen: true
|
||||||
|
|
||||||
|
@ -53,6 +53,8 @@ mana:
|
|||||||
empty: WHITE
|
empty: WHITE
|
||||||
name: 'Rage'
|
name: 'Rage'
|
||||||
|
|
||||||
|
exp-table: class_exp_table
|
||||||
|
|
||||||
# Rage charges when dealing weapon and physical damage.
|
# Rage charges when dealing weapon and physical damage.
|
||||||
triggers:
|
triggers:
|
||||||
weapon-damage:
|
weapon-damage:
|
||||||
@ -60,9 +62,6 @@ triggers:
|
|||||||
physical-damage:
|
physical-damage:
|
||||||
- 'mana{operation=GIVE;amount=2-3}'
|
- 'mana{operation=GIVE;amount=2-3}'
|
||||||
|
|
||||||
level-up:
|
|
||||||
- 'command{format="mmocore admin skill-points give %player% 1"}'
|
|
||||||
|
|
||||||
cast-particle:
|
cast-particle:
|
||||||
particle: REDSTONE
|
particle: REDSTONE
|
||||||
color:
|
color:
|
||||||
|
@ -31,6 +31,14 @@ example_exp_table:
|
|||||||
- 'exp{amount=80}'
|
- 'exp{amount=80}'
|
||||||
- 'command{format="broadcast Boy, %player_name% level up twice in one of his(her) professions!"}'
|
- '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:
|
second_exp_table:
|
||||||
|
|
||||||
# Base exp every level up, sweet.
|
# Base exp every level up, sweet.
|
||||||
|
Loading…
Reference in New Issue
Block a user