wand/spell/breath killer reason
Extend "killed by the touch of death inflicted by <monster>" to buzz(). "Killed by a bolt of cold" becomes "killed by a bolt of cold zapped by <monster>" or "killed by a blast of cold" becomes "killed by a blast of cold exhaled by <monster>" and so forth. More work than expected; the zap code isn't passed enough context. BZ_M_WAND() was producing the wrong value for wands zapped by monsters.
This commit is contained in:
@@ -1322,6 +1322,7 @@ extern boolean usmellmon(struct permonst *);
|
||||
|
||||
extern int castmu(struct monst *, struct attack *, boolean, boolean);
|
||||
extern void touch_of_death(struct monst *);
|
||||
extern char *death_inflicted_by(char *, const char *, struct monst *);
|
||||
extern int buzzmu(struct monst *, struct attack *);
|
||||
|
||||
/* ### mdlib.c ### */
|
||||
|
||||
Reference in New Issue
Block a user