Manual:Game Mechanics/Levels

From DikuMUD Wiki
Jump to navigation Jump to search

Leveling System

This brief document describes the level system.

Players (PCs)

Players can be level 0-255.

Levels 200 to 255 are reserved for administrators (gods).

Thus, the gaming system allows players from level 0-199.


Non Player Characters (NPCs)

NPCs can be level 0-199.

Odin the allfather of the Aesir is level 199.

TODO: Add a few more examples.

Abilities

Both PCs and NPCs have eight abilities STR,DEX,CHA,BRA,MAG,DIV,HPP, CON.

Abilities are in the range of [0..199]. [Link to or pull in ability section]

HP, Endurance, Mana

Both PCs and NPCs have hit-points, endurance and mana.

Hit-points

A PCs hit-points max is (3 * HPP + 20) A NPCs hit-points max is (3 * HPP + 10)

Non-immportal PCs have their hits set to -1 when they exceed their lifespan.

A character gains hit-points based on CON: (1 + hit max(CON) / 10)

If a character is fighting there is no hit gain. Resting 50% additional gain, sitting 25% additional gain.

If a character is in a unit which has the UNIT_FL_SACRED set, the gain is furthermore doubled.

If a player is thirsty or hungry the gain is reduced.


Mana

Max is 100 + (BRA + CHA)/2 but never less than 200.

For a player the max is further modified by the player's age compared to lifespan.

The gain is 1 + MAX/10 Plus (CHA - the larger of(MAG, DIV) / 3)

If a character is fighting there is no hit gain. Resting 50% additional gain, sitting 25% additional gain.

If a character is in a unit which has the UNIT_FL_SACRED set, the gain is furthermore doubled.

If a player is thirsty or hungry the gain is reduced.

Endurance

Max endurance is a char's CON * 2 + 150.

For a player the endurance is further modified by the player's age compared to lifespan.

The endurance gain is: 1+endurance-max/10.

Gain is zero when fighting.

Additional 50% if resting or sleeping. Additional 25% if sitting. Furthermore doubled if in a unit with UNIT_FL_SACRED

If a player is thirsty or hungry the gain is reduced.

Skills

PCs have a full skill tree