Use TAINT_AGE for old corpses instead of hardcoded value

This commit is contained in:
Pasi Kallinen
2020-03-16 11:27:33 +02:00
parent f6a282ec99
commit 408321b4f7
5 changed files with 9 additions and 8 deletions

View File

@@ -477,6 +477,11 @@ enum bodypart_types {
#define RANDOM_TIN (-2)
#define HEALTHY_TIN (-3)
/* Corpse aging */
#define TAINT_AGE (50L) /* age when corpses go bad */
#define TROLL_REVIVE_CHANCE 37 /* 1/37 chance for 50 turns ~ 75% chance */
#define ROT_AGE (250L) /* age when corpses rot away */
/* Some misc definitions */
#define POTION_OCCUPANT_CHANCE(n) (13 + 2 * (n))
#define WAND_BACKFIRE_CHANCE 100