Skip to content

Proficiencies ​

The Proficiencies editor (Entity Stats > Proficiencies).
The Proficiencies editor (Entity Stats > Proficiencies).

A proficiency is a skill the player gets better at: swords, heavy armor, fire magic, lockpicking. It has a level. The level grows by use (hitting with a sword, being hit in plate, casting fire spells), by rewards and by script. Three things hang on the level:

  • its own stat effects: more damage, a better hit chance, less damage taken. The level is their points;
  • the equipment it gates: items of its weapon classes, weapon types and armor classes can need a level to be equipped;
  • requirements you put elsewhere ("needs Plate 25 to use this ability").

The demo has two: One-Handed Weapons (grows when you hit with one; while you hold one, every level makes your hits half a percent stronger and adds a tenth of a percent to your chance to hit) and Heavy Armor (grows when you are hit in plate or mail; while you wear them, every level lowers the damage you take by a fifth of a percent).

The editor ​

The left column is the skill, the right column is what it does.

Levels ​

FieldWhat it doesDefault
Max levelThe highest level100
Starting levelThe level a new player starts at0
Experience formulaThe experience needed to go from level n to n+1, with n as the input (a formula). None = 10 x (n + 1): 10 for level 1, 20 for level 2none

Tiers and specializations ​

Add tier and Add specialization (under the Levels fields) give a proficiency tiers that cap its level until a trainer, a quest or an event trains the next one (Novice up to 25, Skilled up to 50, Master up to 100), and choices to master (a Sharp Edge that gives +5 Strength while chosen). See Skill tiers and specializations. With no tiers the level goes up to the highest level, as before.

What it is for ​

These lists use your own weapon classes, weapon types and armor classes (the ones you made in Equipment Definitions) and schools. A weapon class is a kind of weapon (Sword, Dagger, Bow); a weapon type is how it is held (One Hand, Two Hand, Ranged). Use whichever fits the skill: Swords for the class Sword, One-Handed Weapons for the type One Hand.

FieldWhat it does
Weapon classes, Weapon typesHitting an enemy with a weapon of one of them trains the skill, the effects work while one is held, and they can be gated
Armor classesBeing hit while wearing one trains the skill, the effects work while one is worn, and they can be gated
SchoolsUsing an ability of one of these schools trains the skill

Each of these lists is a tag picker (see the editor tour): what you picked shows as tags with an x, and Add... opens a searchable list.

Language ​

A proficiency can be a language of the game world (Common, Orcish). Tick This proficiency is a language and list its syllables: the garbled words of the language are made of them (empty = a default list). The level is how much of the language a character understands, and a character gains experience in it by hearing it. See Chat > Languages.

Gaining experience ​

FieldWhat it doesDefault
Experience per useThe experience of one use1
Seconds between gainsUses closer together than this give nothing, so a training dummy cannot be farmed with a thousand taps. 0 = every use counts0

Requirements ​

FieldWhat it doesDefault
Level needed to equipThe level the player needs to equip the weapons and armor listed above. 0 = anyone can equip them. Above 0, a player under that level cannot wear the item and is told why0

For most games this replaces "an ability requirement" on a weapon class or armor class: the skill is the requirement. A player who starts with no level cannot equip anything gated, so give the classes that start trained a Proficiency reward in their level 1 rewards, and give the others a trainer or a quest.

Effects ​

FieldWhat it doesDefault
Only while using its gearOn: the effects only work while the player holds one of the listed weapons or wears a piece of the listed armor. Off: they always work. A skill with no weapon and no armor (a school, lockpicking) always workson

The stat effects of the skill are in the right column: Add stat effect and choose a type, exactly like in the Stats editor. The level of the proficiency is their points: a Calculation Modifier Effect on Damage Done with a Linear formula of 0.5 is half a percent for every level. The same hit filters, conditions and formulas work. A Hit Chance Effect (accuracy) works here too: the skill with a weapon is what makes you hit with it.

What trains a proficiency ​

