Skip to content

Class Configuration

Multitallented edited this page Sep 13, 2020 · 3 revisions
type: class
name: default # name that corresponds with the translation file
icon: PLAYER_HEAD # icon in the class select menu
is-in-shop: false # false if you don't want it to be available in the shop (can be unlocked through pre-reqs)
level: 1 # for shop sort by level

children: [] # classes that must be unlocked before this can be unlocked
pre-reqs:
  - skill:crafting=3 # requires you have level 3 crafting skill
  - potion_weakness:level=3 # requires you have level 3 in the potion_weakness spell
  - alchemist:level=21 # requires level 21 in the alchemist class
  - hovel:level=2 # requires a hovel with level 2
  - member=hamlet:village:town:city:metropolis # requires that you are a member of a hamlet or higher

mana-title: mana # key that corresponds to the translation file
mana-per-second: 1
max-mana: 50
max-health: 20
max-level: 8 # the max levels that can be put into this class

allowed-actions:
  - BOW # allows the player to hold/use bows
  - CROSSBOW
  - TRIDENT
  - DIAMOND_SWORD
  - DIAMOND_AXE
  - DIAMOND_HELMET
  - DIAMOND_CHESTPLATE
  - DIAMOND_LEGGINGS
  - DIAMOND_BOOTS
  - SHARPNESS.5 # allows the player to hold/use items with sharpness 1, 2, 3, 4, or 5
  - PIERCING.5
  - POWER.5
  - PROTECTION.4

spells:
  1: # this slot is unlocked from the beginning
    - g:damage # allows any damage group spell to be used in this slot
    - g:disable # allows any disable group spell to be used in this slot
    - potion_weakness # allows the potion_weakness spell to be used in this slot
  2: # unlocked at level 4
    - g:buff
    - g:chase
    - g:heal
  3: # unlocked at level 8
    - g:escape
    - g:non-combat