Atrinik Server  4.0
Macros
Casting modes

Macros

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

Detailed Description

Various casting modes.

Macro Definition Documentation

#define CAST_NORMAL   0

Normal cast.

Definition at line 275 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 288 of file spells.h.

#define CAST_POTION   5

Casting from a potion.

Definition at line 283 of file spells.h.

#define CAST_ROD   2

Casting from a rod.

Definition at line 279 of file spells.h.

#define CAST_SCROLL   4

Casting from a scroll.

Definition at line 281 of file spells.h.

#define CAST_WAND   1

Casting from a wand.

Definition at line 277 of file spells.h.