/* ************************************************************************ * File: spells.c Part of CircleMUD * * Usage: Implementation of "manual spells". Circle 2.2 spell compat. * * * * All rights reserved. See license.doc for complete information. * * * * Copyright (C) 1993, 94 by the Trustees of the Johns Hopkins University * * CircleMUD is based on DikuMUD, Copyright (C) 1990, 1991. * ************************************************************************ */ #include <stdio.h> #include <string.h> #include "structs.h" #include "awake.h" #include "utils.h" #include "comm.h" #include "spells.h" #include "handler.h" #include "db.h" extern struct room_data *world; extern struct char_data *character_list; extern struct cha_app_type cha_app[]; extern struct int_app_type int_app[]; extern struct index_data *obj_index; extern struct weather_data weather_info; extern struct descriptor_data *descriptor_list; extern struct zone_data *zone_table; extern int mini_mud; extern int pk_allowed; extern struct default_mobile_stats *mob_defaults; extern char weapon_verbs[]; extern int *max_ac_applys; extern struct apply_mod_defaults *apmd; void clearMemory(struct char_data * ch); void act(char *str, int i, struct char_data * c, struct obj_data * o, void *vict_obj, int j); void weight_change_object(struct obj_data * obj, int weight); void add_follower(struct char_data * ch, struct char_data * leader); /* * Special spells appear below. */