server/src/randenc.h

21 lines
475 B
C
Raw Normal View History

2010-08-08 10:06:34 +02:00
#ifndef H_GC_RANDENC
#define H_GC_RANDENC
#ifdef __cplusplus
extern "C" {
#endif
struct region;
/** Plagues **/
#define PLAGUE_CHANCE 0.1 /* Seuchenwahrscheinlichkeit (siehe plagues()) */
#define PLAGUE_VICTIMS 0.2 /* % Betroffene */
#define PLAGUE_HEALCHANCE 0.25 /* Wahrscheinlichkeit Heilung */
#define PLAGUE_HEALCOST 30 /* Heilkosten */
void plagues(struct region *r);
void randomevents(void);
2010-08-08 10:06:34 +02:00
#ifdef __cplusplus
}
#endif
#endif