Skip to main content

Experience and levels

The party · Attributes and classes · Scripted experience awards

In brief​

Experience comes from killing monsters and from script awards, shared between the eligible characters. Each character divides its share between its classes. A class gains a level when its experience is strictly above the next threshold, at most one level per award, and 13 is the highest level experience can reach. A level adds hit points, rolled with the class's hit die up to a given level and fixed above it, plus the constitution modifier.

Experience needed for each level from 2 to 13, by base class, on a logarithmic scale: from 1,250 to 2,500 points for level 2, and from 660,000 for a thief to 1,500,000 for a paladin or ranger for level 13. Level 13 is the highest that experience can reach.
Each base class has its own ladder; thieves climb fastest, paladins and rangers slowest.

Experience and levels​

A script shares an award between the eligible party members; see scripted experience awards; a negative award can grant levels (anomaly). Killing a monster awards its type's experience the same way; see when a monster dies. Each character then divides its share between its classes:1

share = amount / number_of_classes # integer division
for each class c of the character:
experience[c] += share
next = threshold(c, level[c] + 1)
if next != -1 and experience[c] > next: # strictly more
gain_a_level(c)

Each class is compared once per award, so an award raises a class by at most one level even when it covers several thresholds; the next award raises it again. The thresholds, in experience points, are:

LevelFighterMageClericThiefPaladin, ranger
100000
22,0002,5001,5001,2502,250
34,0005,0003,0002,5004,500
48,00010,0006,0005,0009,000
516,00020,00013,00010,00018,000
632,00040,00027,50020,00036,000
764,00060,00055,00040,00075,000
8125,00090,000110,00070,000150,000
9250,000135,000225,000110,000300,000
10500,000250,000450,000160,000600,000
11750,000375,000675,000220,000900,000
121,000,000750,000900,000440,0001,200,000
131,250,0001,125,0001,125,000660,0001,500,000

Level 14 has no threshold, so 13 is the highest level experience can reach. A special event grants one level through this same path, which does not work for multi-class characters.

Gaining a level​

When a class gains a level, the game:2

  1. adds one to that class's level;
  2. adds the hit points below to both hit_points and hit_points_max;
  3. prints "name has gained a level." and plays sound 23.

New spell slots take effect the next time the character memorizes or prays. The hit points gained are computed for the class that gained the level:

if level[c] <= rolled_up_to_level(c):
gain = roll(1, hit_die(c))
else:
gain = fixed_gain(c)
gain += constitution_modifier
hit_points_gained = max(1, gain / number_of_classes) # integer division

The constitution modifier is added even above the last rolled level. It is, by constitution score:

Constitution12–34–67–14151617181920–2223–24
Modifier−3−2−10+1+2+3+4+5+6+7

Except for fighters, paladins and rangers, a modifier above +2 counts as +2.

Sources​

Locations refer to the game executable reference; comparative sources are listed in the technical references. The figures are drawn by make_party_figures.py.

Footnotes​

  1. Add experience to a character and the experience thresholds in the experience tables. Comparative source: REF-SCUMM-014, increaseCharacterExperience and getRequiredExperience. ↩

  2. Gain a level and hit points for a level, with the level gain text and the constitution table. Comparative source: REF-SCUMM-014, increaseCharacterLevel and generateCharacterHitpointsByLevel. ↩