home » builders » builder's lessons » mobile classes

Mobile classes

Below is a listing of all the possible classes that a mobile can be. The numbers next to each one are the bit vector numbers. You could use those instead of the words but it would make your area file less readable. When a mobile is set to a specific class it will act in that classes special way. Some of these things happen all the time, and some things only in battle. For instance a mobile set to CLASS_FIGHTER will kick and punch in battle, whereas a mobile set to CLASS_MAGES will cast spells in battle.

As you can see each deity has a class. This is used mostly by priests mobiles of their faith. These mobs will use skills and spells inherant to the priests of that diety. In most instances you should set the mobiles deity to be the same.

Please use CLASS_MONSTER for those mobiles that are monsters and are the kinds of NPC's who have not trained at all in the art of battle.

Warrior Classes
CLASS_WARRIOR     0
CLASS_RANGERS     6
CLASS_FIGHTERS   12
CLASS_PALADINS   13
Wizard Classes
CLASS_WIZARD        1
CLASS_ILLUSIONISTS  4
CLASS_INVOKERS     15
CLASS_MAGES        11
CLASS_NECROMANCERS  7
CLASS_TRANSMUTERS  14
CLASS_ABJURERS
CLASS_CONJURERS
Rogue classes
CLASS_ROGUE     3
CLASS_THIEVES   8
CLASS_BARDS     9
Priest classes
CLASS_PRIEST     2
CLASS_BANE      46
CLASS_BESHABA   32
CLASS_CHAUNTEA   5
CLASS_CORELLON  35
CLASS_CYRIC     23
CLASS_GARL      40
CLASS_GOND      26
CLASS_GRUUMSH   37
CLASS_HELM      30
CLASS_ILMATER   17
CLASS_KELEMVOR  19
CLASS_LATHANDER 24
CLASS_LLOTH     34
CLASS_LOVIATAR  29
CLASS_MALAR     25
Priest Classes
CLASS_MASK      18
CLASS_MIELIKKI  21
CLASS_MORADIN   36
CLASS_MYSTRA    16
CLASS_OGHMA     33
CLASS_SELUNE    27
CLASS_SHAR      41
CLASS_SUNE      20
CLASS_TALONA    47
CLASS_TALOS     31
CLASS_TEMPUS    22
CLASS_TORM      38
CLASS_TYMORA    28
CLASS_TYR       10
CLASS_UMBERLEE  44
CLASS_WAUKEEN   45
CLASS_YONDALLA  39
Other classes
CLASS_VAMPIRE  42
CLASS_MONSTER  43
CLASS_NONE     -1