#include <Descriptors.h>
Public Types | |
| typedef size_t | Type |
| An integer type representing a type of descriptor. | |
Static Public Member Functions | |
| std::string | getName (Type type) |
| Determine the name of a spell descriptor. | |
Static Public Attributes | |
| const Type | ACID = 0 |
| Spells with acidic effects. | |
| const Type | CHAOTIC = 1 |
| Spells with chaotic natures. | |
| const Type | COLD = 2 |
| Spells with freezing effects. | |
| const Type | DARKNESS = 3 |
| Spells with derkening effects. | |
| const Type | DEATH = 4 |
| Spells that deal with death. | |
| const Type | ELECTRICITY = 5 |
| Spells with shocking effects. | |
| const Type | EVIL = 6 |
| Spells with evil natures. | |
| const Type | FEAR = 7 |
| Spells that instill fright, terror, and dread. | |
| const Type | FIRE = 8 |
| Spells with burning effects. | |
| const Type | FORCE = 9 |
| Spells that employ invisible forces. | |
| const Type | GOOD = 10 |
| Spells with good natures. | |
| const Type | LANGUAGE_DEPENDENT = 11 |
| Spells that depend on language barriers. | |
| const Type | LAWFUL = 12 |
| Spells with lawful natures. | |
| const Type | LIGHT = 13 |
| Spells with brightening effects. | |
| const Type | MIND_AFFECTING = 14 |
| Spells that affect the mind. | |
| const Type | SONIC = 15 |
| Spells dealing with tremors, resonances, and vibrations. | |
| const Type | TELEPORTATION = 16 |
| Spells that instantly transport objects. | |
|
|||||
|
Values of this type can be used as bit positions in the |
|
||||||||||
|
An empty string is returned if the spell descriptor is invalid. Derived classes should override this function if additional spell descriptors are defined.
|
1.3