SourceWhen
Weapon classes and typesA hit lands with a weapon attack: a Damage effect that uses the weapon (a share of the weapon damage, or the weapon's damage type) while the player holds a weapon of the class or type. A spell does not train swords
Armor classesThe player is hit and takes damage while wearing equipment of the class
SchoolsThe player uses an ability of the school
RewardA Proficiency reward gives experience or levels. Use it for trainers, quests and books
Scriptplayer.proficiencies.add_experience(id, amount), add_levels or set_level

Examples ​

You wantSetup
Swords that hit harderA proficiency Swords: weapon class Sword. One Calculation Modifier Effect on Damage Done, percentage increase, Linear 0.5
Better hit chance with a weaponA Hit Chance Effect, Side Accuracy, Linear 0.1: a tenth of a percent more chance to hit for every level
Plate that hurts less once you are used to itA proficiency Heavy Armor: armor classes Plate and Mail. A Calculation Modifier Effect on Damage Taken, percentage decrease, Linear 0.2
Heavy armor only for the trainedLevel needed to equip 10 on Heavy Armor. Warriors get a Proficiency reward of 10 levels at level 1; a mage has to train
LockpickingA proficiency with no weapon, armor or school. A reward or an interaction gives it experience; a requirement on a lock asks for the level
A slower climb at the topAn experience formula such as a Linear formula of 25 per level

If your game has no misses (Gameplay Config > Hit Rules), leave the accuracy effect out: it does nothing while the hit system is off.

Proficiencies in other systems ​

A proficiency is a number the player owns, so the rest of the toolkit can ask for it and change it:

WhereWhatWhat it does
RequirementProficiency: Proficiency, Required levelMet when the player has that level. It is asked again when a level changes. Use it on abilities, items, quests and anything with requirements
ConditionProficiencyCondition: Proficiency, Level check logic, Required levelThe same question as a condition: stat effects ("more damage while Lockpicking is 50 or more"), conditional effects, events, behavior. Compare with at least, at most, equals, above, below or not equal
RewardProficiency: Proficiency, Mode (Experience or Levels), AmountGives experience (levels follow) or whole levels. A quest, a loot drop, a level-up
EffectProficiency Effect: Proficiency, Action, AmountA trainer that teaches, a potion that dulls a skill, a buff that raises it. See below

The Proficiency Effect ​

ActionLastsWhat it does
Add levelsPermanentAdds whole levels to the trained level. A negative amount takes levels away
Add experiencePermanentAdds experience towards the next level. Levels follow when it is enough
Set levelPermanentSets the trained level. The experience towards the next level starts again
Boost levelsWhile the effect lastsAdds levels when the effect starts and takes them away when it ends. A negative amount is a curse

The level always stays between 0 and the highest level of the proficiency. Only players train proficiencies, so the effect does nothing to other targets.

A boost is not part of the saved level: the character keeps the trained level, and the effect gives its boost again when a save is loaded. Give the effect a duration (or make it a buff on an ability that is toggled or channelled), or it ends at once. The boosted level is the one that counts everywhere: the points of the effects of the proficiency, requirements and conditions all see it.

Who holds proficiencies, and how to ask ​

Players hold them, and every party member is a player, so each companion has levels of its own. NPCs do not train: they have the stat effects of their own stats, and anything that asks for a proficiency level gets the starting level of the proficiency.

For a UI or your own code:

gdscript
var level: int = entity.get_proficiency_level(proficiency_id)   # any entity; boosts included

var skills: ProficiencyTracker = player.get_proficiencies()      # players
skills.get_level(id)                 # trained level plus boosts
skills.get_base_level(id)            # trained level only
skills.get_experience(id)            # towards the next level
skills.get_experience_to_next(id)    # 0 at the highest level
skills.get_known_ids()               # the proficiencies the player has any progress in

skills.level_changed.connect(func(id, new_level, old_level): ...)   # redraw a skill list
skills.experience_gained.connect(func(id, amount): ...)             # fill an experience bar

Saving ​

The levels and the experience are part of the player and are saved with it. The effects work again when the game loads.

Only players have proficiencies. Other entities have the starting level, so a requirement for a level above it fails for them, and an NPC gets no effects from a skill.

See also ​