Manual:Game Mechanics/Levels

From DikuMUD Wiki
Jump to navigation Jump to search

Leveling System

This brief document describes the level system. In general, 16,650 xp points = 1 level ( a little less until virtual level 50).

Players (PCs)

Players can be a level 0-255. For most practical purposes the delineation is usually between levels 0-49 and 50+. Levels 200 to 255 are reserved for administrators (gods). Thus, the gaming system allows players from level 0-199.

Players also have a virtual level which is essentially the amount of XP they've earned over the course of time or times they've typed : level now.

Current known limitation: at level 65,535, a player's xp counter rolls back over to 0 as does their level.

The other level available is a guild level - that is the number of levels a character has done in a certain guild and does not reset when a player leaves the guild and rejoins.

Non Player Characters (NPCs)

NPCs can be level 0-199. Odin the All Father 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..250]. [Link to or pull in ability section]

For players the normal max for training abilities is [0..100] but no reason why you couldn't set it higher.

Practice Points

When you gain a new level you'll be awarded points to practice abilities, skills and spells.

For each level you'll be awarded:

 Abilities = 10 * 4
 Skills & Spells = 10 * 8

The 10 is picked as the average cost of an ability or a skill (so it's important that's about the average cost in how the guilds are defined). The 4 is chosen because you have 8 abilities and you should be able to master at least half of your abilities. The 8 is chosen


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) [This is strange and should be reviewed]

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 NPCs don't have skills.