File spells.c
Included Files
#include "structs.h"
#include "utils.h"
#include "comm.h"
#include "spells.h"
#include "handler.h"
#include "db.h"
Preprocessor definitions
#define SUMMON_FAIL "You failed.\r\n"
External Variables
weather_info
struct weather_data weather_info
- Defined in:
-
- db.c
world
extern struct room_data* world
- Defined in:
-
- db.c
object_list
extern struct obj_data* object_list
- Defined in:
-
- db.c
character_list
extern struct char_data* character_list
- Defined in:
-
- db.c
cha_app
extern struct cha_app_type cha_app[]
int_app
extern struct int_app_type int_app[]
- Defined in:
-
- constants.c
obj_index
extern struct index_data* obj_index
- Defined in:
-
- db.c
descriptor_list
extern struct descriptor_data* descriptor_list
- Defined in:
-
- comm.c
zone_table
extern struct zone_data* zone_table
- Defined in:
-
- db.c
mini_mud
extern int mini_mud
- Defined in:
-
- db.c
pk_allowed
extern int pk_allowed
- Defined in:
-
- config.c
mob_defaults
extern struct default_mobile_stats* mob_defaults
weapon_verbs
extern char weapon_verbs[]
max_ac_applys
extern int* max_ac_applys
apmd
extern struct apply_mod_defaults* apmd
r_mortal_start_room
extern sh_int r_mortal_start_room
- Defined in:
-
- db.c
top_of_world
extern int top_of_world
- Defined in:
-
- db.c
spells
extern char* spells[]
- Defined in:
-
- spell_parser.c
item_types
extern char* item_types[]
- Defined in:
-
- constants.c
extra_bits
extern char* extra_bits[]
- Defined in:
-
- constants.c
apply_types
extern char* apply_types[]
- Defined in:
-
- constants.c
affected_bits
extern char* affected_bits[]
- Defined in:
-
- constants.c
Global Function spell_charm()
void spell_charm ( int level, struct char_data* ch, struct char_data* victim, struct obj_data* obj )
- Prototyped in:
-
- spells.h
- Calls:
-
- act() : comm.c
- add_follower() : utils.c
- affect_to_char() : handler.c
- circle_follow() : utils.c
- mag_savingthrow() : magic.c
- send_to_char() : comm.c
- stop_follower() : utils.c
- Called by:
-
- call_magic() : spell_parser.c
- References Variables:
-
- pk_allowed : config.c
Global Function spell_create_water()
void spell_create_water ( int level, struct char_data* ch, struct char_data* victim, struct obj_data* obj )
- Prototyped in:
-
- spells.h
- Calls:
-
- MAX() : utils.c
- MIN() : utils.c
- act() : comm.c
- weight_change_object() : act.item.c
- Called by:
-
- call_magic() : spell_parser.c
Global Function spell_detect_poison()
void spell_detect_poison ( int level, struct char_data* ch, struct char_data* victim, struct obj_data* obj )
- Prototyped in:
-
- spells.h
- Calls:
-
- act() : comm.c
- send_to_char() : comm.c
- Called by:
-
- call_magic() : spell_parser.c
Global Function spell_enchant_weapon()
void spell_enchant_weapon ( int level, struct char_data* ch, struct char_data* victim, struct obj_data* obj )
- Prototyped in:
-
- spells.h
- Calls:
-
- act() : comm.c
- Called by:
-
- call_magic() : spell_parser.c
Global Function spell_identify()
void spell_identify ( int level, struct char_data* ch, struct char_data* victim, struct obj_data* obj )
- Prototyped in:
-
- spells.h
- Calls:
-
- send_to_char() : comm.c
- sprintbit() : utils.c
- sprinttype() : utils.c
- sprintf(), strcat()
- Called by:
-
- call_magic() : spell_parser.c
- References Variables:
-
- affected_bits : constants.c
- apply_types : constants.c
- extra_bits : constants.c
- item_types : constants.c
- spells : spell_parser.c
- buf, buf
Global Function spell_locate_object()
void spell_locate_object ( int level, struct char_data* ch, struct char_data* victim, struct obj_data* obj )
- Prototyped in:
-
- spells.h
- Calls:
-
- fname() : handler.c
- isname() : handler.c
- send_to_char() : comm.c
- sprintf(), strcpy()
- Called by:
-
- call_magic() : spell_parser.c
- References Variables:
-
- object_list : db.c
- weather_info : db.c
- world : db.c
- buf
Global Function spell_recall()
void spell_recall ( int level, struct char_data* ch, struct char_data* victim, struct obj_data* obj )
- Prototyped in:
-
- spells.h
- Calls:
-
- act() : comm.c
- char_from_room() : handler.c
- char_to_room() : handler.c
- look_at_room() : act.informative.c
- Called by:
-
- call_magic() : spell_parser.c
- perform_mag_groups() : magic.c
- References Variables:
-
- r_mortal_start_room : db.c
Global Function spell_summon()
void spell_summon ( int level, struct char_data* ch, struct char_data* victim, struct obj_data* obj )
- Prototyped in:
-
- spells.h
- Calls:
-
- MIN() : utils.c
- act() : comm.c
- char_from_room() : handler.c
- char_to_room() : handler.c
- look_at_room() : act.informative.c
- mag_savingthrow() : magic.c
- mudlog() : utils.c
- send_to_char() : comm.c
- sprintf()
- Called by:
-
- call_magic() : spell_parser.c
- References Variables:
-
- pk_allowed : config.c
- world : db.c
- buf
Global Function spell_teleport()
void spell_teleport ( int level, struct char_data* ch, struct char_data* victim, struct obj_data* obj )
- Prototyped in:
-
- spells.h
- Calls:
-
- act() : comm.c
- char_from_room() : handler.c
- char_to_room() : handler.c
- look_at_room() : act.informative.c
- number() : utils.c
- References Variables:
-
- top_of_world : db.c
- world : db.c