]> granicus.if.org Git - nethack/commit
killing pets by displacing them into traps
authornethack.rankin <nethack.rankin>
Tue, 17 Aug 2004 01:29:47 +0000 (01:29 +0000)
committernethack.rankin <nethack.rankin>
Tue, 17 Aug 2004 01:29:47 +0000 (01:29 +0000)
commit10eea7710d9c14fb7133144b76c9807186679709
treed6b6ffddeaad1bc10fee8b0529f3825e7457b493
parente16edb7fb76c0f594845eadf2f31f4bf1cbe5515
killing pets by displacing them into traps

     A user pointed out that you lose pacifism conduct if you kill your
pet by displacing it into a trap but you don't gain any experience in
the process.  Make this consistent with killing monsters in other ways:
if you get blamed for it then you should also get credit for it.

     Probably minliquid() and mintrap() should take another argument so
they can call killed() instead of mondead() when necessary, but I didn't
go to that much effort....
doc/fixes34.4
src/hack.c