Atrinik Server 2.5
Defines
Casting modes

Defines

#define CAST_NORMAL   0
#define CAST_WAND   1
#define CAST_ROD   2
#define CAST_HORN   3
#define CAST_SCROLL   4
#define CAST_POTION   5
#define CAST_NPC   6

Detailed Description

Various casting modes.


Define Documentation

#define CAST_HORN   3

Casting from a horn.

Definition at line 310 of file spells.h.

#define CAST_NORMAL   0

Normal cast.

Definition at line 304 of file spells.h.

#define CAST_NPC   6

NPC is doing the casting, can cast no matter what (even in areas that block magic).

Definition at line 318 of file spells.h.

#define CAST_POTION   5

Casting from a potion.

Definition at line 314 of file spells.h.

#define CAST_ROD   2

Casting from a rod.

Definition at line 308 of file spells.h.

#define CAST_SCROLL   4

Casting from a scroll.

Definition at line 312 of file spells.h.

#define CAST_WAND   1

Casting from a wand.

Definition at line 306 of file spells.h.