empty.c
Crimson/src/empty.c · 1.3 KB
From the archive crimson.tgz
Download the archive « Back to the archive contents
/* ************************************************************************
* file: spec_procs.c , Special module. Part of DIKUMUD *
* Usage: Procedures handling special procedures for object/room/mobile *
* Copyright (C) 1990, 1991 - see 'license.doc' for complete information. *
************************************************************************* */
#include <stdio.h>
#include <string.h>
#include <ctype.h>
#include "structs.h"
#include "utils.h"
#include "comm.h"
#include "interpreter.h"
#include "handler.h"
#include "db.h"
#include "spells.h"
#include "limits.h"
#include "constants.h"
/* external vars */
extern struct room_data *world;
extern struct char_data *character_list;
extern struct descriptor_data *descriptor_list;
extern struct index_data *obj_index;
extern struct time_info_data time_info;
extern struct index_data *mob_index;
/* extern procedures */
void hit(struct char_data *ch, struct char_data *victim, int type);
void gain_exp(struct char_data *ch, int gain);
/* place
int citadel_altar(struct char_data *ch, int cmd, char *arg)
{
}
*/
int strahd(struct char_data *ch, int cmd, char *arg) {
if (cmd || !AWAKE(ch))
return 0;
if (!ch->specials.fighting && !number(0,100))
cast_teleport_zone(GET_LEVEL(ch),ch,0,0);
}