Change touch of death from instadeath to maxhp reduction and damage

Touch of death will now do 50 + 8d6 damage, and drain max HP for half
of that. If the drain is equal or greater than your max HP, then it
will kill you instantly.

Change originally from SporkHack by Derek Ray.
This commit is contained in:
Pasi Kallinen
2021-05-18 18:58:30 +03:00
parent f057ef573c
commit 16105ad0d5
4 changed files with 22 additions and 6 deletions

View File

@@ -1171,6 +1171,7 @@ extern boolean usmellmon(struct permonst *);
/* ### mcastu.c ### */
extern int castmu(struct monst *, struct attack *, boolean, boolean);
extern void touch_of_death(void);
extern int buzzmu(struct monst *, struct attack *);
/* ### mdlib.c ### */