combat.h

umud/combat.h · 657 B

From the archive umud2.0.tar.gz

Download the archive   « Back to the archive contents

#ifndef	_INCL_COMBAT_H

#define	INITIAL_POWER	1000	/* initial power points */

#define	PERCENT		4	/* 4% of nowhits added every minute */
#define	TIMEUNIT	60	/* how many seconds make a healing time unit */
#define	ACTIONSCALE	2	/* multiplier for time delta on action pts */
#define	UPDATE_QUANT	120	/* don't BOTHER updating in less than this */
#define	ATTACK_COST	5	/* action points it costs to attack */
#define	UPDATE_COST	2	/* action points it costs to update */

/* returns from do_attack() */
#define	ATT_MISS	00	/* attack missed */
#define	ATT_HIT		01	/* attack hit */
#define	ATT_KILL	02	/* attack killed its victim */

#define	_INCL_COMBAT_H
#endif

Site Stats

Snippets: 1791
Codebases: 571